![](/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
mbed_app.json@13:c44e318674db, 2016-08-05 (annotated)
- Committer:
- mbed_official
- Date:
- Fri Aug 05 04:30:15 2016 +0100
- Revision:
- 13:c44e318674db
- Parent:
- 5:b7d7ca715fdb
- Child:
- 21:b88cdeb5b302
Merge pull request #71 from geky/wifi-config-pins
Add configurable serial-pins to support USBTX/RX == D1/D0 devices
Commit copied from https://github.com/ARMmbed/mbed-os-example-client
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":{ |
Yogesh Pande |
0:7d5ec759888b | 4 | "help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD", |
Yogesh Pande |
0:7d5ec759888b | 5 | "value": "ETHERNET" |
Yogesh Pande |
0:7d5ec759888b | 6 | }, |
Yogesh Pande |
0:7d5ec759888b | 7 | "wifi-ssid": { |
Yogesh Pande |
0:7d5ec759888b | 8 | "help": "WiFi SSID", |
Yogesh Pande |
0:7d5ec759888b | 9 | "value": "\"SSID\"" |
Yogesh Pande |
0:7d5ec759888b | 10 | }, |
Yogesh Pande |
0:7d5ec759888b | 11 | "wifi-password": { |
Yogesh Pande |
0:7d5ec759888b | 12 | "help": "WiFi Password", |
Yogesh Pande |
0:7d5ec759888b | 13 | "value": "\"Password\"" |
mbed_official | 13:c44e318674db | 14 | }, |
mbed_official | 13:c44e318674db | 15 | "wifi-tx": { |
mbed_official | 13:c44e318674db | 16 | "help": "TX pin for serial connection to external device", |
mbed_official | 13:c44e318674db | 17 | "value": "D1" |
mbed_official | 13:c44e318674db | 18 | }, |
mbed_official | 13:c44e318674db | 19 | "wifi-rx": { |
mbed_official | 13:c44e318674db | 20 | "help": "RX pin for serial connection to external device", |
mbed_official | 13:c44e318674db | 21 | "value": "D0" |
Yogesh Pande |
0:7d5ec759888b | 22 | } |
Yogesh Pande |
0:7d5ec759888b | 23 | }, |
mbed_official | 5:b7d7ca715fdb | 24 | "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""], |
Yogesh Pande |
0:7d5ec759888b | 25 | "target_overrides": { |
Yogesh Pande |
0:7d5ec759888b | 26 | "*": { |
Yogesh Pande |
1:e06e899acba6 | 27 | "target.features_add": ["CLIENT", "COMMON_PAL"], |
Yogesh Pande |
0:7d5ec759888b | 28 | "mbed-client.reconnection-count": 3, |
Yogesh Pande |
0:7d5ec759888b | 29 | "mbed-client.reconnection-interval": 5 |
mbed_official | 13:c44e318674db | 30 | }, |
mbed_official | 13:c44e318674db | 31 | "NUCLEO_F401RE": { |
mbed_official | 13:c44e318674db | 32 | "wifi-tx": "PA_11", |
mbed_official | 13:c44e318674db | 33 | "wifi-rx": "PA_12" |
mbed_official | 13:c44e318674db | 34 | }, |
mbed_official | 13:c44e318674db | 35 | "NUCLEO_F411RE": { |
mbed_official | 13:c44e318674db | 36 | "wifi-tx": "PA_11", |
mbed_official | 13:c44e318674db | 37 | "wifi-rx": "PA_12" |
Yogesh Pande |
0:7d5ec759888b | 38 | } |
Yogesh Pande |
0:7d5ec759888b | 39 | } |
Yogesh Pande |
1:e06e899acba6 | 40 | } |