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
+36-39Lines changed: 36 additions & 39 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:
1. Mount the WiFi module onto [K64F Grove Shield v2](https://developer.mbed.org/platforms/FRDM-K64F/#supported-seeed-studio-grove-extension)
129
126
1. Attach the shield on the K64F board.
130
127
1. In the `mbed_app.json` file, change
131
-
```
132
-
"network-interface":{
133
-
"help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD.",
134
-
"value": "WIFI"
135
-
},
128
+
```json
129
+
"network-interface":{
130
+
"help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD.",
131
+
"value": "WIFI"
132
+
}
136
133
```
137
134
138
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