Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
MQTTEthernet.h
- Committer:
- icraggs
- Date:
- 2014-08-01
- Revision:
- 34:e18a166198df
- Parent:
- 31:a51dd239b78e
- Child:
- 41:b7e86fa6dbb8
File content as of revision 34:e18a166198df:
#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