Manometr mierzący ciśnienie w kołach
Dependencies: Cayenne-MQTT-mbed mbed TMP36 X_NUCLEO_IDW01M1v2 NetworkSocketAPI
Diff: main.cpp
- Revision:
- 2:d7c27e622707
- Parent:
- 1:06d715293bc5
- Child:
- 5:294a8b1bca28
diff -r 06d715293bc5 -r d7c27e622707 main.cpp --- a/main.cpp Fri Nov 04 19:42:20 2016 +0000 +++ b/main.cpp Sat Nov 05 00:30:40 2016 +0000 @@ -86,7 +86,7 @@ // If this is a command message we publish a response. Here we are just sending a default 'OK' response. // An error response should be sent if there are issues processing the message. - if ((error = mqttClient.publishResponse(message.channel, message.id, NULL, message.clientID)) != CAYENNE_SUCCESS) { + if ((error = mqttClient.publishResponse(message.id, NULL, message.clientID)) != CAYENNE_SUCCESS) { printf("Response failure, error: %d\n", error); } }