Skip to content

Commit abb74e8

Browse files
authored
Merge pull request #6092 from kjbracey-arm/mesh-help
mbed-mesh-api: add JSON help
2 parents b18c88e + 79b3d06 commit abb74e8

File tree

1 file changed

+100
-25
lines changed

1 file changed

+100
-25
lines changed
Lines changed: 100 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,105 @@
11
{
22
"name": "mbed-mesh-api",
33
"config": {
4-
"heap-size": 32500,
5-
"use-malloc-for-heap": false,
6-
"6lowpan-nd-channel-mask": "0x7fff800",
7-
"6lowpan-nd-channel-page": 0,
8-
"6lowpan-nd-channel": 0,
9-
"6lowpan-nd-panid-filter": "0xffff",
10-
"6lowpan-nd-security-mode": "NONE",
11-
"6lowpan-nd-psk-key-id": 1,
12-
"6lowpan-nd-psk-key": "{0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf}",
13-
"6lowpan-nd-sec-level": 5,
14-
"6lowpan-nd-device-type": "NET_6LOWPAN_ROUTER",
15-
"thread-pskd": "\"ABCDEFGH\"",
16-
"thread-use-static-link-config": true,
17-
"thread-config-channel-mask": "0x7fff800",
18-
"thread-config-channel-page": 0,
19-
"thread-config-channel": 22,
20-
"thread-config-panid": "0x0700",
21-
"thread-config-network-name": "\"Thread Network\"",
22-
"thread-config-commissioning-dataset-timestamp": "0x10000",
23-
"thread-config-extended-panid": "{0xf1, 0xb5, 0xa1, 0xb2,0xc4, 0xd5, 0xa1, 0xbd }",
24-
"thread-master-key": "{0x10, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}",
25-
"thread-config-ml-prefix": "{0xfd, 0x0, 0x0d, 0xb8, 0x0, 0x0, 0x0, 0x0}",
26-
"thread-config-pskc": "{0xc8, 0xa6, 0x2e, 0xae, 0xf3, 0x68, 0xf3, 0x46, 0xa9, 0x9e, 0x57, 0x85, 0x98, 0x9d, 0x1c, 0xd0}",
27-
"thread-device-type": "MESH_DEVICE_TYPE_THREAD_ROUTER",
28-
"thread-security-policy": 255
4+
"heap-size": {
5+
"help": "Nanostack's heap size (bytes: 0-65534)",
6+
"value": 32500
7+
},
8+
"use-malloc-for-heap": {
9+
"help": "Use `malloc()` for reserving the internal heap.",
10+
"value": false
11+
},
12+
"6lowpan-nd-channel-mask": {
13+
"help": "Channel mask, bit mask of channels to use.",
14+
"value": "0x7fff800"
15+
},
16+
"6lowpan-nd-channel-page": {
17+
"help": "0 for 2.4 GHz and 2 for sub-GHz radios.",
18+
"value": 0
19+
},
20+
"6lowpan-nd-channel": {
21+
"help": "RF channel to use when `channel_mask` is not defined (0-26).",
22+
"value": 0
23+
},
24+
"6lowpan-nd-panid-filter": {
25+
"help": "Beacon PAN ID filter, 0xffff means no filtering.",
26+
"value": "0xffff"
27+
},
28+
"6lowpan-nd-security-mode": {
29+
"help": "NONE or PSK to use either no security, or pre-shared network key.",
30+
"value": "NONE"
31+
},
32+
"6lowpan-nd-psk-key-id": {
33+
"help": "PSK key ID when PSK is enabled.",
34+
"value": 1
35+
},
36+
"6lowpan-nd-psk-key": {
37+
"help": "Pre-shared network key.",
38+
"value": "{0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf}"
39+
},
40+
"6lowpan-nd-sec-level": {
41+
"help": "Network security level (1-7). Use default `5`.",
42+
"value": 5
43+
},
44+
"6lowpan-nd-device-type": {
45+
"help": "Device mode (NET_6LOWPAN_ROUTER or NET_6LOWPAN_HOST). Router is routing packets from other device, creating a mesh network.",
46+
"value": "NET_6LOWPAN_ROUTER"
47+
},
48+
"thread-pskd": {
49+
"help": "Human-scaled commissioning credentials. Uppercase alphanumeric string (0-9, A-Y excluding I, O, Q and Z), 6-32 characters.",
50+
"value": "\"ABCDEFGH\""
51+
},
52+
"thread-use-static-link-config": {
53+
"help": "True: Use the below link config, False: Use commissioning, ignore the below link config.",
54+
"value": true
55+
},
56+
"thread-config-channel-mask": {
57+
"help": "Channel mask, 0x7ffff800 scans all channels.",
58+
"value": "0x7fff800"
59+
},
60+
"thread-config-channel-page": {
61+
"help": "Channel page, 0 for 2.4 GHz radio.",
62+
"value": 0
63+
},
64+
"thread-config-channel": {
65+
"help": "RF channel to use. (11-26)",
66+
"value": 22
67+
},
68+
"thread-config-panid": {
69+
"help": "Network identifier (0-0xFFFF)",
70+
"value": "0x0700"
71+
},
72+
"thread-config-network-name": {
73+
"help": "Network name (max 16 characters)",
74+
"value": "\"Thread Network\""
75+
},
76+
"thread-config-commissioning-dataset-timestamp": {
77+
"help": "[48 bit timestamp seconds]-[15 bit timestamp ticks]-[U bit] (0-0xFFFFFFFFFFFFFFFF)",
78+
"value": "0x10000"
79+
},
80+
"thread-config-extended-panid": {
81+
"help": "Extended PAN ID.",
82+
"value": "{0xf1, 0xb5, 0xa1, 0xb2,0xc4, 0xd5, 0xa1, 0xbd }"
83+
},
84+
"thread-master-key": {
85+
"help": "Network master key.",
86+
"value": "{0x10, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}"
87+
},
88+
"thread-config-ml-prefix": {
89+
"help": "Mesh Local prefix.",
90+
"value": "{0xfd, 0x0, 0x0d, 0xb8, 0x0, 0x0, 0x0, 0x0}"
91+
},
92+
"thread-config-pskc": {
93+
"help": "Pre-Shared Key for the Commissioner.",
94+
"value": "{0xc8, 0xa6, 0x2e, 0xae, 0xf3, 0x68, 0xf3, 0x46, 0xa9, 0x9e, 0x57, 0x85, 0x98, 0x9d, 0x1c, 0xd0}"
95+
},
96+
"thread-device-type": {
97+
"help": "Supported device operating modes: MESH_DEVICE_TYPE_THREAD_ROUTER, MESH_DEVICE_TYPE_THREAD_SLEEPY_END_DEVICE, MESH_DEVICE_TYPE_THREAD_MINIMAL_END_DEVICE",
98+
"value": "MESH_DEVICE_TYPE_THREAD_ROUTER"
99+
},
100+
"thread-security-policy": {
101+
"help": "Commissioning security policy bits (0-0xFF)",
102+
"value": 255
103+
}
29104
}
30105
}

0 commit comments

Comments
 (0)