![](/media/cache/profiles/7c39a5f991bef4a1e34187677a65871d.jpg.50x50_q85.jpg)
MQTT client to test the ENC28J60-EMAC on NUCLEO-F446RE.
MQTT/MQTTEthernet.h
- Committer:
- hudakz
- Date:
- 2021-03-29
- Revision:
- 5:d9570dbf2f82
- Parent:
- 0:238f0d0c0ba3
File content as of revision 5:d9570dbf2f82:
#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