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
mbed_app.json@68:f892ff47191b, 2017-03-01 (annotated)
- Committer:
- rkuo2000
- Date:
- Wed Mar 01 02:08:03 2017 +0000
- Revision:
- 68:f892ff47191b
- Parent:
- 63:c73f78fd7982
mbed-OS v5.3.6
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Yogesh Pande |
0:7d5ec759888b | 1 | { |
Yogesh Pande |
0:7d5ec759888b | 2 | "config": { |
Yogesh Pande |
0:7d5ec759888b | 3 | "network-interface":{ |
mbed_official | 63:c73f78fd7982 | 4 | "help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, MESH_LOWPAN_ND, MESH_THREAD", |
mbed_official | 32:7b3841243d70 | 5 | "value": "ETHERNET" |
Yogesh Pande |
0:7d5ec759888b | 6 | }, |
mbed_official | 21:b88cdeb5b302 | 7 | "mesh_radio_type": { |
mbed_official | 21:b88cdeb5b302 | 8 | "help": "options are ATMEL, MCR20", |
mbed_official | 21:b88cdeb5b302 | 9 | "value": "ATMEL" |
mbed_official | 21:b88cdeb5b302 | 10 | }, |
Yogesh Pande |
0:7d5ec759888b | 11 | "wifi-ssid": { |
Yogesh Pande |
0:7d5ec759888b | 12 | "help": "WiFi SSID", |
mbed_official | 32:7b3841243d70 | 13 | "value": "\"SSID\"" |
Yogesh Pande |
0:7d5ec759888b | 14 | }, |
Yogesh Pande |
0:7d5ec759888b | 15 | "wifi-password": { |
Yogesh Pande |
0:7d5ec759888b | 16 | "help": "WiFi Password", |
mbed_official | 32:7b3841243d70 | 17 | "value": "\"Password\"" |
mbed_official | 13:c44e318674db | 18 | }, |
mbed_official | 13:c44e318674db | 19 | "wifi-tx": { |
mbed_official | 13:c44e318674db | 20 | "help": "TX pin for serial connection to external device", |
mbed_official | 13:c44e318674db | 21 | "value": "D1" |
mbed_official | 13:c44e318674db | 22 | }, |
mbed_official | 13:c44e318674db | 23 | "wifi-rx": { |
mbed_official | 13:c44e318674db | 24 | "help": "RX pin for serial connection to external device", |
mbed_official | 13:c44e318674db | 25 | "value": "D0" |
Yogesh Pande |
0:7d5ec759888b | 26 | } |
Yogesh Pande |
0:7d5ec759888b | 27 | }, |
mbed_official | 5:b7d7ca715fdb | 28 | "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""], |
Yogesh Pande |
0:7d5ec759888b | 29 | "target_overrides": { |
Yogesh Pande |
0:7d5ec759888b | 30 | "*": { |
mbed_official | 21:b88cdeb5b302 | 31 | "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"], |
mbed_official | 63:c73f78fd7982 | 32 | "platform.stdio-baud-rate": 115200, |
mbed_official | 63:c73f78fd7982 | 33 | "platform.stdio-convert-newlines": true, |
mbed_official | 21:b88cdeb5b302 | 34 | "mbed-mesh-api.6lowpan-nd-channel-page": 0, |
mbed_official | 21:b88cdeb5b302 | 35 | "mbed-mesh-api.6lowpan-nd-channel": 12, |
mbed_official | 32:7b3841243d70 | 36 | "mbed-trace.enable": 0 |
mbed_official | 13:c44e318674db | 37 | }, |
mbed_official | 13:c44e318674db | 38 | "NUCLEO_F401RE": { |
mbed_official | 13:c44e318674db | 39 | "wifi-tx": "PA_11", |
mbed_official | 13:c44e318674db | 40 | "wifi-rx": "PA_12" |
mbed_official | 13:c44e318674db | 41 | }, |
mbed_official | 13:c44e318674db | 42 | "NUCLEO_F411RE": { |
mbed_official | 13:c44e318674db | 43 | "wifi-tx": "PA_11", |
mbed_official | 13:c44e318674db | 44 | "wifi-rx": "PA_12" |
mbed_official | 62:077cbce2bd10 | 45 | }, |
mbed_official | 62:077cbce2bd10 | 46 | "UBLOX_EVK_ODIN_W2": { |
mbed_official | 62:077cbce2bd10 | 47 | "target.device_has_remove": ["EMAC"] |
Yogesh Pande |
0:7d5ec759888b | 48 | } |
Yogesh Pande |
0:7d5ec759888b | 49 | } |
Yogesh Pande |
1:e06e899acba6 | 50 | } |