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: configs/wifi_odin_v4.json
- Revision:
- 63:c73f78fd7982
diff -r 077cbce2bd10 -r c73f78fd7982 configs/wifi_odin_v4.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/configs/wifi_odin_v4.json Wed Feb 15 08:00:11 2017 +0000 @@ -0,0 +1,43 @@ +{ + "config": { + "network-interface":{ + "help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, MESH_LOWPAN_ND, MESH_THREAD", + "value": "WIFI_ODIN" + }, + "wifi-ssid": { + "help": "WiFi SSID", + "value": "\"SSID\"" + }, + "wifi-password": { + "help": "WiFi Password", + "value": "\"Password\"" + }, + "wifi-tx": { + "help": "TX pin for serial connection to external device", + "value": "D1" + }, + "wifi-rx": { + "help": "RX pin for serial connection to external device", + "value": "D0" + } + }, + "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""], + "target_overrides": { + "*": { + "target.features_add": ["LWIP", "COMMON_PAL"], + "platform.stdio-baud-rate": 115200, + "platform.stdio-convert-newlines":true, + "lwip.ipv4-enabled": true, + "lwip.ipv6-enabled": false, + "mbed-trace.enable": 0 + }, + "NUCLEO_F401RE": { + "wifi-tx": "PA_11", + "wifi-rx": "PA_12" + }, + "NUCLEO_F411RE": { + "wifi-tx": "PA_11", + "wifi-rx": "PA_12" + } + } +}