![](/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
configs/mesh_6lowpan.json@51:f2c99fcbcd08, 2017-01-04 (annotated)
- Committer:
- mbed_official
- Date:
- Wed Jan 04 22:15:09 2017 +0000
- Revision:
- 51:f2c99fcbcd08
- Parent:
- 45:b150e0aa009c
- Child:
- 63:c73f78fd7982
Mesh to use channel 12 & Thread PANID 0xDEFA (#158)
The included firmware binaries for mesh are hard-coded for channel 12,
so better use that in the JSONs as well.
.
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 |
---|---|---|---|
mbed_official | 45:b150e0aa009c | 1 | { |
mbed_official | 45:b150e0aa009c | 2 | "config": { |
mbed_official | 45:b150e0aa009c | 3 | "network-interface":{ |
mbed_official | 45:b150e0aa009c | 4 | "help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD", |
mbed_official | 45:b150e0aa009c | 5 | "value": "MESH_LOWPAN_ND" |
mbed_official | 45:b150e0aa009c | 6 | }, |
mbed_official | 45:b150e0aa009c | 7 | "mesh_radio_type": { |
mbed_official | 45:b150e0aa009c | 8 | "help": "options are ATMEL, MCR20", |
mbed_official | 45:b150e0aa009c | 9 | "value": "ATMEL" |
mbed_official | 45:b150e0aa009c | 10 | } |
mbed_official | 45:b150e0aa009c | 11 | }, |
mbed_official | 45:b150e0aa009c | 12 | "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""], |
mbed_official | 45:b150e0aa009c | 13 | "target_overrides": { |
mbed_official | 45:b150e0aa009c | 14 | "*": { |
mbed_official | 45:b150e0aa009c | 15 | "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"], |
mbed_official | 45:b150e0aa009c | 16 | "mbed-mesh-api.6lowpan-nd-channel-page": 0, |
mbed_official | 51:f2c99fcbcd08 | 17 | "mbed-mesh-api.6lowpan-nd-channel": 12, |
mbed_official | 45:b150e0aa009c | 18 | "mbed-trace.enable": 0 |
mbed_official | 45:b150e0aa009c | 19 | } |
mbed_official | 45:b150e0aa009c | 20 | } |
mbed_official | 45:b150e0aa009c | 21 | } |