Handle +W-messages in our ftd2xx engine.

This commit is contained in:
Micke Prag 2011-05-16 08:35:03 +00:00
parent 8eaaf6f4a6
commit 777256a05f

View file

@ -134,6 +134,8 @@ void TellStick::processData( const std::string &data ) {
d->fwVersion = TelldusCore::charToInteger(d->message.substr(2).c_str());
} else if (d->message.substr(0,2).compare("+R") == 0) {
this->publishData(d->message.substr(2));
} else if(d->message.substr(0,2).compare("+W") == 0) {
this->decodePublishData(d->message.substr(2));
}
d->message.clear();
} else { // Append the character