Roving Networks Bluetooth Serial Adapter User's Guide Page 8

  • Download
  • Add to my manuals
  • Print
  • Page
    / 25
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 7
RN Commands Version 4.25, 11/1/2007 Page 8 of 25
809 University Avenue Los Gatos, CA 95032 1-(408) 395-6539 [email protected]
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.
Page view 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 24 25

Comments to this Manuals

No comments