Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: README.md
- Revision:
- 66:30f2c1317e6d
- Parent:
- 55:63aa128e8a80
- Child:
- 68:2330fbeb4926
--- a/README.md Wed Nov 22 09:15:10 2017 +0000
+++ b/README.md Thu Nov 30 16:30:07 2017 +0000
@@ -20,7 +20,7 @@
If you want to optimize the flash usage, you need to select a proper configuration for Nanostack. The configuration depends mostly on the preferred use case.
-See [6LoWPAN overview](https://docs.mbed.com/docs/arm-ipv66lowpan-stack/en/latest/quick_start_intro/index.html) for the definition of star and mesh networks. These same principles apply also to Thread protocol.
+See [6LoWPAN overview](https://os.mbed.com/docs/v5.6/tutorials/6lowpan-mesh.html) for the definition of star and mesh networks. These same principles apply also to Thread protocol.
Select the protocol the network is based on:
@@ -32,7 +32,7 @@
- Mesh network. A router. (default)
- Star network. Non routing device. Also known as a host, or sleepy host.
-Modify your `mbed_app.json` file to tell which Nanostack build to choose and which configrations to use on [mbed Mesh API](https://github.com/ARMmbed/mbed-os/blob/master/features/nanostack/FEATURE_NANOSTACK/mbed-mesh-api/README.md).
+Modify your `mbed_app.json` file to tell which Nanostack configuration to use and which configrations to use on [mbed Mesh API](https://github.com/ARMmbed/mbed-os/blob/master/features/nanostack/FEATURE_NANOSTACK/mbed-mesh-api/README.md).
An example of the `mbed_app.json` file:
@@ -45,7 +45,8 @@
},
"target_overrides": {
"*": {
- "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"],
+ "target.features_add": ["NANOSTACK", "COMMON_PAL"],
+ "nanostack.configuration": "lowpan_router",
"mbed-mesh-api.6lowpan-nd-device-type": "NET_6LOWPAN_ROUTER",
"mbed-mesh-api.thread-device-type": "MESH_DEVICE_TYPE_THREAD_ROUTER",
"mbed-mesh-api.heap-size": 32000,
@@ -63,19 +64,19 @@
**mesh-type: MESH_LOWPAN**
-|Device role|`target.features_add` value|`mbed-mesh-api.6lowpan-nd-device-type`|
+|Device role|`nanostack.configuration` value|`mbed-mesh-api.6lowpan-nd-device-type`|
|-----------|-------------------------|------------------------------------|
-|Mesh router (default) | LOWPAN_ROUTER | NET_6LOWPAN_ROUTER |
-|Non routing device | LOWPAN_HOST | NET_6LOWPAN_HOST |
+|Mesh router (default) | lowpan_router | NET_6LOWPAN_ROUTER |
+|Non routing device | lowpan_host | NET_6LOWPAN_HOST |
#### Thread
**mesh-type: MESH_THREAD**
-|Device role|`target.features_add` value|`mbed-mesh-api.thread-device-type`|
+|Device role|`nanostack.configuration` value|`mbed-mesh-api.thread-device-type`|
|-----------|-------------------------|------------------------------------|
-|Mesh router (default) | THREAD_ROUTER | MESH_DEVICE_TYPE_THREAD_ROUTER |
-|Non routing device | THREAD_END_DEVICE | MESH_DEVICE_TYPE_THREAD_SLEEPY_END_DEVICE |
+|Mesh router (default) | thread_router | MESH_DEVICE_TYPE_THREAD_ROUTER |
+|Non routing device | thread_end_device | MESH_DEVICE_TYPE_THREAD_SLEEPY_END_DEVICE |
##### Thread commissioning