User manual
BlueSentry User Manual
www.rovingnetworks.com
BlueSentry-um Version 1.0 3/12/2010
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 7 ~
Operation
Once connected to BlueSentry over Bluetooth SPP, you are ready to acquire data. The following commands listed
below can be used to operate the unit. Each command is a single character. Results are immediate, however, any
commands given do not survive a power cycle and must be re-issued if the unit is powered down or rebooted
remotely. The ? sign will show on your terminal emulator about once every two seconds, telling you that
BlueSentry is ready for your command. To start getting output, just send the $ sign.
List of commands
Command Description Default
$ Toggle AD continuous output
! stop AD continuous output
* perform a single acquisition
+ speed up the rate (max rate is 18000/ 0x12 = 1KHz on1 ch, Fast ASCII
mode)
18000
0
ܺ
4650
=
1
.
00
ܪݖ
- slow down the acquire rate
, set comma delimited output in ASCII/ mode space delimited
1,2,3,4,5,6,7,8
set the number of channels desired Channel 4
<XY set the channel mask a bitmap of channels to sample 00
a set output mode to ASCII fast mode off
b set output mode to BINARY
c toggle output FAST mode (no start header ,sequence number, or
space/comma)
d set an exact delay value ( enter 4 hex digits, A-F or a-f is ok ex: F3A4)
e echo character back (to test the link)
f send data at the maximum frequency
g display settings, channel, speed, mode, io ports and power info
i read GPIO port, format returned is XY, only lower 2 bits of the byte are
valid
k XY set the counter mode mask 00
m toggle AD mode from single ended to differential single ended
n display unit serial number (this is also the Bluetooth address)
o XY set GPIO. format = oXY, X=in/out mask (1=out, 0=in), Y=value.
(ex: o11 sets IO1= output=5V, o20 sets IO2=output=0V, o00 sets back
to an input )
p X Set Power outputs, Power1=bit 0, Power2=bit1, example p 1 turns ON
power 1,
p2 turns on power 2, p3 turns on both, p0 turns off both
q toggle sending the “?” prompt every second.
r Reset to default values (delay, channels, mode, does not reset sleep or
UP timers )
s sleep(unit will disconnect, and will wake up when re-connected)
t xx sleep after XX(hex) seconds of no activity (enter 00 to disable sleep)
u display elapsed UP timer since power up reset in days, hours, minutes,
seconds
v display version info
y XY Set the threshold value for counter mode 80 hex = 2.5Volts
z reset elapsed UP timer to zero.
X <string> Send Bluetooth Radio configuration commands (CAUTION: see section
below)