MQTT Fork for NetworkInterface fix
Fork of MQTT by
Diff: MQTTSocket.h
- Revision:
- 61:457729cb1518
- Parent:
- 54:ff9e5c4b52d0
--- a/MQTTSocket.h Thu Nov 02 12:12:41 2017 +0000 +++ b/MQTTSocket.h Fri Jan 12 16:25:43 2018 +0000 @@ -2,13 +2,13 @@ #define MQTTSOCKET_H #include "MQTTmbed.h" -#include <EthernetInterface.h> +#include <NetworkInterface.h> #include <Timer.h> class MQTTSocket { public: - MQTTSocket(EthernetInterface *anet) + MQTTSocket(NetworkInterface *anet) { net = anet; open = false; @@ -89,7 +89,7 @@ bool open; TCPSocket mysock; - EthernetInterface *net; + NetworkInterface *net; Timer timer; };