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:
66:8079b3572c2e
Parent:
40:c2fa339bdacc
--- a/Jenkinsfile	Mon Feb 20 15:10:50 2017 +0000
+++ b/Jenkinsfile	Thu Feb 23 10:30:10 2017 +0000
@@ -17,7 +17,7 @@
   "NUCLEO_F429ZI",
   "UBLOX_EVK_ODIN_W2"
   ]
-  
+
 // Map toolchains to compilers
 def toolchains = [
   ARM: "armcc",
@@ -72,7 +72,7 @@
         deleteDir()
         dir("mbed-os-example-client") {
           checkout scm
-          
+
           if ("${configName}" == "thd") {
             // Change device type to Thread router
             execute("sed -i 's/\"NANOSTACK\", \"LOWPAN_ROUTER\", \"COMMON_PAL\"/\"NANOSTACK\", \"THREAD_ROUTER\", \"COMMON_PAL\"/' mbed_app.json")
@@ -89,7 +89,10 @@
             execute ("sed -i 's/\"value\": \"ETHERNET\"/\"value\": \"MESH_LOWPAN_ND\"/' mbed_app.json")
 
             // Change channel for HW tests
-            execute ("sed -i 's/\"mbed-mesh-api.6lowpan-nd-channel\": 12/\"mbed-mesh-api.6lowpan-nd-channel\": 18/' mbed_app.json")
+            execute ("sed -i 's/\"mbed-mesh-api.6lowpan-nd-channel\": 12/\"mbed-mesh-api.6lowpan-nd-channel\": 17/' mbed_app.json")
+
+            //Use PANID filter
+            execute ("sed -i '/6lowpan-nd-channel\":/a \"mbed-mesh-api.6lowpan-nd-panid-filter\": \"0xABBA\",' mbed_app.json")
           }
 
           if ("${connectiontype}" == "MCR20") {