Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
livebox:hah_hahnode:nanode_gateway [2013/06/02 05:02] – brett | livebox:hah_hahnode:nanode_gateway [2014/01/20 09:11] (current) – [Operation] brett | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Nanode Gateway ====== | ====== Nanode Gateway ====== | ||
- | {{ : | + | The Nanode is an RF enabled, and Ethernet enabled, AVR328P boards using the same development tools as the Arduino. |
- | What this does is it accepts an RF packet and dump the same format xAP message onto the Ethernet as the [[livebox/xap_serial]] program would do. | + | They are available for purchase here: http://shop.nanode.eu/ |
- | Which means this one embedded device can replace the base jeenode + xap-serial running on the livebox | + | {{: |
+ | |||
+ | source: {{: | ||
+ | ===== Architecture ===== | ||
+ | |||
+ | How we are going to use this is to have it pretend to be an [[livebox/ | ||
+ | |||
+ | This one embedded device can replace the base jeenode + xap-serial running on the livebox. The diagram below shows on the left the traditional Livebox | ||
{{: | {{: | ||
- | As this device is acting as a pseudo xap-serial service it will transmit a packet conforming to the xAP Serial | + | It does this by acting as a pseudo xap-serial service, however |
- | Once the firmware is flashed the only details that requires configuration are the NODE ID, Group and RF Frequency these must be done via the serial interface use to flash the device. | + | ===== Operation ===== |
- | Once operational | + | Once the firmware is flashed, the only details that require configuration are the NODE ID, Group and RF Frequency. These must be done via the serial interface used to flash the device. |
+ | |||
+ | Once operational, it will transmit onto the Ethernet | ||
< | < | ||
xap-hbeat | xap-hbeat | ||
Line 26: | Line 35: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | An RF packet that can be decoded will be emitted using the pseudo port / | ||
+ | < | ||
+ | xap-header | ||
+ | { | ||
+ | v=12 | ||
+ | hop=1 | ||
+ | uid=FFABCD00 | ||
+ | class=Serial.Comms | ||
+ | source=dbzoo.nanode.gateway | ||
+ | } | ||
+ | Serial.Received | ||
+ | { | ||
+ | port=/ | ||
+ | data=OK 3 50 1 178 0 | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Integration into the [[livebox/ | ||
+ | < | ||
+ | function init() | ||
+ | | ||
+ | { [2] = RoomNode{deviceid=" | ||
+ | [3] = RoomNode{deviceid=" | ||
+ | [4] = RoomNode{deviceid=" | ||
+ | [5] = RoomNode{deviceid=" | ||
+ | [7] = RoomNode{deviceid=" | ||
+ | }) | ||
+ | end | ||
+ | </ | ||
+ | |||
+ | This configuration can be seen in the xFxViewer output with corresponding nanode gateway packets also being shown. | ||
+ | |||
+ | {{: | ||