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
+25-26Lines changed: 25 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,11 +41,11 @@ To configure the example application, please:
41
41
42
42
The application uses Ethernet as the default connection type. To change the connection type, set one of them in `mbed_app.json`. For example, to enable 6LoWPAN ND mode:
43
43
44
-
```
45
-
"network-interface":{
46
-
"help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD.",
47
-
"value": "MESH_LOWPAN_ND"
48
-
},
44
+
```json
45
+
"network-interface":{
46
+
"help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD.",
47
+
"value": "MESH_LOWPAN_ND"
48
+
}
49
49
```
50
50
51
51
### Client credentials
@@ -81,20 +81,20 @@ You can view debug traces from the gateway with a serial port monitor. The gatew
81
81
82
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:
83
83
84
-
```
85
-
"target_overrides": {
86
-
"*": {
87
-
"mbed-mesh-api.6lowpan-nd-channel-page": 0,
88
-
"mbed-mesh-api.6lowpan-nd-channel": 12,
89
-
"mbed-mesh-api.thread-config-channel-page": 0,
90
-
"mbed-mesh-api.thread-config-channel": 12
91
-
}
92
-
}
84
+
```json
85
+
"target_overrides": {
86
+
"*": {
87
+
"mbed-mesh-api.6lowpan-nd-channel-page": 0,
88
+
"mbed-mesh-api.6lowpan-nd-channel": 12,
89
+
"mbed-mesh-api.thread-config-channel-page": 0,
90
+
"mbed-mesh-api.thread-config-channel": 12
91
+
}
92
+
}
93
93
```
94
94
95
95
For sub-GHz shields (AT86RF212B) use the following overrides, **6LoWPAN ND only**:
96
96
97
-
```
97
+
```json
98
98
"mbed-mesh-api.6lowpan-nd-channel-page": 2,
99
99
"mbed-mesh-api.6lowpan-nd-channel": 1
100
100
```
@@ -105,8 +105,8 @@ For more information about the radio shields, see [the related documentation](do
105
105
106
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:
@@ -125,23 +125,22 @@ The example application uses ESP8266 WiFi Interface for managing the wireless co
125
125
1. Mount the WiFi module onto [K64F Grove Shield v2](https://developer.mbed.org/platforms/FRDM-K64F/#supported-seeed-studio-grove-extension)
126
126
1. Attach the shield on the K64F board.
127
127
1. In the `mbed_app.json` file, change
128
-
```
128
+
```json
129
129
"network-interface": {
130
130
"help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD.",
131
131
"value": "WIFI"
132
-
},
132
+
}
133
133
```
134
134
135
135
1. Provide your WiFi SSID and password here, remember to leave `\"` in the beginning and end of your SSID and password(as shown in the example below), else example will not be able to pick up the SSID and password in correct format.
0 commit comments