Handle +W-messages in our ftd2xx engine.
This commit is contained in:
parent
8eaaf6f4a6
commit
777256a05f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue