3. Demo

  1. The Sensor Node needs an Border Router. Border router is a network gateway between a wireless 6LoWPAN mesh network (with nodes like the Sensor Node) and a backhaul network. It controls and relays traffic between the two networks. In this demo, a 6LoWPAN border router is connected to another router in the backhaul network over Ethernet which in turn forwards traffic to/from the internet. We have used the NUCLEO_F429ZI board with the SPIRIT module X-NUCLEO-IDS01A4.

You have to modify the boards in order to use them in this demo:

  • On the X-NUCLEO-IDS01A4:
    • Unmount resistor R4
    • Mount resistor R7
  • On the NUCLEO_F429ZI:
    • Open solder bridge SB121
    • Close solder bridge SB122
  1. Download our firmware. If you want build it by yourself please visit the github page nanostack-border-router.
  2. Connect the Border Router via mini-usb cable to the PC.
  3. Copy the nanostack-border-router.bin file in the mass-storage of the NUCLEO_F429ZI.
  4. Connect the Border Router via Ethernet cable to the router connected to the internet.
  5. Turn-on the Sensor Node. You can power supply the board with micro-USB cables from your PC.
  6. From the mbed Device Connector login and click on Dashboard link.
  7. On the dashboard page you can see if your device is connceted. In this case you will see the text 1 of 100:
  1. Click on API Console and then to Endpoint directory lookups:
  1. Click on GET Endpoint’s resource representation:
  1. From the GET form you have to select:
  • your endpoint


If you have more than one node, you can know the exact endpoint of the board through the security.h file. In this file it is written the endpoint, like #define MBED_ENDPOINT_NAME “4c7f10f6-bd47-4e3e-9450-35cad6fc157f”

  • the resource you want read, in this case /3200/0/5501
  • Then click on TEST API button.
  1. You will read the response decoded: