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.

Revisions of mbed-os.lib

Revision Date Message Actions
128:e7faff9c9fd9 4 weeks ago Merge branch 'mbed-os-5.13' File  Diff  Annotate
126:48203bfdf420 2 months ago Merge pull request #273 from ARMmbed/update_master File  Diff  Annotate
125:9b585be8d60f 5 months ago Merge pull request #249 from ARMmbed/mbed-os-5.12 File  Diff  Annotate
122:3f4c0dce9001 6 months ago Updating mbed-os to mbed-os-5.11.5 File  Diff  Annotate
120:fe68bb7d2462 7 months ago Updating mbed-os to mbed-os-5.11.4 File  Diff  Annotate
118:3695151e2d1c 8 months ago Updating mbed-os to mbed-os-5.11.1 File  Diff  Annotate
116:b2f0131722a0 9 months ago Merge pull request #235 from ARMmbed/mbed-os-5.11.0-oob File  Diff  Annotate
112:9822e8712cea 10 months ago Updating mbed-os to mbed-os-5.10.4 File  Diff  Annotate
110:9581ea304a0b 10 months ago Updating mbed-os to mbed-os-5.10.3 File  Diff  Annotate
108:eea9985959e3 11 months ago Updating mbed-os to mbed-os-5.10.2 File  Diff  Annotate
107:8a8b62fea37c 11 months ago Updating mbed-os to mbed-os-5.10.1 File  Diff  Annotate
105:0b691b27144a 12 months ago Merge branch 'mbed-os-5.10.0-oob' File  Diff  Annotate
104:4ec0b39c2e27 12 months ago Updating mbed-os to mbed-os-5.9.7 File  Diff  Annotate
98:99660915c809 12 months ago Updating mbed-os to mbed-os-5.9.6 File  Diff  Annotate
96:9e1b4353cb9b 13 months ago Updating mbed-os to mbed-os-5.9.5 File  Diff  Annotate
95:84e050dc4452 13 months ago Updating mbed-os to mbed-os-5.9.4 File  Diff  Annotate
94:f8ee3aa49905 14 months ago Merge pull request #204 from cmonr/master File  Diff  Annotate
93:ad53105298ee 14 months ago Updating mbed-os to mbed-os-5.9.2 File  Diff  Annotate
89:a6cb6071a3cb 15 months ago Updating mbed-os to mbed-os-5.9.1 File  Diff  Annotate
87:a6a7b64f4f48 15 months ago Merge remote-tracking branch 'origin/mbed-os-5.9.0-oob' File  Diff  Annotate
86:9538c3a75911 15 months ago Updating mbed-os to mbed-os-5.8.6 File  Diff  Annotate
84:a6aab25f972d 16 months ago Updating mbed-os to mbed-os-5.8.5 File  Diff  Annotate
83:7880725d9c0b 16 months ago Updating mbed-os to mbed-os-5.8.4 File  Diff  Annotate
82:b88509242f77 16 months ago Updating mbed-os to mbed-os-5.8.3 File  Diff  Annotate
81:8672585ae209 17 months ago Updating mbed-os to mbed-os-5.8.2 File  Diff  Annotate
80:d7d188289d41 17 months ago Updating mbed-os to mbed-os-5.8.1 File  Diff  Annotate
78:fc7a81fd524c 18 months ago Merge branch 'mbed-os-5.8.0-oob' File  Diff  Annotate
77:f609f2a25fc5 18 months ago Updating mbed-os to mbed-os-5.7.7 File  Diff  Annotate
76:80858dae382d 18 months ago Updating mbed-os to mbed-os-5.7.6 File  Diff  Annotate
75:9540dacda952 19 months ago Merge pull request #173 from adbridge/master File  Diff  Annotate
74:977b43c00204 19 months ago Updating mbed-os to mbed-os-5.7.4 File  Diff  Annotate
71:2bdd3d6dd4bd 20 months ago Updating mbed-os to mbed-os-5.7.3 File  Diff  Annotate
70:a7e58f0d7976 20 months ago Updating mbed-os to mbed-os-5.7.2 File  Diff  Annotate
68:2330fbeb4926 21 months ago Merge branch 'mbed-os-5.7.0-oob' File  Diff  Annotate
67:73cfd381f443 21 months ago Updating mbed-os to mbed-os-5.6.6 File  Diff  Annotate
65:cb583d690d43 22 months ago Updating mbed-os to mbed-os-5.6.5 File  Diff  Annotate
64:b5090f16465a 22 months ago Updating mbed-os to mbed-os-5.6.5 File  Diff  Annotate
62:014342318d8c 22 months ago Updating mbed-os to mbed-os-5.6.4 File  Diff  Annotate
61:46881bb1a350 23 months ago Updating mbed-os to mbed-os-5.6.3 File  Diff  Annotate
60:92393a6d2321 23 months ago Updating mbed-os to mbed-os-5.6.2 File  Diff  Annotate
58:e0f2bf24e6db 23 months ago Updating mbed-os to mbed-os-5.6.1 File  Diff  Annotate
57:1dd1fb564a54 23 months ago Updating mbed-os to mbed-os-5.6.0 File  Diff  Annotate
52:27692043e962 2017-09-20 Initial commit. File  Diff  Annotate
49:425a1889434d 2017-03-09 Merge branch 'oob_test_mbed-os-5.4' File  Diff  Annotate
47:287f13e4a4d9 2017-02-28 Merge pull request #51 from adbridge/master File  Diff  Annotate
41:e7977993588a 2017-02-15 Merge pull request #47 from 0xc0170/master File  Diff  Annotate
39:f521eca7973d 2017-02-01 Merge pull request #44 from adbridge/master File  Diff  Annotate
38:ea6124437f88 2017-02-01 Revert "test of NCS36510 as Thread Routing Node" File  Diff  Annotate
37:da3afe046413 2017-02-01 test of NCS36510 as Thread Routing Node File  Diff  Annotate
35:ee28208a184f 2017-01-17 Merge pull request #43 from adbridge/master File  Diff  Annotate
33:9a6315c098e4 2017-01-09 Update atmel RF driver File  Diff  Annotate
31:abd89dbbc626 2016-12-23 Merge pull request #39 from adbridge/master File  Diff  Annotate
28:cba5aec18a00 2016-12-16 Merge branch 'mbed-os-5.3-rc' File  Diff  Annotate
25:378e726d0d54 2016-11-23 Merge pull request #30 from adbridge/master File  Diff  Annotate
23:de4b4921f57e 2016-11-14 Merge pull request #29 from adbridge/master File  Diff  Annotate
22:4487a636b46f 2016-10-28 Updating mbed-os to mbed-os-5.2.1 File  Diff  Annotate
20:fe62e41e48db 2016-10-24 Updating mbed-os to mbed-os-5.2.0 File  Diff  Annotate
19:f55c7983f8ab 2016-10-21 Updating mbed-os to mbed-os-5.2.0-rc4 File  Diff  Annotate
18:d4ed4c1a414b 2016-10-05 Updating mbed-os to mbed-os-5.1.5 File  Diff  Annotate
17:ee2610e1cb78 2016-10-02 Merge pull request #22 from ARMmbed/mbed-os-5.2-rc File  Diff  Annotate