Sample MQTT program - simple send and receive (MQ Telemetry Transport) for GainSpan Wi-Fi module
Dependencies: C12832 GSwifiInterface MQTT mbed-rtos mbed
Fork of HelloMQTT by
MQTTGSwifi.h
00001 00002 #ifndef MQTTGSWIFI_H 00003 #define MQTTGSWIFI_H 00004 00005 #include "MQTT_mbed.h" 00006 #include "GSwifiInterface.h" 00007 #include "MQTTSocket.h" 00008 00009 class MQTTGSwifi : public MQTTSocket 00010 { 00011 public: 00012 MQTTGSwifi(GSwifiInterface *gs) : eth(gs) 00013 { 00014 } 00015 00016 private: 00017 00018 GSwifiInterface *eth; 00019 00020 }; 00021 00022 #endif
Generated on Wed Jul 20 2022 20:14:37 by 1.7.2