mirror of https://github.com/ARMmbed/mbed-os.git
Add 6LoWPAN and Thread test configuration
parent
9836b9bd6a
commit
7e23c229a3
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"config": {
|
||||
"echo-server-addr" : {
|
||||
"help" : "IP address of echo server",
|
||||
"value" : "\"echo.mbedcloudtesting.com\""
|
||||
},
|
||||
"echo-server-port" : {
|
||||
"help" : "Port of echo server",
|
||||
"value" : "7"
|
||||
}
|
||||
},
|
||||
"target_overrides": {
|
||||
"*": {
|
||||
"target.network-default-interface-type": "MESH",
|
||||
"nsapi.default-stack": "NANOSTACK",
|
||||
"nsapi.default-mesh-type": "LOWPAN",
|
||||
"nanostack.configuration": "lowpan_host",
|
||||
"mbed-mesh-api.heap-size": 14000,
|
||||
"mbed-mesh-api.6lowpan-nd-device-type": "NET_6LOWPAN_HOST",
|
||||
"mbed-mesh-api.6lowpan-nd-panid-filter": "0xffff",
|
||||
"mbed-mesh-api.6lowpan-nd-channel-page": 0,
|
||||
"mbed-mesh-api.6lowpan-nd-channel": 12,
|
||||
"mbed-mesh-api.6lowpan-nd-channel-mask": "(1<<12)",
|
||||
"mbed-trace.enable": false
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"config": {
|
||||
"echo-server-addr" : {
|
||||
"help" : "IP address of echo server",
|
||||
"value" : "\"echo.mbedcloudtesting.com\""
|
||||
},
|
||||
"echo-server-port" : {
|
||||
"help" : "Port of echo server",
|
||||
"value" : "7"
|
||||
}
|
||||
},
|
||||
"target_overrides": {
|
||||
"*": {
|
||||
"target.network-default-interface-type": "MESH",
|
||||
"nsapi.default-stack": "NANOSTACK",
|
||||
"nsapi.default-mesh-type": "LOWPAN",
|
||||
"nanostack.configuration": "lowpan_router",
|
||||
"mbed-mesh-api.heap-size": 14000,
|
||||
"mbed-mesh-api.6lowpan-nd-device-type": "NET_6LOWPAN_ROUTER",
|
||||
"mbed-mesh-api.6lowpan-nd-panid-filter": "0xffff",
|
||||
"mbed-mesh-api.6lowpan-nd-channel-page": 0,
|
||||
"mbed-mesh-api.6lowpan-nd-channel": 12,
|
||||
"mbed-mesh-api.6lowpan-nd-channel-mask": "(1<<12)",
|
||||
"mbed-trace.enable": false
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"config": {
|
||||
"echo-server-addr" : {
|
||||
"help" : "IP address of echo server",
|
||||
"value" : "\"echo.mbedcloudtesting.com\""
|
||||
},
|
||||
"echo-server-port" : {
|
||||
"help" : "Port of echo server",
|
||||
"value" : "7"
|
||||
}
|
||||
},
|
||||
"target_overrides": {
|
||||
"*": {
|
||||
"target.network-default-interface-type": "MESH",
|
||||
"nsapi.default-stack": "NANOSTACK",
|
||||
"nsapi.default-mesh-type": "THREAD",
|
||||
"nanostack.configuration": "thread_end_device",
|
||||
"mbed-mesh-api.thread-device-type": "MESH_DEVICE_TYPE_THREAD_MINIMAL_END_DEVICE",
|
||||
"mbed-mesh-api.thread-config-panid": "0x0700",
|
||||
"mbed-mesh-api.thread-master-key": "{0x10, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}",
|
||||
"mbed-mesh-api.thread-config-channel": 22,
|
||||
"mbed-trace.enable": false
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"config": {
|
||||
"echo-server-addr" : {
|
||||
"help" : "IP address of echo server",
|
||||
"value" : "\"echo.mbedcloudtesting.com\""
|
||||
},
|
||||
"echo-server-port" : {
|
||||
"help" : "Port of echo server",
|
||||
"value" : "7"
|
||||
}
|
||||
},
|
||||
"target_overrides": {
|
||||
"*": {
|
||||
"target.network-default-interface-type": "MESH",
|
||||
"nsapi.default-stack": "NANOSTACK",
|
||||
"nsapi.default-mesh-type": "THREAD",
|
||||
"nanostack.configuration": "thread_router",
|
||||
"mbed-mesh-api.thread-device-type": "MESH_DEVICE_TYPE_THREAD_ROUTER",
|
||||
"mbed-mesh-api.thread-config-panid": "0x0700",
|
||||
"mbed-mesh-api.thread-master-key": "{0x10, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}",
|
||||
"mbed-mesh-api.thread-config-channel": 22,
|
||||
"mbed-trace.enable": false
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,5 +5,9 @@
|
|||
"HEAPBLOCKDEVICE_AND_WIFI": "HeapBlockDeviceAndWifiInterface.json",
|
||||
"ESP8266_WIFI" : "ESP8266Interface.json",
|
||||
"ISM43362_WIFI" : "ISM43362Interface.json",
|
||||
"IDW0XX1_WIFI" : "SpwfSAInterface.json"
|
||||
"IDW0XX1_WIFI" : "SpwfSAInterface.json",
|
||||
"6LOWPAN_HOST" : "6lowpanInterface_host.json",
|
||||
"6LOWPAN_ROUTER" : "6lowpanInterface_router.json",
|
||||
"THREAD_END_DEVICE" : "ThreadInterface_end_device.json",
|
||||
"THREAD_ROUTER" : "ThreadInterface_router.json"
|
||||
}
|
||||
|
|
|
@ -42,5 +42,9 @@
|
|||
"NUCLEO_F401RE": {
|
||||
"default_test_configuration": "NONE",
|
||||
"test_configurations": ["IDW0XX1_WIFI"]
|
||||
},
|
||||
"NCS36510": {
|
||||
"default_test_configuration": "6LOWPAN_HOST",
|
||||
"test_configurations": ["6LOWPAN_HOST", "6LOWPAN_ROUTER", "THREAD_ROUTER", "THREAD_END_DEVICE"]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue