George Djabarov / Mbed OS mbed-os-example-mesh-minimal
Revision:
24:671ef092f6ca
Parent:
21:6c1e9147037c
Child:
26:b28ab71ff595
--- a/Jenkinsfile	Mon Nov 14 11:00:11 2016 +0000
+++ b/Jenkinsfile	Wed Nov 23 08:45:11 2016 +0000
@@ -75,8 +75,17 @@
             // Change mesh interface to thread
             execute("sed -i 's/\"value\": \"MESH_LOWPAN\"/\"value\": \"MESH_THREAD\"/' mbed_app.json")
 
-            //Change operation mode to Thread router
+            // Change operation mode to Thread router
             execute("sed -i 's/\"NANOSTACK\", \"LOWPAN_ROUTER\", \"COMMON_PAL\"/\"NANOSTACK\", \"THREAD_ROUTER\", \"COMMON_PAL\"/' mbed_app.json")
+
+            // Increase HEAP size
+            execute("sed -i 's/\"mbed-mesh-api.heap-size\": 10000/\"mbed-mesh-api.heap-size\": 32000/' mbed_app.json")
+
+            // Use systest Thread border router for testing (CH=18, PANID=BAAB)
+            execute("sed -i 's/\"mbed-mesh-api.thread-config-channel\": 12/\"mbed-mesh-api.thread-config-channel\": 18/' mbed_app.json")
+            execute("sed -i 's/\"mbed-mesh-api.thread-config-panid\": \"0xDEFA\"/\"mbed-mesh-api.thread-config-panid\": \"0xBAAB\"/' mbed_app.json")
+            // Activate traces
+            execute("sed -i 's/\"mbed-trace.enable\": false/\"mbed-trace.enable\": true/' mbed_app.json")
           }
 
           if ("${meshInterface}" == "6lp") {