livebox:hah_hahnode:bluenode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
livebox:hah_hahnode:bluenode [2014/02/18 10:36] – [BlueNode] minerva9livebox:hah_hahnode:bluenode [2014/02/18 10:40] – [Data Flow] minerva9
Line 8: Line 8:
 ===== Theory of operation ===== ===== Theory of operation =====
  
-The BlueTooth unit is connected to a JeeNode and it will perform an inquiry check for available devices every 30 seconds.  As each device reports in, its device ID will be transmitted via the RFM12B. A total of 6 bytes are needed to represent the 48 bit address, to a receiving unit.+The Bluetooth unit is connected to a JeeNode and it will perform an inquiry check for available devices every 30 seconds (adjustable).  As each device reports in, its device ID will be transmitted via the RFM12B. A total of 6 bytes are needed to represent the 48 bit address, to a receiving unit.
  
 On the receiver side the RF is decoded and transmitted as an ASCII string out the serial port for decoding. On the receiver side the RF is decoded and transmitted as an ASCII string out the serial port for decoding.
Line 14: Line 14:
 [[livebox/xap_serial]] will pickup the serial transmission from our receiver node and transmit this data as an xAP message for decoding. [[livebox/xap_serial]] will pickup the serial transmission from our receiver node and transmit this data as an xAP message for decoding.
  
-The decoder is an Lua applet that creates a BSC endpoint dynamically sending a xAPBSC ON event when the device is first registered.  As long as the device updates itself within 35 seconds, the endpoint will remain alive.  When the device moves out of range a reaper will take care of expiring the endpoint sending an xAPBSC OFF event and removing the endpoint.+The decoder is Lua applet that creates a BSC endpoint dynamically sending a xAPBSC ON event when the device is first registered.  As long as the device updates itself within 35 seconds, the endpoint will remain alive.  When the device moves out of range a reaper will take care of expiring the endpoint sending an xAPBSC OFF event and removing the endpoint.
  
 These on/off events can then be used by other scripts to drive an action. These on/off events can then be used by other scripts to drive an action.
Line 22: Line 22:
 ===== Data Flow ===== ===== Data Flow =====
  
-With Serial debugging enable on the bluenode sketch this is the sample output.+With Serial debugging enabled on the bluenode sketch this is the sample output.
 <code> <code>
 [BlueNode.1] - RF disabled [BlueNode.1] - RF disabled
  • livebox/hah_hahnode/bluenode.txt
  • Last modified: 2014/02/18 10:42
  • by minerva9