mbed-os-examples / Mbed OS nanostack-border-router-mbed5
Committer:
mbed_official
Date:
Thu Mar 14 16:02:36 2019 +0000
Revision:
94:0c008659750c
Parent:
92:7faf6dcb791f
Child:
105:d9f83743ed4f
Added Wi-SUN certificates and updated mbed TLS configuration

Added Wi-SUN certificates. Added mbed TLS configuration for Wi-SUN.
Enabled MBEDTLS_AES_FEWER_TABLES on both Thread and Wi-SUN configuration.

.
Commit copied from https://github.com/ARMmbed/nanostack-border-router

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 89:2f7ae1d76d7a 1 {
mbed_official 89:2f7ae1d76d7a 2 "config": {
mbed_official 89:2f7ae1d76d7a 3 "heap-size": {
mbed_official 89:2f7ae1d76d7a 4 "help": "The amount of static RAM to reserve for nsdynmemlib heap",
mbed_official 89:2f7ae1d76d7a 5 "value": 100000
mbed_official 89:2f7ae1d76d7a 6 },
mbed_official 89:2f7ae1d76d7a 7 "radio-type":{
mbed_official 89:2f7ae1d76d7a 8 "help": "options are ATMEL, MCR20, SPIRIT1, S2LP",
mbed_official 89:2f7ae1d76d7a 9 "value": "S2LP"
mbed_official 89:2f7ae1d76d7a 10 },
mbed_official 89:2f7ae1d76d7a 11 "backhaul-driver": {
mbed_official 89:2f7ae1d76d7a 12 "help": "options are ETH, SLIP, EMAC",
mbed_official 89:2f7ae1d76d7a 13 "value": "EMAC"
mbed_official 89:2f7ae1d76d7a 14 },
mbed_official 89:2f7ae1d76d7a 15 "mesh-mode": {
mbed_official 89:2f7ae1d76d7a 16 "help": "Mesh networking mode. Options are LOWPAN_ND, LOWPAN_WS and THREAD",
mbed_official 89:2f7ae1d76d7a 17 "value": "LOWPAN_WS"
mbed_official 89:2f7ae1d76d7a 18 },
mbed_official 89:2f7ae1d76d7a 19 "backhaul-mac-src": {
mbed_official 89:2f7ae1d76d7a 20 "help": "Where to get EUI48 address. Options are BOARD, CONFIG",
mbed_official 89:2f7ae1d76d7a 21 "value": "BOARD"
mbed_official 89:2f7ae1d76d7a 22 },
mbed_official 89:2f7ae1d76d7a 23 "backhaul-mld": {
mbed_official 89:2f7ae1d76d7a 24 "help": "Enable proxying Multicast Listener Discovery messages to backhaul network",
mbed_official 89:2f7ae1d76d7a 25 "value": "false"
mbed_official 89:2f7ae1d76d7a 26 },
mbed_official 89:2f7ae1d76d7a 27 "backhaul-mac": "{0x02, 0x00, 0x00, 0x00, 0x00, 0x01}",
mbed_official 89:2f7ae1d76d7a 28 "debug-trace": "false",
mbed_official 89:2f7ae1d76d7a 29 "backhaul-dynamic-bootstrap": true,
mbed_official 90:74901a61be61 30 "backhaul-prefix": "\"fd00:db8:ff1::\"",
mbed_official 90:74901a61be61 31 "backhaul-default-route": "\"::/0\"",
mbed_official 90:74901a61be61 32 "backhaul-next-hop": "\"fe80::1\"",
mbed_official 89:2f7ae1d76d7a 33 "multicast-addr": "ff05::7",
mbed_official 89:2f7ae1d76d7a 34 "LED": "NC",
mbed_official 89:2f7ae1d76d7a 35 "SERIAL_TX": "NC",
mbed_official 89:2f7ae1d76d7a 36 "SERIAL_RX": "NC",
mbed_official 89:2f7ae1d76d7a 37 "SERIAL_CTS": "NC",
mbed_official 89:2f7ae1d76d7a 38 "SERIAL_RTS": "NC",
mbed_official 89:2f7ae1d76d7a 39 "uc-channel-function": 255,
mbed_official 89:2f7ae1d76d7a 40 "bc-channel-function": 255,
mbed_official 89:2f7ae1d76d7a 41 "regulatory-domain": 3,
mbed_official 89:2f7ae1d76d7a 42 "operating-class": 255,
mbed_official 89:2f7ae1d76d7a 43 "operating-mode": 255,
mbed_official 89:2f7ae1d76d7a 44 "uc-fixed-channel": "0xffff",
mbed_official 89:2f7ae1d76d7a 45 "bc-fixed-channel": "0xffff",
mbed_official 94:0c008659750c 46 "network-name": "\"Wi-SUN Network\"",
mbed_official 94:0c008659750c 47 "certificate-header": {
mbed_official 94:0c008659750c 48 "help": "Certificate header",
mbed_official 94:0c008659750c 49 "value": "\"wisun_certificates.h\""
mbed_official 94:0c008659750c 50 },
mbed_official 94:0c008659750c 51 "root-certificate": {
mbed_official 94:0c008659750c 52 "help": "Root certificate in PEM format (must be a null terminated c-string)",
mbed_official 94:0c008659750c 53 "value": "WISUN_ROOT_CERTIFICATE"
mbed_official 94:0c008659750c 54 },
mbed_official 94:0c008659750c 55 "own-certificate": {
mbed_official 94:0c008659750c 56 "help": "Own certificate in PEM format (must be a null terminated c-string)",
mbed_official 94:0c008659750c 57 "value": "WISUN_SERVER_CERTIFICATE"
mbed_official 94:0c008659750c 58 },
mbed_official 94:0c008659750c 59 "own-certificate-key": {
mbed_official 94:0c008659750c 60 "help": "Own certificate's key in PEM format (must be a null terminated c-string)",
mbed_official 94:0c008659750c 61 "value": "WISUN_SERVER_KEY"
mbed_official 94:0c008659750c 62 }
mbed_official 94:0c008659750c 63
mbed_official 89:2f7ae1d76d7a 64 },
mbed_official 94:0c008659750c 65 "macros": ["MBEDTLS_USER_CONFIG_FILE=\"source/mbedtls_wisun_config.h\""],
mbed_official 89:2f7ae1d76d7a 66 "target_overrides": {
mbed_official 89:2f7ae1d76d7a 67 "*": {
mbed_official 89:2f7ae1d76d7a 68 "target.network-default-interface-type": "ETHERNET",
mbed_official 89:2f7ae1d76d7a 69 "nsapi.default-stack": "NANOSTACK",
mbed_official 89:2f7ae1d76d7a 70 "mbed-trace.enable": 1,
mbed_official 89:2f7ae1d76d7a 71 "nanostack.configuration": "ws_border_router",
mbed_official 89:2f7ae1d76d7a 72 "platform.stdio-convert-newlines": true,
mbed_official 89:2f7ae1d76d7a 73 "platform.stdio-baud-rate": 115200,
mbed_official 90:74901a61be61 74 "platform.stdio-buffered-serial": true,
mbed_official 90:74901a61be61 75 "mbed-mesh-api.use-malloc-for-heap": true
mbed_official 89:2f7ae1d76d7a 76 },
mbed_official 89:2f7ae1d76d7a 77 "K64F": {
mbed_official 89:2f7ae1d76d7a 78 "kinetis-emac.tx-ring-len":4,
mbed_official 89:2f7ae1d76d7a 79 "kinetis-emac.rx-ring-len":4
mbed_official 89:2f7ae1d76d7a 80 },
mbed_official 89:2f7ae1d76d7a 81 "K66F": {
mbed_official 89:2f7ae1d76d7a 82 "kinetis-emac.tx-ring-len":4,
mbed_official 89:2f7ae1d76d7a 83 "kinetis-emac.rx-ring-len":4
mbed_official 89:2f7ae1d76d7a 84 }
mbed_official 89:2f7ae1d76d7a 85 }
mbed_official 89:2f7ae1d76d7a 86 }