The MQTTEthernet.h and MQTTSocket.h file is changed for W7500.

Dependencies:   FP MQTTPacket

Fork of MQTT by Bohyun Bang

MQTTEthernet.h

Committer:
icraggs
Date:
2014-05-22
Revision:
31:a51dd239b78e
Parent:
29:833386b16f3e
Child:
41:b7e86fa6dbb8

File content as of revision 31:a51dd239b78e:


#if !defined(MQTTETHERNET_H)
#define MQTTETHERNET_H

#include "MQTT_mbed.h"
#include "EthernetInterface.h"
#include "MQTTSocket.h"

class MQTTEthernet : public MQTTSocket
{
public:    
    MQTTEthernet()
    {
        eth.init();                          // Use DHCP
        eth.connect();
    }
    
private:

    EthernetInterface eth;
    
};


#endif