Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
livebox:hah_hahnode:nanode_gateway [2013/06/02 04:54] – brett | livebox:hah_hahnode:nanode_gateway [2013/06/03 12:59] – [Architecture] minerva9 | ||
---|---|---|---|
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 | ||
{{: | {{: | ||
+ | |||
+ | It does this by acting as a pseudo xap-serial service, however it will only generate Serial.Received class messages (for now). | ||
+ | |||
+ | ===== Operation ===== | ||
+ | |||
+ | 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. | ||
+ | |||
+ | Once operational it will transmit onto the Ethernet a xAP heartbeat every minute to let you know its alive. | ||
+ | < | ||
+ | xap-hbeat | ||
+ | { | ||
+ | v=12 | ||
+ | hop=1 | ||
+ | uid=FFABCD00 | ||
+ | class=xap-hbeat.alive | ||
+ | source=dbzoo.nanode.gateway | ||
+ | interval=60 | ||
+ | port=0 | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | 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{base=" | ||
+ | [3] = RoomNode{base=" | ||
+ | [4] = RoomNode{base=" | ||
+ | [7] = RoomNode{base=" | ||
+ | }) | ||
+ | end | ||
+ | </ | ||
+ | |||
+ | This configuration can be seen in the xFxViewer output with corresponding nanode gateway packets also being shown. | ||
+ | |||
+ | {{: | ||
+ |