Brainboxes BL-819, BL-830 manual Command Interface, e.g. svc?CR

Page 27
4.3. Command Interface

4.3. 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 HyperTerminal) command driven interface in it’s own right. Additionally, the commands can be placed in a Text/script file and sent (e.g. by HyperTerminal) 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 HyperTerminal 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

Command

Description

Name

 

Name

 

aset

Get all settings

padd

Partner Address

btset

Get current Bluetooth settings

pair

Pair

cnx

Manually connect to a found device

parkset

Park Settings

cod

Class Of Device

part

Partner

cset

Communication Settings

pin

PIN code

delpair

Delete the current pair

pnam

Partner Name

delpart

Delete the current Partner

prox

Set the proximity mode

dflt

Default settings

remcfg

Remote Configuration

disc

Discoverability

scr

Script Mode

enc

Encryption

sec

Security

find

Manually perform an inquiry

sniffset

Sniff Settings

help or ?

Help

switchrole

Switch Role On / Off

hsk

Handshaking

svc

Connect Using profile other than SPP

ladd

Local device address

svr

Server or Client

list

List the manually-found devices

upg

Prepare for upgrading

lowpwr

Low Power Mode

ver

F/W app version

lnam

Local device name

verb

Verbose

menu

Display Menu

 

 

The full command list syntax and programming examples will be given in a future edition of this manual. In the meantime, this information can be found using the help or ? command in HyperTerminal when your Adapter is attached to an available COM port.

Manual for BL-819 / 830

© Copyright Brainboxes Limited 2005

Page 27 of 41

Image 27
Contents Product Manual VersionRS232 Bluetooth Adapters BL-8192.1. BL-819 14. REGULATORY INFORMATION 11. CUSTOM FACTORY CONFIGURATION12. TROUBLESHOOTING 13. TECHNICAL SPECIFICATIONS1. Introduction 1.1. Preamble1.2. Products and Firmware 2.1. BL-819 2. Physical Product Features2.2. Comparison of BL-819 and BL-830 Features 2.3. BL- 819 / 830 Power Options3. Product Configuration 3.1. Configuration features at a glance3.2. Installing the Configuration Applications 3.3. Opening the Configuration Applications 3.4. Using the Configuration WizardPage 7 of There are two types of handshaking RTS/CTS and DTR/DSR The Low power modes can be turned on or off here Page 10 of 3.5. Using the Configuration Utility3.5.1. Device Info 3.5.2. Port Settings 3.5.3. Support/LinksStop Bits 3.6. Current SettingsBaud Rate ParityPIN Code Client/ServerPartner Device Page 14 of Connect UsingDiscoverability 3.7. Advanced SettingsDevice Address Device NameWho can Connect? Who can Pair?Who can it connect to? Possible useConnect Scheme Switch RoleClass of Device HandshakingLow Power Mode Interactive MenuPage 18 of 3.8. Default settings 3.9. Upgrade DevicePage 19 of 4.1. Accessing the configuration menus and commands 4. Alternative Product Configuration4.2.1. Navigation 4.2. Configuration Menu4.2.2. Main Menu 4.2.3. Communications ParametersPage 22 of 4.2.4. Handshaking 4.2.5. Bluetooth Parameters4.2.6. Display, Restore and Update Current and Factory Settings Page 25 of 4.2.7. Disabling Interactive Menu4.2.8. Upgrading Firmware e.g. svc?CR 4.3. Command Interface6. Resetting the Product 5. Remote Configuration7. Upgrading your device Then Click “Next” A progress bar indicates how the procedure is going 8.1. Configuring the communications parameters 8. Physically connecting to your RS232 device9.1. Client/Server Pair “Cable Replacement” 9. Connecting adapters over Bluetooth9.1.3. Configuration by Commands 9.1.2. Configuration by Menu9.3.3. Discover the device 9.3. Server Connecting to adapter from a remote Bluetooth device9.3.1. Configure and connect the adapter 9.3.2. Bluetooth Enable your PC9.3.5. Connect to the Serial Port profile 9.3.4. Secure the relationship11. Custom Factory Configuration 10. Worked Examples10.1. Scientific equipment data logging 12. Troubleshooting 13. Technical Specifications 13.2. Power requirements13.1. Storage and Operating Environment 14.3. Rest of World 14. Regulatory Information14.1. Europe - EU Declaration of Conformity 14.2. Important Notice for use in France and ItalyAuthor Version HistoryVersion Date