Brainboxes RS232 User Manual

Page 14

Advertising
background image

Manual for BL-521 5_3.doc

© Copyright Brainboxes Limited 2004

Page 14 of 41

Class of Device

Some remote device applications will only communicate to devices of a certain type. This option allows you to
reconfigure your BL-521 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 BL-521/730. 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 BL-521 and the port to which it is connected (hardware handshaking).
DTR/DSR handshaking is used over the Bluetooth connection between the BL-521 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 product (BL-521 or BL-730) and the physically connected RS232 device.
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 converter 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
converter 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 converter 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 BL-521/730 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 BL-521/730 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 BL-521/730 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 BL-521/730 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 BL-521/730 is not necessarily going to be the device that responds to the inquiry first.
The BL-521/730 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 BL-521 behaves just as though it is in Client mode with a partner device to connect to.

Low Power Mode

This setting allows the selection of either Park or Sniff low power modes. These can be used to reduce the power
consumption of the BL-521 when an active Bluetooth connection exists. These settings only reduce power
consumption when a Bluetooth connection is present. They do not affect the power consumption of the BL-521
while it is inquiring, waiting for a connection or trying to make a connection. The setting requires the connecting
device to also support the selected low power mode.

Advertising