This is a simple mbed client example demonstrating, registration of a device with mbed Device Connector and reading and writing values as well as deregistering on different Network Interfaces including Ethernet, WiFi, 6LoWPAN ND and Thread respectively.

Fork of mbed-os-example-client by mbed-os-examples

Revision:
40:c2fa339bdacc
Parent:
36:bfb6816a677c
Child:
66:8079b3572c2e
--- a/Jenkinsfile	Mon Dec 05 18:15:11 2016 +0000
+++ b/Jenkinsfile	Thu Dec 08 12:30:11 2016 +0000
@@ -78,6 +78,10 @@
             execute("sed -i 's/\"NANOSTACK\", \"LOWPAN_ROUTER\", \"COMMON_PAL\"/\"NANOSTACK\", \"THREAD_ROUTER\", \"COMMON_PAL\"/' mbed_app.json")
             // Change connection type to thread
             execute ("sed -i 's/\"value\": \"ETHERNET\"/\"value\": \"MESH_THREAD\"/' mbed_app.json")
+            // Reuse 6lowpan channel to Thread channel
+            execute("sed -i 's/\"mbed-mesh-api.6lowpan-nd-channel\": 12/\"mbed-mesh-api.thread-config-channel\": 18/' mbed_app.json")
+            // Reuse 6lowpan channel page to Thread PANID
+            execute("sed -i 's/\"mbed-mesh-api.6lowpan-nd-channel-page\": 0/\"mbed-mesh-api.thread-config-panid\": \"0xBAAB\"/' mbed_app.json")
           }
 
           if ("${configName}" == "6lp") {