Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FP MQTTPacket
Dependents: IBMIoTClientEthernetExample_W5500 IBMIoTClientEthernetExample_W5200
Fork of MQTT by
Diff: MQTTEthernet.h
- Revision:
- 41:b7e86fa6dbb8
- Parent:
- 31:a51dd239b78e
- Child:
- 43:b1ae0ac88df9
diff -r 9623a2c9c8ac -r b7e86fa6dbb8 MQTTEthernet.h --- a/MQTTEthernet.h Fri Aug 01 23:44:12 2014 +0000 +++ b/MQTTEthernet.h Fri Aug 15 10:23:56 2014 +0000 @@ -15,6 +15,16 @@ eth.connect(); } + EthernetInterface& getEth() + { + return eth; + } + + void reconnect() + { + eth.connect(); // nothing I've tried actually works to reconnect + } + private: EthernetInterface eth;