Configuration - Serialio BlueSnapXP User Manual

Bluetooth serial module command set
Table of Contents

Advertisement

BlueSnap Commands Version 4.81SIO,
1/20/2016
Page 5 of
27
line on the BlueSnap. Setting the DTR line high will initiate the auto-connect process, and
turning it off/low will cause a disconnect.
5-Auto-connect ANY Mode- This mode must be set by command. This mode operates like
mode 4 DTR mode, except that each time the Switch/PIO is set, an inquiry is performed and
the first device found is connected. The stored address is NOT used, and the found address is
never stored.

3. Configuration

Command Mode (vs Normal Data mode)-
Upon powerup, the device will be in data mode.
To enter
command mode, The characters "$$$" must be sent. The device will respond with "CMD". To exit
command mode, send "---<cr>". The device will respond with "END".
Parameters, such as the Bluetooth Name, Class of Device and Serial Port settings can be viewed and
configured. This can be done locally through the serial port UART or from a remote Bluetooth RF link.
To access configuration, the device must be in command mode by issuing ($$$). While in command
mode, the device will accept ASCII bytes as commands.
3.1 LOCAL CONFIGURATION (via serial port)
Use a normal RS-232 pass through cable from PC passing ASCII characters through the terminal to the
BlueSnap. The communications settings should match the settings used when
BlueSnap
connects, for
example: the default is 115,200bps, 8 bits, No Parity, 1 stop bit, and hardware flow control disabled.
Local configuration works at any time when the device does NOT have a Bluetooth connection, and also
works under certain conditions when the device is connected (see the table below).
If the device is in
configuration mode and a connection occurs, the device will exit configuration mode, and data will pass
back and forth from the remote device.
Run your favorite terminal emulator, HyperTerminal or other program. Type "$$$" on your screen. You
should see "CMD" returned to you. This will verify that your cable and comm. settings are correct. Valid
commands will return an "AOK", response, and invalid ones will return "ERR ". Commands that are not
recognized will return a "?".
To exit command mode, type "---"<cr>. (three minus signs).
NOTE1 : You can enter command mode locally over the serial port at any time when not connected.
Once a connection is made, you can only enter command mode if the config timer has not expired.
To enable continuous configuration, set the config timer to 255. Also, if the device is in Auto Master
mode 3, you will NOT be able to enter command mode when connected over Bluetooth.
3.2 REMOTE CONFIGURATION (via Bluetooth)
It is often useful to be able to perform configuration remotely over a Bluetooth connection. To do this,
connect to the device over Bluetooth, and using your terminal emulator, perform the same steps as you
www.serialio.com
Cedar Park, TX, USA
(512) 994-3630
sales@serialio.com

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BlueSnapXP and is the answer not in the manual?

This manual is also suitable for:

Bluesnap-standardBluesnap-9v serial adapters

Table of Contents