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_thread.json@45:b150e0aa009c, 2016-12-13 (annotated)
- Committer:
- mbed_official
- Date:
- Tue Dec 13 13:45:11 2016 +0000
- Revision:
- 45:b150e0aa009c
- Child:
- 51:f2c99fcbcd08
configs/*.json based configurations (#140)
* configs/*.json based configurations
Per Marcelo Salazar's proposal add configuration examples to a configs-folder.
By default the repo does not anymore have an mbed_app.json at all, but one should
copy one of the example configs, potentially modify it and use it.
Add mbedignore files to avoid the compilation problems.
Reference:
https://github.com/ARMmbed/mbed-os-example-client/issues/137
* Clarify connection types per bearer
Mesh-networking ONLY supports UDP, others support both. Table to
illustrate UPD/TCP modes per network bearer.
.
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_THREAD" |
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", "THREAD_ROUTER", "COMMON_PAL"], |
mbed_official | 45:b150e0aa009c | 16 | "mbed-mesh-api.thread-config-channel": 18, |
mbed_official | 45:b150e0aa009c | 17 | "mbed-mesh-api.thread-config-panid": "0xBAAB", |
mbed_official | 45:b150e0aa009c | 18 | "mbed-trace.enable": 0 |
mbed_official | 45:b150e0aa009c | 19 | } |
mbed_official | 45:b150e0aa009c | 20 | } |
mbed_official | 45:b150e0aa009c | 21 | } |