mc-b
/
MQTTHello
MQTT Beispiel fuer mbed Simulator nicht IoTKitV3!
Diff: MQTTNetwork.h
- Revision:
- 21:a68bd76740f9
- Parent:
- 20:49c9daf2b0ff
--- a/MQTTNetwork.h Tue Jan 10 18:10:17 2017 -0600 +++ b/MQTTNetwork.h Thu Sep 07 10:06:22 2017 +0100 @@ -26,8 +26,8 @@ return socket->connect(hostname, port); } - void disconnect() { - + int disconnect() { + return socket->close(); } private: