TELLSTICK_STOP-method added (although untested)

This commit is contained in:
Stefan Persson 2010-11-22 09:41:53 +00:00
parent 75d13d228e
commit b16a54ad6d
5 changed files with 32 additions and 5 deletions

View file

@ -101,6 +101,10 @@ void ClientCommunicationHandler::parseMessage(const std::wstring &clientMessage,
int deviceId = TelldusCore::Message::takeInt(&msg);
(*intReturn) = d->deviceManager->doAction(deviceId, TELLSTICK_DOWN, 0);
} else if (function == L"tdStop") {
int deviceId = TelldusCore::Message::takeInt(&msg);
(*intReturn) = d->deviceManager->doAction(deviceId, TELLSTICK_STOP, 0);
} else if (function == L"tdLearn") {
int deviceId = TelldusCore::Message::takeInt(&msg);
(*intReturn) = d->deviceManager->doAction(deviceId, TELLSTICK_LEARN, 0);