NCTU Programming Marathon
/
Program4_mbedClient
a simple mbed client example
Fork of Program4_mbedClient by
configs/mesh_6lowpan.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_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 | 45:b150e0aa009c | 17 | "mbed-mesh-api.6lowpan-nd-channel": 18, |
mbed_official | 45:b150e0aa009c | 18 | "mbed-trace.enable": 0 |
mbed_official | 45:b150e0aa009c | 19 | } |
mbed_official | 45:b150e0aa009c | 20 | } |
mbed_official | 45:b150e0aa009c | 21 | } |