MQTT client test with W5200 ethernet shield
Dependents: IBMIoTClientEthernetExample_W5200
Fork of W5500Interface by
Revision 6:677dfa3984d1, committed 2014-09-29
- Comitter:
- kaizen
- Date:
- Mon Sep 29 04:56:56 2014 +0000
- Parent:
- 5:8aefaef88f79
- Child:
- 7:da52bf0e0e5d
- Commit message:
- Modified for using MQTT Protocol
Changed in this revision
EthernetInterface.cpp | Show annotated file Show diff for this revision Revisions of this file |
EthernetInterface.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/EthernetInterface.cpp Fri Sep 26 08:05:41 2014 +0000 +++ b/EthernetInterface.cpp Mon Sep 29 04:56:56 2014 +0000 @@ -41,13 +41,6 @@ ip_set = false; } -////#if define(TARGET_KL25Z) -//EthernetInterface::EthernetInterface() : WIZnet_Chip(D11, D12, D13, D10, D9) -//{ -// wait(1); // 1 second for stable state -// -// ip_set = false; -//} int EthernetInterface::init() {
--- a/EthernetInterface.h Fri Sep 26 08:05:41 2014 +0000 +++ b/EthernetInterface.h Mon Sep 29 04:56:56 2014 +0000 @@ -20,7 +20,6 @@ */ EthernetInterface(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset); EthernetInterface(SPI* spi, PinName cs, PinName reset); -// EthernetInterface(); /** Initialize the interface with DHCP w/o MAC address * Initialize the interface and configure it to use DHCP (no connection at this point).