MQTT client test with W5200 ethernet shield
Dependents: IBMIoTClientEthernetExample_W5200
Fork of W5500Interface by
WIZnet/wiznet.h@11:313e091ab3f9, 2014-12-25 (annotated)
- Committer:
- hillkim7
- Date:
- Thu Dec 25 11:18:46 2014 +0000
- Revision:
- 11:313e091ab3f9
- Parent:
- 0:e11e8793c3ce
The IBM MQTT client demo program that is tested with Nucleo F401 and Seeedstudio Ethernet Shield. It is based on Wiznet sample program.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Bongjun | 0:e11e8793c3ce | 1 | |
Bongjun | 0:e11e8793c3ce | 2 | #pragma once |
Bongjun | 0:e11e8793c3ce | 3 | |
Bongjun | 0:e11e8793c3ce | 4 | //#include "mbed.h" |
Bongjun | 0:e11e8793c3ce | 5 | //#include "mbed_debug.h" |
Bongjun | 0:e11e8793c3ce | 6 | |
hillkim7 | 11:313e091ab3f9 | 7 | //#define USE_W5500 |
hillkim7 | 11:313e091ab3f9 | 8 | #define USE_W5200 |
Bongjun | 0:e11e8793c3ce | 9 | //#define USE_W5100 // don't use this library |
Bongjun | 0:e11e8793c3ce | 10 | |
Bongjun | 0:e11e8793c3ce | 11 | #if defined(USE_W5500) |
Bongjun | 0:e11e8793c3ce | 12 | #include "W5500.h" |
Bongjun | 0:e11e8793c3ce | 13 | //#define USE_WIZ550IO_MAC // want to use the default MAC address stored in the WIZ550io |
Bongjun | 0:e11e8793c3ce | 14 | #endif |
Bongjun | 0:e11e8793c3ce | 15 | |
Bongjun | 0:e11e8793c3ce | 16 | #if defined(USE_W5200) |
Bongjun | 0:e11e8793c3ce | 17 | #include "W5200.h" |
Bongjun | 0:e11e8793c3ce | 18 | #endif |
Bongjun | 0:e11e8793c3ce | 19 | |
hillkim7 | 11:313e091ab3f9 | 20 | /* |
hillkim7 | 11:313e091ab3f9 | 21 | // current library don't want to support old chips. |
Bongjun | 0:e11e8793c3ce | 22 | #if defined(USE_W5100) |
Bongjun | 0:e11e8793c3ce | 23 | #include "W5100.h" |
Bongjun | 0:e11e8793c3ce | 24 | #endif |
Bongjun | 0:e11e8793c3ce | 25 | */ |