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
configs/wifi_esp8266_v4.json@72:8fcde208b155, 2017-03-09 (annotated)
- Committer:
- markblackburnetcorp
- Date:
- Thu Mar 09 20:00:41 2017 +0000
- Branch:
- markblackburn
- Revision:
- 72:8fcde208b155
- Parent:
- 63:c73f78fd7982
My changes;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 63:c73f78fd7982 | 1 | { |
mbed_official | 63:c73f78fd7982 | 2 | "config": { |
mbed_official | 63:c73f78fd7982 | 3 | "network-interface":{ |
mbed_official | 63:c73f78fd7982 | 4 | "help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, MESH_LOWPAN_ND, MESH_THREAD", |
mbed_official | 63:c73f78fd7982 | 5 | "value": "WIFI_ESP8266" |
mbed_official | 63:c73f78fd7982 | 6 | }, |
mbed_official | 63:c73f78fd7982 | 7 | "wifi-ssid": { |
mbed_official | 63:c73f78fd7982 | 8 | "help": "WiFi SSID", |
mbed_official | 63:c73f78fd7982 | 9 | "value": "\"SSID\"" |
mbed_official | 63:c73f78fd7982 | 10 | }, |
mbed_official | 63:c73f78fd7982 | 11 | "wifi-password": { |
mbed_official | 63:c73f78fd7982 | 12 | "help": "WiFi Password", |
mbed_official | 63:c73f78fd7982 | 13 | "value": "\"Password\"" |
mbed_official | 63:c73f78fd7982 | 14 | }, |
mbed_official | 63:c73f78fd7982 | 15 | "wifi-tx": { |
mbed_official | 63:c73f78fd7982 | 16 | "help": "TX pin for serial connection to external device", |
mbed_official | 63:c73f78fd7982 | 17 | "value": "D1" |
mbed_official | 63:c73f78fd7982 | 18 | }, |
mbed_official | 63:c73f78fd7982 | 19 | "wifi-rx": { |
mbed_official | 63:c73f78fd7982 | 20 | "help": "RX pin for serial connection to external device", |
mbed_official | 63:c73f78fd7982 | 21 | "value": "D0" |
mbed_official | 63:c73f78fd7982 | 22 | } |
mbed_official | 63:c73f78fd7982 | 23 | }, |
mbed_official | 63:c73f78fd7982 | 24 | "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""], |
mbed_official | 63:c73f78fd7982 | 25 | "target_overrides": { |
mbed_official | 63:c73f78fd7982 | 26 | "*": { |
mbed_official | 63:c73f78fd7982 | 27 | "target.features_add": ["LWIP", "COMMON_PAL"], |
mbed_official | 63:c73f78fd7982 | 28 | "platform.stdio-baud-rate": 115200, |
mbed_official | 63:c73f78fd7982 | 29 | "platform.stdio-convert-newlines": true, |
mbed_official | 63:c73f78fd7982 | 30 | "lwip.ipv4-enabled": true, |
mbed_official | 63:c73f78fd7982 | 31 | "lwip.ipv6-enabled": false, |
mbed_official | 63:c73f78fd7982 | 32 | "mbed-trace.enable": 0 |
mbed_official | 63:c73f78fd7982 | 33 | }, |
mbed_official | 63:c73f78fd7982 | 34 | "NUCLEO_F401RE": { |
mbed_official | 63:c73f78fd7982 | 35 | "wifi-tx": "PA_11", |
mbed_official | 63:c73f78fd7982 | 36 | "wifi-rx": "PA_12" |
mbed_official | 63:c73f78fd7982 | 37 | }, |
mbed_official | 63:c73f78fd7982 | 38 | "NUCLEO_F411RE": { |
mbed_official | 63:c73f78fd7982 | 39 | "wifi-tx": "PA_11", |
mbed_official | 63:c73f78fd7982 | 40 | "wifi-rx": "PA_12" |
mbed_official | 63:c73f78fd7982 | 41 | } |
mbed_official | 63:c73f78fd7982 | 42 | } |
mbed_official | 63:c73f78fd7982 | 43 | } |