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
~ 8 ~
Bluetooth Radio Configuration Commands
***WARNING***
In NO instance should the Baud rate or Parity settings be modified, these are fixed at the proper settings
and changing these settings will cause the BlueSentry to fail power up diagnostics and make the device
inoperable. Use caution when executing the commands.
By using the “x” command, you can access a number of configuration parameters of the Bluetooth radio on the
BlueSentry. For example, you can change the Bluetooth Name, service profile name, pincode, and many other
features. You can also setup the BlueSentry to automatically connect out as a master to a pre-defined Bluetooth
slave (such as roving networks BluePort serial adapter).
The “x” command tunnels a string to the on board Bluetooth module. Commands are entered in the sam e format
as the commands on Roving Networks embedded radios and BluePort serial adapters.
Each time you enter a command, the BlueSentry will disconnect from your remote Bluetooth side, reset the radio,
set the command, and then reset again. You must then re-connect to the BlueSentry. The best way to utilize this
feature is to send the
command: “xST,60”, which will change the remote configuration timer (which allows the Bluetooth radio to accept
configuration over Bluetooth upon powerup) to 60 seconds.
You can then re-connect to the BlueSentry, type “$$$<cr>”, and you will get the full remote configuration menu
of the radio. Once you have completed making configuration changes, you should send the command “ST,0” to
remove the remote configuration
timer (so in the future you can immediately connect to BlueSentry and communicate to the main program upon
power ups) .
For a complete list of commands, refer to the document :
http://www.rovingnetworks.com/documents/BlueportII-ref-guide.pdf
CAUTION: changing the Radio settings can cause your device to act in strange ways or possibly become disabled.
For example, once you set master mode, you cannot connect back into the BlueSentry to reconfigure it, you must
have the BlueSentry connect out to an SPP capable slave device which can run a terminal emulator so you
can remote configure it again.
Differential Mode
By using the “m” command, BlueSentry can be set to operate the AD in differential mode. Default is single ended,
with channels referenced to ground. In differential mode, the channels are paired, 1-2, 3-4, 5-6, 7-8 and the
resulting measurement is the delta between channels. The first channel is +, the second is -. The output data
produced will be a 16 bit value for each pair, for example, if maxchan =4, you will get 2 readings.
Data Rates
BlueSentry acquires signals at about 5Kz per sample. The maximum transfer rate is limited due to the Bluetooth
serial speed of 230Kbps. Although BlueSentry acquires the signals at a much higher rate (5KHz), data is not sent
over the Bluetooth link at this speed. The data from the four channels is multiplexed and sent over the limited
Bluetooth bandwidth of 230kbps. If only one channel is sampled, the output data rate is close to 2kHz, but the
data rate decreases as the number of channels multiplexed are increased.