my mqtt
Fork of MQTT by
MQTTEthernet.h
- Committer:
- Robrecht
- Date:
- 2017-10-30
- Revision:
- 55:7f492cd5bc5d
- Parent:
- 54:ff9e5c4b52d0
File content as of revision 55:7f492cd5bc5d:
#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