Command Interface - Brainboxes BL-819 Product Manual

Rs-232 bluetooth adapters
Hide thumbs Also See for BL-819:
Table of Contents

Advertisement

1.14. Command Interface

This interface has been developed primarily to support programming access to the configuration settings by an application
such as our own configuration application, but can also offer a powerful human operated (e.g. via PuTTY) command driven
interface in its own right. Additionally, the commands can be placed in a Text/script file and sent (e.g. by PuTTY) in one go to
the adapter. The "scr" command is strongly recommended for use in this scenario.
The command interface protocol is quite straightforward. Each command (see table and descriptions below) must be sent
over the COM port, followed by a Carriage return <CR>. This can be done in PuTTY just by typing each command and hitting
the Enter key.
There are up to 3 ways each command can be used.
1. On its own. This acts as a "query" command.
E.g. cod<CR>
Returns the current device class
2. With an "=" and parameter(s). This acts as a "set" command
E.g. cset=9600,n,1<CR>
Sets the current settings to 9600 baud, No Parity and 1 Stop Bit
Not all commands support this function as they are query commands only
3. With a "?" which acts as a "help" command
E.g. svc?<CR>
Returns a description of the command syntax and allowable parameters
The command list summary is given below.
Command
Description
Name
aset
Get all settings
btset
Get current Bluetooth settings
cnx
Manually connect to a found device
cod
Class Of Device
cset
Communication Settings
delpair
Delete the current pair
delpart
Delete the current Partner
dflt
Default settings
disc
Discoverability
enc
Encryption
find
Manually perform an inquiry
help or ?
Help
hsk
Handshaking
ladd
Local device address
list
List the manually-found devices
lowpwr
Low Power Mode
lnam
Local device name
menu
Display Menu
This information can be found using the help or '?' command in PuTTY when your Adapter is attached to an available COM
port.
Manual for BL-819, BL-830, BL-875
V6.1
Command
Name
padd
pair
parkset
part
pin
pnam
prox
remcfg
scr
sec
sniffset
switchrole
svc
svr
upg
ver
verb
© Copyright Brainboxes Ltd
Description
Partner Address
Pair
Park Settings
Partner
PIN code
Partner Name
Set the proximity mode
Remote Configuration
Script Mode
Security
Sniff Settings
Switch Role On / Off
Connect Using profile other than SPP
Server or Client
Prepare for upgrading
F/W app version
Verbose
Page 25 of 40

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bl-830Bl-875

Table of Contents