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 05:07] – brett | livebox:hah_hahnode:nanode_gateway [2013/06/02 05:34] – 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/ | + | {{:livebox: |
- | This one embedded device can replace | + | How we are going to use this it to have it pretend to be an [[livebox/ |
- | Here is a 20,000 ft view of how it fits into the network. | + | ===== Architecture ===== |
+ | |||
+ | This one embedded device can replace the base jeenode + xap-serial running on the livebox. | ||
{{: | {{: | ||
This device acts as a pseudo xap-serial service and will transmit a packet conforming to the xAP Serial Schema, however as its not been programmed to be a true xap-serial device it will only generate Serial.Received class messages. | This device acts as a pseudo xap-serial service and will transmit a packet conforming to the xAP Serial Schema, however as its not been programmed to be a true xap-serial device it will only generate Serial.Received class messages. | ||
+ | |||
+ | ===== 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 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. | ||
Line 28: | Line 32: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | 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. | ||
+ | |||
+ | {{: | ||