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 https://github.com/ARMmbed/mbed-os-example-mesh-minimal

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.

Setup

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.

Testing

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.

Quote:

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.

Changes

RevisionDateWhoCommit message
133:9266a0884a45 7 days ago mbed_official Check if RELAY pin is configured before controlling (#283) default tip
132:5512a96b34cb 2 weeks ago mbed_official Merge pull request #279 from ARMmbed/fix-smoke
131:c10b52e8a062 3 weeks ago mbed_official add contributing file
130:c095f5d05b5a 3 weeks ago mbed_official Merge branch 'mbed-os-5.13'
129:efd4642eb943 3 weeks ago mbed_official Fixes in README.md and wisun config
128:e7faff9c9fd9 4 weeks ago mbed_official Merge branch 'mbed-os-5.13'
127:d11846b531fd 4 weeks ago mbed_official Update mesh_minimal_startup.py
126:48203bfdf420 8 weeks ago mbed_official Merge pull request #273 from ARMmbed/update_master
125:9b585be8d60f 5 months ago mbed_official Merge pull request #249 from ARMmbed/mbed-os-5.12
124:9dc494407c90 6 months ago mbed_official Update Jenkinsfile (#245)
123:7626a5c3e063 6 months ago mbed_official Add Wi-SUN configurations for CI (#244)
122:3f4c0dce9001 6 months ago mbed_official Updating mbed-os to mbed-os-5.11.5
121:dd070767f365 6 months ago mbed_official Update readme with wi-sun information (#242)
120:fe68bb7d2462 7 months ago mbed_official Updating mbed-os to mbed-os-5.11.4
119:9974bf303a9c 8 months ago mbed_official Add support for KW41Z (#238)
118:3695151e2d1c 8 months ago mbed_official Updating mbed-os to mbed-os-5.11.1
117:c841ae60db06 8 months ago mbed_official Update Jenkinsfile for KW24D (#236)
116:b2f0131722a0 9 months ago mbed_official Merge pull request #235 from ARMmbed/mbed-os-5.11.0-oob
115:833bb975c5e5 9 months ago mbed_official Update Jenkinsfile (#233)
114:c747d245a922 9 months ago mbed_official Update mbedtls configuration - MBEDTLS_GCM_C (#232)
113:057ced25298d 9 months ago mbed_official Update mbedtls config (#231)
112:9822e8712cea 10 months ago mbed_official Updating mbed-os to mbed-os-5.10.4
111:b51a8fd84785 10 months ago mbed_official Update Jenkinsfile (#228)
110:9581ea304a0b 10 months ago mbed_official Updating mbed-os to mbed-os-5.10.3
109:4799ef092b94 10 months ago mbed_official Update Thread NVM handling (#226)
108:eea9985959e3 11 months ago mbed_official Updating mbed-os to mbed-os-5.10.2
107:8a8b62fea37c 11 months ago mbed_official Updating mbed-os to mbed-os-5.10.1
106:18f64141d066 11 months ago mbed_official Fix links in README.md
105:0b691b27144a 11 months ago mbed_official Merge branch 'mbed-os-5.10.0-oob'
104:4ec0b39c2e27 12 months ago mbed_official Updating mbed-os to mbed-os-5.9.7
103:9982165eb577 12 months ago mbed_official Revert "Remove external RF drivers"
102:77951b775883 12 months ago mbed_official Remove sd-driver and update README (#213)
101:eaeb5760ee04 12 months ago mbed_official Remove external RF drivers
100:1d31481a6f93 12 months ago mbed_official Update MCR20 RF-driver (#211)
99:8d5085231b0d 12 months ago mbed_official Add Mbed OS version check to Thread EUI64 trace (#210)
98:99660915c809 12 months ago mbed_official Updating mbed-os to mbed-os-5.9.6
97:6dee44085a18 12 months ago mbed_official Update libraries and traces (#208)
96:9e1b4353cb9b 13 months ago mbed_official Updating mbed-os to mbed-os-5.9.5
95:84e050dc4452 13 months ago mbed_official Updating mbed-os to mbed-os-5.9.4
94:f8ee3aa49905 14 months ago mbed_official Merge pull request #204 from cmonr/master
93:ad53105298ee 14 months ago mbed_official Updating mbed-os to mbed-os-5.9.2
92:66d4b2417747 14 months ago mbed_official Update README known issues
91:6effd7785401 14 months ago mbed_official Update libraries and README
90:0d8804fe2ce2 15 months ago mbed_official Add a configuration option for button mode
89:a6cb6071a3cb 15 months ago mbed_official Updating mbed-os to mbed-os-5.9.1
88:efd11e25f7ec 15 months ago mbed_official Optimize MBEDTLS configuration (#195)
87:a6a7b64f4f48 15 months ago mbed_official Merge remote-tracking branch 'origin/mbed-os-5.9.0-oob'
86:9538c3a75911 15 months ago mbed_official Updating mbed-os to mbed-os-5.8.6
85:7c874d127eff 15 months ago mbed_official Fix links in README.md
84:a6aab25f972d 16 months ago mbed_official Updating mbed-os to mbed-os-5.8.5
83:7880725d9c0b 16 months ago mbed_official Updating mbed-os to mbed-os-5.8.4
82:b88509242f77 16 months ago mbed_official Updating mbed-os to mbed-os-5.8.3
81:8672585ae209 17 months ago mbed_official Updating mbed-os to mbed-os-5.8.2
80:d7d188289d41 17 months ago mbed_official Updating mbed-os to mbed-os-5.8.1
79:4425f61286a3 18 months ago mbed_official Use RAUNI raas daemon.
78:fc7a81fd524c 18 months ago mbed_official Merge branch 'mbed-os-5.8.0-oob'
77:f609f2a25fc5 18 months ago mbed_official Updating mbed-os to mbed-os-5.7.7
76:80858dae382d 18 months ago mbed_official Updating mbed-os to mbed-os-5.7.6
75:9540dacda952 19 months ago mbed_official Merge pull request #173 from adbridge/master
74:977b43c00204 19 months ago mbed_official Updating mbed-os to mbed-os-5.7.4