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 MQTT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MQTTGSwifi.h Source File

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