Nano-RK

Wiki

Before you begin, make sure that you have a Sensor Andrew JID and password that the gateway client can login as and use to run the subnet. Make sure that the subnet part of the MAC addresses you are using are unique. The gateway JID will automatically create event nodes if they don't already exist and publish data to them. If these nodes already exist, make sure that the gateway JID has publish permissions for them. In order for Sensor Andrew to log data, you must obtain a unique registry ID from the Sensor Andrew database registry.

To compile SAMPL with Sensor Andrew support, you must include the SOX (Sensor Over XMPP) library. This can be found here:svn checkout svn://sensor.andrew.cmu.edu:/srv/svn/repos/sensor-andrew

This file contains the XMPP configuration used to set the gateway's Sensor Andrew JID and password. This is not required unless XMPP support is enabled.

registry.txt

This file contains the Sensor Andrew registry ID values that should be sent with each XMPP message for database logging. This is not required unless XMPP support is enabled. This is only required for XMPP support.

subscribe-nodes.txt

This file should contain the event-nodes of any devices that require external actuation. The gateway will subscribe to these nodes so that it receives any incoming actuation commands or configuration messages.

To test the new subnet, run the gateway_client without connecting to Sensor Andrew follows