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
@@ -79,29 +79,35 @@ You can view debug traces from the gateway with a serial port monitor. The gatew
79
79
80
80
#### Channel settings
81
81
82
-
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:
82
+
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**:
95
+
For sub-GHz shields (AT86RF212B) use the following overrides, **6LoWPAN ND only**:
92
96
93
97
```
94
-
YOTTA_CFG_MBED_MESH_API_6LOWPAN_ND_CHANNEL_PAGE=2
95
-
YOTTA_CFG_MBED_MESH_API_6LOWPAN_ND_CHANNEL=1
98
+
"mbed-mesh-api.6lowpan-nd-channel-page": 2,
99
+
"mbed-mesh-api.6lowpan-nd-channel": 1
96
100
```
97
101
98
-
For more information about the radio shields, see [the related documentation](docs/radio_module_identify.md).
102
+
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.
99
103
100
104
#### Thread-specific settings
101
105
102
-
With Thread, you can change the operating mode of the device between a router and a sleepy end device as follows:
106
+
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:
103
107
104
-
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