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

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Thu Feb 23 10:30:10 2017 +0000
Parent:
65:ea64e559b7d3
Child:
67:312b4fec81a2
Commit message:
Change 6LoWPAN test configs.

* Channel to 17
* Use PANID filter

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-client

Changed in this revision

Jenkinsfile Show annotated file Show diff for this revision Revisions of this file
--- 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") {