This application is the simplest one to utilize our mesh networking stack. It just joins your device to the unsecure 6LoWPAN-ND network. The canonical source for this example lives at

Example mesh application for Mbed OS

With this application, you can use our mesh networking stack. This application joins your device to the unsecure 6LoWPAN-ND network.


Building with Mbed CLI

If you'd like to use Mbed CLI to build this offline, then you should refer to the Mbed CLI documentation. The instructions here relate to using the Mbed Online Compiler

  1. Click `Import this application` button.
  2. Change the channel settings: See the file `mbed_app.json` for an example of defining an IEEE 802.15.4 channel to use.
  3. Compile the application

A binary is generated at the end of the build process.

Connect the RF shield to the board

By default, we are using the Atmel AT86RF233, which you can purchase. Place the shield on top of your board, and power it on.

Program the target

Drag and drop the binary to the target to program the application.

Update the firmware of the border router.

You can read the instructions on updating the firmware of your board working as 6LoWPAN border router here.

Please remember to connect the Ethernet cable between the border router and your router. Then, power up the board.


As soon as both the border router and the target are up and running, you can verify the correct behavior. Open a serial console, and see the IP address obtained by the device.

Note: This application uses a baud rate of 115200.


connected. IP = 2001:db8:a0b:12f0::1

You can use this IP address to ping from your PC and verify that the connection is working correctly.

Changing the radio driver (optional)

To run a 6LoWPAN-ND network, you need a working RF driver for Nanostack. This example uses the Atmel AT86RF233 by default.

To change the RF driver:

  1. Uninstall the Atmel RF driver.
  2. Install the new driver. (For example, for the FRDM-CR20A radio shield based on the MCR20A device.)
  3. Recompile your application.

Revisions of Jenkinsfile

Revision Date Message Actions
103:9982165eb577 14 months ago Revert "Remove external RF drivers" File  Diff  Annotate
102:77951b775883 14 months ago Remove sd-driver and update README (#213) File  Diff  Annotate
101:eaeb5760ee04 14 months ago Remove external RF drivers File  Diff  Annotate
79:4425f61286a3 20 months ago Use RAUNI raas daemon. File  Diff  Annotate
69:c76b3887071b 22 months ago Enable NUCLEO_F401RE IAR builds File  Diff  Annotate
68:2330fbeb4926 23 months ago Merge branch 'mbed-os-5.7.0-oob' File  Diff  Annotate
65:cb583d690d43 2017-11-22 Updating mbed-os to mbed-os-5.6.5 File  Diff  Annotate
58:e0f2bf24e6db 2017-10-02 Updating mbed-os to mbed-os-5.6.1 File  Diff  Annotate
53:82a191e2c133 2017-09-22 New ram configuration (#129) File  Diff  Annotate
52:27692043e962 2017-09-20 Initial commit. File  Diff  Annotate
51:de6c96c52689 2017-03-10 Update JenkinsFile to use CI border router (#60) File  Diff  Annotate
50:5d4045379c2f 2017-03-10 Merge pull request #59 from ARMmbed/IOTTHD-1094 File  Diff  Annotate
49:425a1889434d 2017-03-09 Merge branch 'oob_test_mbed-os-5.4' File  Diff  Annotate
46:178b1dba32cc 2017-02-27 Build against mbed OS 5.4 RC File  Diff  Annotate
45:6127468411fd 2017-02-22 Change 6LP test channel to 17. File  Diff  Annotate
44:253c7094c7e9 2017-02-17 Merge pull request #48 from ARMmbed/6lowpan_filt_traces File  Diff  Annotate
34:bc1827b97c5e 2017-01-17 Use boolean comparison for params.smoke_test File  Diff  Annotate
32:8b28e79d2ed0 2017-01-05 Merge pull request #42 from ARMmbed/jenkinsfile File  Diff  Annotate
30:81d713ba997d 2016-12-21 Merge pull request #38 from ARMmbed/jenkinsfile File  Diff  Annotate
29:cb580ede505b 2016-12-21 Skip Nucleo_F401RE_IAR from Unstash phase. File  Diff  Annotate
27:2b3fc6ca5872 2016-12-01 Merge pull request #33 from ARMmbed/F401RE File  Diff  Annotate
26:b28ab71ff595 2016-11-28 Merge pull request #32 from ARMmbed/smk File  Diff  Annotate
24:671ef092f6ca 2016-11-23 Update JenkinsFile (#31) File  Diff  Annotate
21:6c1e9147037c 2016-10-25 Merge pull request #28 from ARMmbed/add_jenkins_file File  Diff  Annotate