Brainboxes BL-819, BL-830 Switch Role, Class of Device, Handshaking, Connect Scheme, Page 17 of

Page 17
Switch Role

Switch Role

This Function will allow an RS-232 Bluetooth Adapter to connect to another device as a Client, then when the connection has been made, to switch the role to Server. This option is required if you wish to connect two or more adaptors to a control device, with the adaptors initiating the connection. NB, the adaptors are only capable of being connected to one other device at time.

Class of Device

Some remote device applications will only communicate to devices of a certain type. This option allows you to reconfigure your RS-232 Bluetooth Adapter to appear as a number of different device types. The Factory setting for the Class of device is “Peripheral”. The available options are: Peripheral, Desktop, Laptop, Imaging, Phone/Modem and LAN.

IMPORTANT NOTE: Changing this Class of Device setting does not alter the published functionality of the product. It will continue to offer ONLY One Serial port profile connection.

Handshaking

This setting allows the user to select the handshaking scheme used for the device. By default the setting is no handshaking. Handshaking options are RTS/CTS, DTR/DSR, RTS/CTS & DTR/DSR or none. When changing between handshaking options, a power cycle is required before the configuration utility can be re-accessed.

RTS/CTS handshaking is used between the Adapter and the port to which it is connected (hardware handshaking). DTR/DSR handshaking is used over the Bluetooth connection between the adapter and the device to which it is connected via Bluetooth (over-the-air handshaking).

As shipped from the factory, this product is configured NOT to require the use of RTS/CTS handshaking. Its implementation is such that these control signals are NOT transferred over the Bluetooth link, but instead are used to control the passage of data between the adapter and the physically connected RS232 device (PC, modem etc). It is therefore not possible to use this product in an application that uses the RTS and/or CTS handshake lines for purposes other than simply to control the flow of data.

Whilst the Adapter is configured NOT to require RTS/CTS handshaking, some devices to which it may be connected will require this flow control. If this is the case, unless the following procedures are undertaken the Adapter will not send any data and the communications between the 2 devices will appear corrupt or broken.

Whilst the product ships without handshaking to make initial configuration easier, Brainboxes do not recommend that you leave RTS/CTS handshaking disabled unless you are connecting the Adapter to a device that specifically does not use any itself. This handshaking exists to ensure that no data is lost between the 2 devices. In applications where there is a significant amount of data flowing between devices, there is an increased risk of data being lost. Disabling handshaking unnecessarily may cause your application to fail intermittently due to this lost data.

No provision has been made in the current design for the implementation of the DCD and RI lines.

Connect Scheme

This allows the selection of a connection scheme called Proximity. This connection scheme tells the adapter to go out, find the first Bluetooth device in range and connect to that device. If there are any problems connecting or pairing, then the adapter will give up and go out to search again.

There are two different proximity schemes, 1 and 2. Scheme 1 finds a device to connect to and then saves that device’s address as it’s partner device, so that the next time the adapter is powered up, it will always connect to that partner device. Scheme 2 finds a device to connect to and doesn’t save that device’s address, so that next time the adapter is powered up, it will go out and find a new device to connect to again. It may be the same device as last time (if it is still in range) or it may be a new device.

The closest device to the adapter is not necessarily going to be the device that responds to the inquiry first. The adapter needs to be in Client mode for Proximity to work and as soon as a partner address is populated in the partner address field, the adapter behaves just as though it is in Client mode with a partner device to connect to.

Manual for BL-819 / 830

© Copyright Brainboxes Limited 2005

Page 17 of 41

Image 17
Contents RS232 Bluetooth Adapters VersionBL-819 Product Manual2.1. BL-819 12. TROUBLESHOOTING 11. CUSTOM FACTORY CONFIGURATION13. TECHNICAL SPECIFICATIONS 14. REGULATORY INFORMATION1.2. Products and Firmware 1. Introduction1.1. Preamble 2.2. Comparison of BL-819 and BL-830 Features 2. Physical Product Features2.3. BL- 819 / 830 Power Options 2.1. BL-8193.2. Installing the Configuration Applications 3. Product Configuration3.1. Configuration features at a glance Page 7 of 3.3. Opening the Configuration Applications3.4. Using the Configuration Wizard 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/LinksBaud Rate 3.6. Current SettingsParity Stop BitsPartner Device PIN CodeClient/Server Page 14 of Connect UsingDevice Address 3.7. Advanced SettingsDevice Name DiscoverabilityWho can it connect to? Who can Pair?Possible use Who can Connect?Class of Device Switch RoleHandshaking Connect SchemePage 18 of Low Power ModeInteractive Menu Page 19 of 3.8. Default settings3.9. Upgrade Device 4.1. Accessing the configuration menus and commands 4. Alternative Product Configuration4.2.1. Navigation 4.2. Configuration MenuPage 22 of 4.2.2. Main Menu4.2.3. Communications Parameters 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.1. Configure and connect the adapter 9.3. Server Connecting to adapter from a remote Bluetooth device9.3.2. Bluetooth Enable your PC 9.3.3. Discover the device9.3.5. Connect to the Serial Port profile 9.3.4. Secure the relationship10.1. Scientific equipment data logging 11. Custom Factory Configuration10. Worked Examples 12. Troubleshooting 13.1. Storage and Operating Environment 13. Technical Specifications13.2. Power requirements 14.1. Europe - EU Declaration of Conformity 14. Regulatory Information14.2. Important Notice for use in France and Italy 14.3. Rest of WorldVersion Version HistoryDate Author