MQTT Fork for NetworkInterface fix
Fork of MQTT by
Revision 61:457729cb1518, committed 2018-01-12
- Comitter:
- wkleunen
- Date:
- Fri Jan 12 16:25:43 2018 +0000
- Parent:
- 59:9cff7b6bbd01
- Commit message:
- Use NetworkInterface rather than EthernetInterface in MQTTSocket to allow all kind of network interfaces
Changed in this revision
MQTTSocket.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9cff7b6bbd01 -r 457729cb1518 MQTTSocket.h --- 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; };