You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 24, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,29 +80,35 @@ You can view debug traces from the gateway with a serial port monitor. The gatew
80
80
81
81
#### Channel settings
82
82
83
-
In 6LoWPAN ND and Thread mode, you need to set the channel settings to match the mbed gateway settings. Channel settings can be found in the `MACROS.txt` file. For 2.4GHz shields (AT86RF233), use the following values:
83
+
The default 2.4GHz channel settings are already defined by the [mbed-mesh-api](https://github.com/ARMmbed/mbed-mesh-api)to match the mbed gateway settings. The application can override these settings by adding them to the `mbed_app.json` file in the main project directory. For example:
Values for sub-GHz shields (AT86RF212B), **6LoWPAN ND only**:
96
+
For sub-GHz shields (AT86RF212B) use the following overrides, **6LoWPAN ND only**:
93
97
94
98
```
95
-
YOTTA_CFG_MBED_MESH_API_6LOWPAN_ND_CHANNEL_PAGE=2
96
-
YOTTA_CFG_MBED_MESH_API_6LOWPAN_ND_CHANNEL=1
99
+
"mbed-mesh-api.6lowpan-nd-channel-page": 2,
100
+
"mbed-mesh-api.6lowpan-nd-channel": 1
97
101
```
98
102
99
-
For more information about the radio shields, see [the related documentation](docs/radio_module_identify.md).
103
+
For more information about the radio shields, see [the related documentation](docs/radio_module_identify.md). All the configurable settings can be found in the `mbed-client-quickstart-morpheus/mbed-os/net/mbed-mesh-api/mbed_lib.json` file.
100
104
101
105
#### Thread-specific settings
102
106
103
-
With Thread, you can change the operating mode of the device between a router and a sleepy end device as follows:
107
+
With Thread, you can change the operating mode of the client from the default router mode to a sleepy end device by adding the following override to the `mbed_app.json` file:
104
108
105
-
In the `MACROS.txt` file, change the `YOTTA_CFG_MBED_MESH_API_THREAD_DEVICE_TYPE` to either `MESH_DEVICE_TYPE_THREAD_ROUTER` or `MESH_DEVICE_TYPE_THREAD_SLEEPY_END_DEVICE`.
0 commit comments