BlueSnap
Commands Version 4.81SIO, 1/20/2016 Page 7 of
27
Cedar Park, TX, USA
•
(512) 994-3630
•
www.serialio.com
NOTE: for the purpose of configuration above, the swithes/IO pins are sampled ONLY at power up
time, (during the first 500milliseconds) so they can be used for other functions once the device is in
operation. The exception is the factory reset switch/PIO, which once enabled, can be toggled at any
time after powerup, a total of 3 transitions will cause the factory reset to occur.
4. Command Reference
The commands are all single or 2 character, generally comma delimited. Commands and hex input data can be
upper or lower case. Text data, such as Bluetooth name, and pin code, are case sensitive. Commands fall into 4
general categories:
SET COMMANDS
- Store information permanently and take effect after power cycle or software reset.
GET COMMANDS
- Retrieve the permanently stored information for display to the user.
CHANGE COMMANDS
– Temporarily change the value of serial baudrate, parity, etc.
ACTION COMMANDS
– Perform action such as inquiry, connect, etc.
SET COMMANDS
S7,<1,0>
7 bit data mode. 1 to enable, 0 to disable. (setting can be seen with the “d” command).
SA,<1,0>
Authentication. 1 to enable, 0 to disable. This will force authentication when any remote
device attempts to connect. Regardless of this setting, if a remote device forces
authentication, this device will respond with the stored pin code. Once a remote device
has exchanged pin codes with this device, a link key will be stored for future use. Up to 8
keys are automatically and permanently in flash on the device, in a first in, first out
fashion.
SB,<timer>
Send BREAK. This is an immediate command, which can send a BREAK signal on the
TX . The timer is used to send a variable length BREAK signal.
Timer value
Break length (in milliseconds)
1= 37ms, 2=18.5ms, 3=12ms, 4=9ms, 5= 7ms, 6=6ms.
Example :
“SB,2”
sends a 18.5 millisecond break signal.
SC,<hex word>
Service Class ( 16 bits, 11 used, this is used with Device Class below to create the 24
bit class of device number.
Example :
“SC,0002”
SD,<hex word>
Device Class (major and minor in a 16bit word, used with service class above)
Example :
“SD,8040”
SE,<1,0>
Encryption 1 to enable, 0 to disable.