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:bluenode [2014/02/05 01:05] – [Configuration] brett | livebox:hah_hahnode:bluenode [2014/02/12 09:44] – [Theory of operation] 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. | + | The BlueTooth unit is connected to a JeeNode and it will perform an inquiry check for available devices every 30 seconds. |
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 21: | Line 21: | ||
===== Data Flow ===== | ===== Data Flow ===== | ||
+ | |||
+ | With Serial debugging enable on the bluenode sketch this is the sample output. | ||
+ | < | ||
+ | [BlueNode.1] - RF disabled | ||
+ | SYNC> AT | ||
+ | OK | ||
+ | SYNC> AT+NAME=blueNode | ||
+ | OK | ||
+ | SYNC> AT+ROLE=1 | ||
+ | OK | ||
+ | SYNC> AT+INIT | ||
+ | ERROR:(17) | ||
+ | SYNC> AT+INQM=0, | ||
+ | OK | ||
+ | ASYNC> AT+INQ | ||
+ | OK | ||
+ | +INQ: | ||
+ | device=12: | ||
+ | OK | ||
+ | </ | ||
+ | The ERROR:(17) can be safely ignore that just means the SPP profile lib has already been initialized. | ||
+ | You will notice the RF module is disable, that due to me running the bluetooth device attached to my arduino which does not have any RF device on it so I disabled that code whilst testing. | ||
A packet will arrive on the Receiver. | A packet will arrive on the Receiver. |