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.

Dependencies:   lwip

Fork of mbed-os-example-client by mbed-os-examples

Revision:
13:c44e318674db
Parent:
10:4a3aaf2e130a
Child:
19:91eb6f58fd77
--- 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;