An MQTT Client for the new etherNet Interface.
Dependencies: EthernetInterface mbed-rtos
Dependents: AV_MQTT niMQTT_example
Diff: niMQTT.h
- Revision:
- 4:afbc7b066cff
- Parent:
- 1:4faa96fa4350
- Child:
- 6:661892e00fe1
diff -r 4955e8dea124 -r afbc7b066cff niMQTT.h --- a/niMQTT.h Mon Aug 12 09:46:28 2013 +0000 +++ b/niMQTT.h Mon Aug 12 15:30:04 2013 +0000 @@ -65,6 +65,7 @@ * \param debug get a more verbose output */ niMQTT(char *server, void (*callback)(char *, char*), char *id="mbed", int port=1883, char *username="", char *password="", bool debug=false); + void reconnect(); ~niMQTT(); /* Publish a message on a topic