Skip to content

Commit 0a2d2fc

Browse files
author
Mika Leppänen
committed
Updated readme
1 parent 73d6fcc commit 0a2d2fc

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ The Wi-SUN specific parameters are listed below.
167167
| `root-certificate` | Root certificate |
168168
| `own-certificate` | Own certificate |
169169
| `own-certificate-key` | Own certificate's key |
170-
| `GTK0` | Set GTK0 to predefined value for testing |
171170

172171
Regulatory domain, operating class and operating mode are defined in the Wi-SUN PHY-specification.
173172

@@ -306,6 +305,28 @@ After changing the radio shield, recompile the application.
306305

307306
Currently, only one radio shield, the STM S2LP radio shield, supports Wi-SUN.
308307

308+
309+
### Wi-SUN test configurations
310+
311+
You can set the Border Router to fixed-channel mode by setting the channel function to fixed-channel, by defining the channel number and by setting the broadcast intervals:
312+
313+
```
314+
"uc-channel-function": 0,
315+
"bc-channel-function": 0,
316+
"uc-fixed-channel": 11,
317+
"bc-fixed-channel": 11,
318+
"bc-dwell-interval": 255,
319+
"bc-interval": 1020,
320+
```
321+
322+
You can set the EAPOL group transient key (GTK) to a predefined value by setting the GTK0:
323+
324+
```
325+
"GTK0": "{0xBB, 0x06, 0x08, 0x57, 0x2C, 0xE1, 0x4D, 0x7B, 0xA2, 0xD1, 0x55, 0x49, 0x9C, 0xC8, 0x51, 0x9B}",
326+
```
327+
328+
For the predefined GTK, the Wireshark IEEE 802.15.4 network decryption key can be calculated using SHA-256('Network name' || GTK0).
329+
309330
## File system support
310331

311332
The application can use the file system as instructed in [Mbed OS storage documentation](https://os.mbed.com/docs/latest/reference/storage.html). The file system is not enabled by default due to a variety of possible configurations.

0 commit comments

Comments
 (0)