Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit d2bbf12

Browse files
Seppo TakaloJanne Kiiskilä
authored andcommitted
Change 6LoWPAN test configs.
* Channel to 17 * Use PANID filter
1 parent bbb120f commit d2bbf12

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Jenkinsfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def targets = [
1717
"NUCLEO_F429ZI",
1818
"UBLOX_EVK_ODIN_W2"
1919
]
20-
20+
2121
// Map toolchains to compilers
2222
def toolchains = [
2323
ARM: "armcc",
@@ -72,7 +72,7 @@ def buildStep(target, compilerLabel, toolchain, configName, connectiontype) {
7272
deleteDir()
7373
dir("mbed-os-example-client") {
7474
checkout scm
75-
75+
7676
if ("${configName}" == "thd") {
7777
// Change device type to Thread router
7878
execute("sed -i 's/\"NANOSTACK\", \"LOWPAN_ROUTER\", \"COMMON_PAL\"/\"NANOSTACK\", \"THREAD_ROUTER\", \"COMMON_PAL\"/' mbed_app.json")
@@ -89,7 +89,10 @@ def buildStep(target, compilerLabel, toolchain, configName, connectiontype) {
8989
execute ("sed -i 's/\"value\": \"ETHERNET\"/\"value\": \"MESH_LOWPAN_ND\"/' mbed_app.json")
9090

9191
// Change channel for HW tests
92-
execute ("sed -i 's/\"mbed-mesh-api.6lowpan-nd-channel\": 12/\"mbed-mesh-api.6lowpan-nd-channel\": 18/' mbed_app.json")
92+
execute ("sed -i 's/\"mbed-mesh-api.6lowpan-nd-channel\": 12/\"mbed-mesh-api.6lowpan-nd-channel\": 17/' mbed_app.json")
93+
94+
//Use PANID filter
95+
execute ("sed -i '/6lowpan-nd-channel\":/a \"mbed-mesh-api.6lowpan-nd-panid-filter\": \"0xABBA\",' mbed_app.json")
9396
}
9497

9598
if ("${connectiontype}" == "MCR20") {

0 commit comments

Comments
 (0)