![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is a simple mbed client example demonstrating, registration of a device with mbed Device Connector and reading and writing values as well as deregistering on different Network Interfaces including Ethernet, WiFi, 6LoWPAN ND and Thread respectively.
Fork of mbed-os-example-client by
Diff: main.cpp
- Revision:
- 13:c44e318674db
- Parent:
- 10:4a3aaf2e130a
- Child:
- 19:91eb6f58fd77
diff -r 7da135488950 -r c44e318674db main.cpp --- a/main.cpp Thu Aug 04 18:15:18 2016 +0100 +++ b/main.cpp Fri Aug 05 04:30:15 2016 +0100 @@ -33,7 +33,7 @@ #if MBED_CONF_APP_NETWORK_INTERFACE == WIFI #include "ESP8266Interface.h" -ESP8266Interface esp(D1, D0); +ESP8266Interface esp(MBED_CONF_APP_WIFI_TX, MBED_CONF_APP_WIFI_RX); #elif MBED_CONF_APP_NETWORK_INTERFACE == ETHERNET #include "EthernetInterface.h" EthernetInterface eth;