
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
Revision 1:e06e899acba6, committed 2016-07-27
- Comitter:
- Yogesh Pande
- Date:
- Wed Jul 27 13:49:22 2016 +0300
- Parent:
- 0:7d5ec759888b
- Child:
- 2:14f8ab4b64bc
- Commit message:
- IPv6 depedency removed, udpated README and mbed_app.json
Removing atmel-rf-driver.lib
Changed in this revision
--- a/README.md Mon Jul 25 16:32:20 2016 +0300 +++ b/README.md Wed Jul 27 13:49:22 2016 +0300 @@ -57,6 +57,18 @@ ### 6LoWPAN ND and Thread settings +First you need to select the RF driver to be used by 6LoWPAN/Thread stack. + +For example Atmel AT86RF233/212B driver is located in https://github.com/ARMmbed/atmel-rf-driver + +To add that driver to you application from command line, call: `mbed add https://github.com/ARMmbed/atmel-rf-driver` + +Then you need to enable the IPV6 functionality as the 6LoWPAN and Thread are part of IPv6 stack. Edit the `mbed_app.json` file to add `IPV6` feature: + +``` +"target.features_add": ["CLIENT", "IPV6", "COMMON_PAL"], +``` + 6LoWPAN ND and Thread use IPv6 for connectivity. Therefore, you need to verify first that you have a working IPv6 connection. To do that, ping the Connector IPv6 address `2607:f0d0:2601:52::20` from your network. #### mbed gateway
--- a/atmel-rf-driver.lib Mon Jul 25 16:32:20 2016 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://github.com/ARMmbed/atmel-rf-driver/#4fb763e3a34c8ad501c111c1e007854349ae18ed
--- a/mbed_app.json Mon Jul 25 16:32:20 2016 +0300 +++ b/mbed_app.json Wed Jul 27 13:49:22 2016 +0300 @@ -15,9 +15,9 @@ }, "target_overrides": { "*": { - "target.features_add": ["IPV6", "CLIENT", "IPV4"], + "target.features_add": ["CLIENT", "COMMON_PAL"], "mbed-client.reconnection-count": 3, "mbed-client.reconnection-interval": 5 } } -} +}