RN Commands Version 4.25, 11/1/2007 Page 8 of 25
www.rovingnetworks.com
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.
SF,1 - Set Factory Defaults.
SI, <hex word> - - Inquiry Scan Window. Sets amount of time device spends enabling inquiry scan
(discoverability) . Minimum value is 0x0012, corresponding to about 1% duty cycle.
Inquiry interval is fixed at 0x1000, so time spent in inquiry is 0x12/0x1000 by default.
Comments to this Manuals