
Advanced User Manual
www.rovingnetworks.com
rn-bluetooth-um Version 4.77 11/21/2009
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 8 ~
4 Command Reference
All commands are either one or two characters and can be upper or lower case. Arguments for commands are
delimited by a comma. Commands take decimal input except where noted. Text data, such as Bluetooth
name, and pin code, are case sensitive. Commands fall into five general categories:
SET COMMANDS store information to flash, changes take effect after power cycle or reboot
GET COMMANDS retrieve and display the stored information
CHANGE COMMANDS temporarily change the value of serial baudrate, parity, etc.
ACTION COMMANDS perform action such as inquiry, connect, etc.
GPIO COMMANDS configure and manipulate GPIO signals
1.2 SET Commands
All set commands do not take effect until after the module has been rebooted.
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 (four hex values, 11 used, this is used with Device Class command
below to create the 24 bit Class of Device number. Note the service class is
interpreted by the inquiring device to determine the service. To see a complete
listing of available Bluetooth service classes check the Bluetooth SIG web site.
Example : “SC,0002”
SD,<hex word> Device Class (four hex values, major and minor in a 16 bit word, used with service
class above)
Example : “SD,8040”
To set the Class of Device (COD) to 0x1F0123 use the commands
Kommentare zu diesen Handbüchern