|
3 | 3 | # defines all the border router parameters (as shown below). |
4 | 4 | { |
5 | 5 | "border-router": { |
6 | | - "debug-traces": 1, # Turn on/off debug prints |
7 | | - "name": "mbed OS Border Router", # Name of the BR application |
8 | | - "model": "K64F-BR", # Model name of the BR application |
9 | | - "manufacturer": "ARM", # Name of manufacturer |
10 | | - "network-mode": "ND_WITH_MLE", # 6LoWPAN default |
11 | | - "security-mode": "PSK", # Mode of security, allowed values: (NONE, PSK, PANA) |
12 | | - "psk-key-id": 1, # Index of the PSK key (if unsure set to 1) |
13 | | - "psk-key": "{0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf}", |
14 | | - # 16-byte long private shared key (PSK) value |
15 | | - "pana-mode": "", # The PANA mode of operation, allowed values: (PSK, ECC, ECC+PSK) |
16 | | - "tls-psk-key": "{0xcf, 0xce, 0xcd, 0xcc, 0xcb, 0xca, 0xc9, 0xc8, 0xc7, 0xc6, 0xc5, 0xc4, 0xc3, 0xc2, 0xc1, 0xc0}", |
17 | | - # 16-byte long TLS private shared key (PSK) value (used with PANA) |
18 | | - "tls-psk-key-id": 1, # Index of the TLS PSK key (used with PANA; if unsure set to 1) |
19 | | - "br-pan-id": "0x0700", # Identifies the 6LoWPAN mesh network |
20 | | - "networkid": "network000000000", # Human-readable indentifier for the 6LoWPAN network (used in beacons) |
21 | | - "br-beacon-protocol-id": 4, # The protocol number in beacons (6LoWPAN shoud always use 4) |
22 | | - "prefix": "fd00:db8::", # The global prefix to be assigned to all the nodes in the 6LoWPAN mesh network |
23 | | - "rf-channel": 24, # The radio channel the BR application listens on, allowed values 11-26 |
24 | | - "br-short-address": "0xface", # The short (16-bit) MAC address used on the short global address |
25 | | - "backhaul-bootstrap-mode": "NET_IPV6_BOOTSTRAP_STATIC", # Defines how the backhaul interface should be configured, |
| 6 | + "debug-traces": 1, # Turn on/off debug prints |
| 7 | + "name": "mbed OS Border Router", # Name of the border router application |
| 8 | + "model": "MY-BR-APP", # Model name of the border router application |
| 9 | + "manufacturer": "ARM", # Name of manufacturer |
| 10 | + "network-mode": "ND_WITH_MLE", # 6LoWPAN mode, allowed values: (ND_WITH_MLE) |
| 11 | + "security-mode": "PSK", # Mode of security, allowed values: (NONE, PSK, PANA) |
| 12 | + "psk-key-id": 1, # Index of the PSK key (if unsure set to 1) |
| 13 | + "psk-key": "{0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf}", |
| 14 | + # 16-byte long private shared key (PSK) value |
| 15 | + "pana-mode": "", # The PANA mode of operation (used if "security-mode": "PANA"), allowed values: (PSK, ECC, ECC+PSK) |
| 16 | + "tls-psk-key": "{0xcf, 0xce, 0xcd, 0xcc, 0xcb, 0xca, 0xc9, 0xc8, 0xc7, 0xc6, 0xc5, 0xc4, 0xc3, 0xc2, 0xc1, 0xc0}", |
| 17 | + # 16-byte long TLS private shared key (PSK) value (used with PANA) |
| 18 | + "tls-psk-key-id": 1, # Index of the TLS PSK key (used with PANA; if unsure set to 1) |
| 19 | + "pan-id": "0x0700", # Identifies the 6LoWPAN mesh network |
| 20 | + "network-id": "network000000000", # 16 bytes long human-readable indentifier for the 6LoWPAN network (used in beacons) |
| 21 | + "beacon-protocol-id": 4, # The protocol number in beacons (6LoWPAN shoud always use 4) |
| 22 | + "prefix": "fd00:db8::", # The global prefix to be assigned to all the nodes in the 6LoWPAN mesh network |
| 23 | + "rf-channel": 24, # The radio channel the application listens on, allowed values 11-26 |
| 24 | + "short-mac-address": "0xface", # The short (16-bit) MAC address used on the short global address |
| 25 | + "backhaul-bootstrap-mode": "NET_IPV6_BOOTSTRAP_STATIC", # Defines how the backhaul interface should be configured, |
26 | 26 | # allowed values: (NET_IPV6_BOOTSTRAP_STATIC, NET_IPV6_BOOTSTRAP_AUTONOMOUS) |
27 | | - "backhaul-prefix": "fd00:db8:ff1::", The global prefix to be used on the address attached to the backhaul interface |
28 | | - "backhaul-default-route": "::/0", # The deault route (prefix & prefix length) on the backhaul interface |
29 | | - "backhaul-next-hop": "", # The next hop value of the default route (should be a link-local address of a neighboring router) |
30 | | - "br-rpl-flags": "RPL_GROUNDED | BR_DODAG_MOP_NON_STORING | RPL_DODAG_PREF(0)", # RPL: the operation mode of RPL routing (do NOT change) |
31 | | - "br-rpl-instance-id": 1, # RPL: The RPL instance ID value (identifies the RPL instance) |
32 | | - "br-nd-route-lifetime": 1024, # ND: The router lifetime value used in transmitted Router Advertisements |
33 | | - "br-dag-dio-int-doub": 12, # RPL Trickle: DIOIntervalDoublings value |
34 | | - "br-dag-dio-int-min": 9, # RPL Trickle: DIOIntervalMin value |
35 | | - "br-dag-dio-redu": 10, # RPL Trickle: the redundacy constant k |
36 | | - "br-dag-max-rank-inc": 2048, # RPL: maximum rank increase |
37 | | - "br-dag-min-hop-rank-inc": 128, # RPL: minumum rank increase |
38 | | - "br-life-in-seconds": 64, # RPL: valid lifetime for the RPL messages |
39 | | - "br-lifetime-unit": 60, # RPL: value of the unit the lifetime is described in |
40 | | - "br-dag-sec-pcs": 1, # RPL: the number of bits that may be allocated to the path control field |
41 | | - "br-dag-ocp": 1, # RPL: the objective function to use, allowed_values (1: OF0, 2: MRHOF) |
42 | | - "multicast-addr": "ff05::7" # The MPL multicast address the BR application listens to and forwards multicast packets for |
| 27 | + "backhaul-prefix": "fd00:db8:ff1::", The global prefix of the address attached to the backhaul interface |
| 28 | + "backhaul-default-route": "::/0", # The deault route (prefix & prefix length) on the backhaul interface |
| 29 | + "backhaul-next-hop": "fe80::1", # The next hop value of the default route (should be a link-local address of a neighboring router) |
| 30 | + "ra-router-lifetime": 1024, # ND: The router lifetime value used in transmitted Router Advertisements |
| 31 | + "rpl-instance-id": 1, # RPL: The RPL instance ID value (identifies the RPL instance) |
| 32 | + "rpl-idoublings": 12, # RPL Trickle: DIOIntervalDoublings value |
| 33 | + "rpl-imin": 9, # RPL Trickle: DIOIntervalMin value |
| 34 | + "rpl-k": 10, # RPL Trickle: the redundacy constant k |
| 35 | + "rpl-max-rank-inc": 2048, # RPL: maximum rank increase |
| 36 | + "rpl-min-hop-rank-inc": 128, # RPL: minumum rank increase |
| 37 | + "rpl-default-lifetime": 64, # RPL: default lifetime for the RPL routes |
| 38 | + "rpl-lifetime-unit": 60, # RPL: value of the unit the lifetime is described in |
| 39 | + "rpl-pcs": 1, # RPL: the number of bits that may be allocated to the path control field |
| 40 | + "rpl-ocp": 1, # RPL: the objective function to use, allowed values (1: OF0, 2: MRHOF) |
| 41 | + "multicast-addr": "ff05::7" # The MPL multicast address the application listens to and forwards multicast packets for |
43 | 42 | } |
44 | 43 | } |
0 commit comments