Provides Javascript wrappers for MQTT.
Dependencies: mbed-http DEVI2C_JS MQTTPacket FP
MQTT/MQTTEthernet.h
- Committer:
- akhtar.syedzeeshan@gmail.com
- Date:
- 2018-01-17
- Revision:
- 0:f4dbe435e64c
File content as of revision 0:f4dbe435e64c:
#if !defined(MQTTETHERNET_H) #define MQTTETHERNET_H #include "MQTTmbed.h" #include "EthernetInterface.h" #include "MQTTSocket.h" class MQTTEthernet : public MQTTSocket { public: MQTTEthernet() : MQTTSocket(ð) { eth.connect(); } EthernetInterface& getEth() { return eth; } private: EthernetInterface eth; }; #endif