This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
proiecte:coap-sparrow [2017/01/23 22:48] dan.dragan [Implementation and setup configuration] |
proiecte:coap-sparrow [2017/01/26 23:33] (current) iulia.manda [Porting CoAP on Sparrow v4] |
||
---|---|---|---|
Line 26: | Line 26: | ||
===== Implementation and setup configuration ===== | ===== Implementation and setup configuration ===== | ||
- | The new approach required using Sparrow v4 for all three types of nodes | + | The new approach required using Sparrow v4 for all three types of nodes. Porting the Device and Router applications was not very difficult because the previous model used the same microcontroller, |
+ | On the Coordinator side the effort was more consistent. The figure below shows the new model with a redesigned network. First of all, the build configuration files needed to be rewritten, because of the switch from ARM to AVR, not only for the CoAP application, | ||
{{ :proiecte: coapbaremetal.png? | {{ :proiecte: coapbaremetal.png? | ||
- | = 6LoWPAN mesh network | + | |
+ | 6LoWPAN | ||
In order to set up a new Sparrow wireless sensor network using COAP the following instructions should be used: | In order to set up a new Sparrow wireless sensor network using COAP the following instructions should be used: | ||
Line 77: | Line 81: | ||
sudo ~/ | sudo ~/ | ||
</ | </ | ||
+ | |||
+ | The image below represents the output of a serial monitoring of the Coordinator when three other Sparrow nodes joined the network. The Coordinator assigns MAC addresses and short addresses to the routers and devices and registers them in a children table. | ||
{{ :proiecte: serialmonitor.png | Serial monitor for Coordinator}} | {{ :proiecte: serialmonitor.png | Serial monitor for Coordinator}} | ||
- | = Serial monitor output for a Sparrow Coordinator = | ||
+ | The below topology presents a coordinator, | ||
+ | |||
{{ :proiecte: topology.jpg? | {{ :proiecte: topology.jpg? | ||
- | = Sparrow CoAP topology with a Coordinator, | ||
===== Resources ===== | ===== Resources ===== | ||
* [1] https:// | * [1] https:// | ||
+ | * [2] Jonas Olsson, 6LoWPAN demystified, | ||
+ | * [3] https:// |