Brainboxes BL-521 Product Manual

Rs232 bluetooth converter
Hide thumbs Also See for BL-521:

Advertisement

Quick Links

Print Date: 11.04.2003
Product Manual
BL-521 RS232 Bluetooth Converter
Version: 3.2
Brainboxes Limited, Unit 3C, Wavertree Boulevard South, Wavertree Technology Park, Liverpool, L7 9PF, UK
Tel: +44 (0)151 220 2500 Fax: +44 (0)151 252 0446 Web: www.brainboxes.com Email: sales@brainboxes.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BL-521 and is the answer not in the manual?

Questions and answers

Summary of Contents for Brainboxes BL-521

  • Page 1 Print Date: 11.04.2003 Product Manual BL-521 RS232 Bluetooth Converter Version: 3.2 Brainboxes Limited, Unit 3C, Wavertree Boulevard South, Wavertree Technology Park, Liverpool, L7 9PF, UK Tel: +44 (0)151 220 2500 Fax: +44 (0)151 252 0446 Web: www.brainboxes.com Email: sales@brainboxes.com...
  • Page 2: Table Of Contents

    4. Physically connecting BL-521 to your RS232 device..................43 4.1. Configuring the communications parameters.................... 43 4.2. Physically connecting your device to BL-521 via the RS232 connector ............43 5. Connecting to/from BL-521 over Bluetooth..................... 44 5.1. “Cable Replacement” ..........................44 5.2.
  • Page 3: Introduction

    The BL-521’s configuration menus are available at any time that there is no Bluetooth radio connection established with another device. As soon as a Bluetooth connection is made, the data sent to BL-521 will be sent over the radio link to the remote device. As soon as the Bluetooth connection is broken, the configuration menu’s become available again.
  • Page 4 “terminal” or “tty” type application (e.g. minicom), which talks directly to a serial port in that operating system. First, connect BL-521, along with the supplied gender changer, to an available serial port on your computer. In this example, we use COM1.
  • Page 5 Select the Port that you have connected the BL-521 to. All other fields will then be “greyed out” Click OK Select the communications parameters that your device is configured to. In this example we have used the factory defaults normally applied. If you have previously reconfigured these values, then you will need to make sure the settings here match those you have configured to device to be.
  • Page 6: Configuration Menu

    3. Configuration Menu. 3.1. Main Menu Sending the “Enter” character to the BL-521 accesses its main menu. This is also sometimes referred to as “Carriage Return”. All configuration options for BL-521 are accessed via this menu. BL-521 manual Release Rev5.doc ©...
  • Page 7: Communications Parameters

    It is from this menu that all available serial port settings can be changed. The available options are detailed below. 3.2.1. Baud Rate The factory set communications parameters for your BL-521 are as follows… Baud Rate: 115,200 Data Bits:...
  • Page 8 You can alter these settings by using the configuration menu options shown below. After selecting option 1 “Set Baud Rate” from the “Modify COMM Settings” menu, the following menu is displayed. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 8 of 54...
  • Page 9 Selecting option (d) from the “Set Baud Menu” allows the user to configure BL-521 to operate at any baud rate the user desires between 244 baud and 1.3M baud. BL-521 will calculate the nearest actual baud rate it is able to achieve and display it next to your selection, as shown in the configuration menu’s below.
  • Page 10 The value you enter must be between 244 and 1382400 otherwise an error will be shown. You will be given a further opportunity to enter a valid value. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 10 of 54...
  • Page 11 Selecting 0 immediately returns you to the previous menu storing any changes you have made; selecting any other option will store the appropriate configuration selection. As shown below, your configuration selection will not actually be applied at this point. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 11 of 54...
  • Page 12: Data Bits

    Unapplied settings are discarded during a re-boot of BL-521. 3.2.2. Data bits. Unfortunately this setting cannot be changed. BL-521 only supports the 8 data bit format. Thus there is not a configuration menu option for this setting. BL-521 manual Release Rev5.doc ©...
  • Page 13: Parity

    Selecting 0 immediately returns you to the previous menu storing any changes you have made; selecting any other option will store the appropriate configuration selection. As shown below, your configuration selection will not actually be applied at this point. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 13 of 54...
  • Page 14: Stop Bits

    Configuration changes are only applied when option 4 ( Apply COMM settings) is selected from the previous “Modify COMM Settings” Menu. Unapplied settings are discarded during a re-boot of BL-521. 3.2.4. Stop Bits After selecting option 3 from the “Modify COMM Settings” menu, the following menu is displayed.
  • Page 15 Configuration changes are only applied when option 4 (Apply COMM settings) is selected from the previous “Modify COMM Settings” Menu. Unapplied settings are discarded during a re-boot of BL-521. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003...
  • Page 16: Applying Communications Settings

    Selecting 0 immediately returns you to the previous menu storing any changes you have made. Selecting “1” will immediately apply any new communications parameters you have selected from the other COMM menu’s. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 16 of 54...
  • Page 17: Bluetooth Parameters

    BL-521. The easiest method of performing this in HyperTerminal is to close the application down and re-start it, setting the alternative parameters during the initial application configuration.
  • Page 18: Discoverability

    It is from this menu that all available Bluetooth settings can be changed. The available options are detailed below. 3.3.1. Discoverability After selecting option 1 from the “Modify Bluetooth Settings” menu, the following menu is displayed. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 18 of 54...
  • Page 19: Security Mode

    Selecting option “2” immediately renders BL-521 “non-discoverable”. No other Bluetooth devices will be able to see BL-521 when they perform a device discovery. However, in this mode, your BL-521 is still “connectable”. This means that any other Bluetooth device that knows about your specific BL-521 (i.e. it knows the Bluetooth address of the individual unit) can still connect to it.
  • Page 20 Selecting option “2” will immediately place your BL-521 into security mode 2. This mode allows remote Bluetooth devices to search for and retrieve the services on your BL-521, but will not allow them to connect unless the 2 devices are paired.
  • Page 21: Encryption

    3.3.4. PIN . The PIN (Personal Identification Number) is used to create a secure and trusted connection between 2 Bluetooth devices during a process called pairing or bonding. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 21 of 54...
  • Page 22 After selecting option 4 from the “Modify Bluetooth Settings” menu, the following menu is displayed. The PIN can be any combination of printable characters. The PIN is only used when BL-521 is configured to be in security mode 3 (High security) The factory set PIN is “1234”.
  • Page 23 PIN appropriately remembering that some Bluetooth devices (e.g. cell phones) only have limited input mechanisms and may not have a full range of characters available. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003...
  • Page 24: Partner Device

    PIN selection. If your BL-521 is to be configured into Client mode, this is the PIN that will be used by BL-521 to initiate pairing with the remote device before any connection is made. If your remot e device is another BL-521 in Server mode, you will need to ensure that “both”...
  • Page 25 Once a remote device has successfully partnered with BL-521, no other Bluetooth device will be able to connect until the pairing has been cleared. The pairing can be expired either by interacting with this menu option, or by invoking a “short” reset by pressing the reset button.
  • Page 26 ENTER. This should be in the same format as indicated on the products label (NAP-UAP-LAP, for those of you who know) This will now refresh the menu with the address just entered and changes the option to allow removal of the entered device BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 26 of 54...
  • Page 27 This expiration only deletes the Link Key created during pairing and doesn’t remove the device itself If a remote Bluetooth device has previously paired to the BL-521 then this menu will display the first time the “Set Partner Device” menu is accessed.
  • Page 28 Selecting the option to remove the partner device as below will remove both the link key created during the pair, and it will remove the partner device itself from the memory of BL-521. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 28 of 54...
  • Page 29: Client Server

    All the settings in this section are applied with immediate effect. 3.3.6. Client Server After selecting option 6 from the “Modify Bluetooth Settings” menu, the following menu is displayed. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 29 of 54...
  • Page 30: Local Device Name

    The default configuration of your BL-521 is set to “Server” operation. This means that the BL-521 will wait for devices to connect to it. Changing this setting to “Client ” will put the BL-521 into a state where it will attempt to connect to the device contained in its internal database.
  • Page 31 After selecting option 7 from the “Modify Bluetooth Settings” menu, the following menu is displayed. The Factory setting for the local device name is “BL-521 BB RS232 Converter”. Selecting 0 immediately returns you to the previous menu storing any changes; selecting any other option will store the appropriate configuration selection.
  • Page 32 Selecting options 1-4 configure the BL-521 to use one of the pre-configured name options. Our example chooses option 1 BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 32 of 54...
  • Page 33 If you wish to use a different name, you’ll need to select option 5 Enter the name you’d like your BL-521 to display BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 33 of 54...
  • Page 34: Device Class

    3.3.8. Device Class Some remote device applications will only communicate to devices of a certain type. This menu option allows you to reconfigure your BL-521 to appear as a number of different device types. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003...
  • Page 35 After selecting option 8 from the “Modify Bluetooth Settings” menu, the following menu is displayed. The Factory setting for the Class of device is “Peripheral”. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 35 of 54...
  • Page 36 Selecting 0 immediately returns you to the previous menu storing any changes; selecting any other option will store the appropriate configuration selection. This menu option allows the selection of a number of different device types as defined by the Bluetooth specification. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 36 of 54...
  • Page 37: Display Factory Settings

    This option does not take effect until BL-521 is re-booted. 3.4. Display Factory Settings Selecting option 3 from the “Main Menu” menu displays the following Current settings menu. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 37 of 54...
  • Page 38 BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 38 of 54...
  • Page 39: Updating Factory Settings

    This is not something you really want to do unless you’re sure you have the settings as you want them and are sure you can remember them, as there is no way back from here… BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003...
  • Page 40 Entering any character other than that required will abort the update. The PROCEED command is case sensitive and must be followed by <ENTER>. All the settings in this section are applied with immediate effect. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 40 of 54...
  • Page 41: Restoring Factory Settings

    3.5. Restoring Factory Settings Selecting option 4 from the main menu displays the following restore factory settings menu. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 41 of 54...
  • Page 42: Disabling Interactive Menu

    Be sure to take a note of these settings as you will need to ensure that the next time you attempt to communicate with your BL-521 that you use these new settings. Remember that the original factory settings may have been updated using the previous menu.
  • Page 43: Resetting Bl-521

    If you are having difficulty connecting to the BL-521 configuration menu, follow these few simple steps… a) Ensure the power adapter is plugged in and switched on – The LED’s will light up on the BL-521 b) Ensure the attached cable AND the gender converter are attached securely to an available RS232 port on your PC.
  • Page 44: Connecting To/From Bl-521 Over Bluetooth

    This configuration is very straightforward and is detailed below. For BL-521’s to connect as a pair, one of the devices needs to be configured as a client device, and one as a server. As the factory settings for BL-521 are “Server” it follows then that only 1 of the BL-521 pair needs any alternate configuration from that supplied.
  • Page 45 For our example here, we will use a BL-521 with a BD_ADDR of 000A -4F-00082D, which we’ll call the Server, and a second, with a BD_ADDR of 000A-4F-0013BB, which we’ll call the Client. We’ll leave all other settings for this example as factory defaults.
  • Page 46 You’ll need to add the Server BL-521 into this menu option. Select option “1” which brings up the following menu. You should enter here the Bluetooth Address (BD_ADDR) of the remote device you wish to pair (in our case this is 000A-4F-00082D) followed by ENTER.
  • Page 47 Select 0 to return to the previous menu and select option 6 “Set Client/Server” After selecting option 6 from the “Modify Bluetooth Settings” menu, the following menu is displayed. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 47 of 54...
  • Page 48: Server : Connecting To Bl-521 From A Remote Bluetooth Device

    There are many different scenarios whereby a connection can be made to a BL-521 and consequently its attached device. The application scenarios will also depend on what sort of device you have attached to the BL-521. One worked example is shown here for illustrative purposes, but the principle will be the same regardless of the device you are connecting to except perhaps the cabling arrangements your device might require.
  • Page 49: Discover The Device

    “Bond” option. If you have configured your BL-521 from the menu to use a low security mode (and thus not require bonding) then this step can be skipped and you can jump straight to section “5.2.3 Connect to the profile”.
  • Page 50: Connect To The Profile

    You will then be prompted to enter a PIN number. Enter the Pin number (which is 1234, unless you have used the configuration menu to change it). Click OK The Icon of your BL-521 in the main window should now change to indicate a “bonded” status as shown below. 5.2.3. Connect to the profile In order to actually connect to the appropriate function on the BL-521 you will need to discover it’s services.
  • Page 51: Connect Your Application To The Com Port

    5.3. Client: BL-521 is the Bluetooth device which initiates the connection The instructions in the above section for creating a “cable replacement” connection should be followed to place the BL-521 into Client Mode in order to initiate a connection to a remote device. BL-521 manual Release Rev5.doc ©...
  • Page 52: Upgrading

    Dispositif à faible uissance (1mW), pas de limitation pour son usage à l'intérieur ou a l'extérieur. 7.2. Rest of World Country restrictions apply for home and office use. BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 52 of 54...
  • Page 53: Index

    BD_ADDR, 26, 44, 45, 46 Local Device Name, 2, 3, 30 BL-521, 1, 2, 3, 4, 5, 6, 7, 9, 12, 14, 15, 17, 19, 20, menu, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17,...
  • Page 54 (V2.10) 11/04/2003 ETW;SE;DR; Minor mods and clarifications following review. Creation of MW;OS;NPJ; index. Minor changes to device menu display updated. 11/04/2003 ETW;SE;DR; Section re-order, update tables. MW;OS;NPJ; BL-521 manual Release Rev5.doc © Copyright Brainboxes Limited 2003 Page 54 of 54...

Table of Contents