Brainboxes RS232 manual Secure the relationship, Connect to the Serial Port profile

Page 33

9.3.4. Secure the relationship

This is where you must “Bond” or “Pair” with the de vice. This is a feature of Bluetooth, which allows secure communications to take place. It is also used to stop other devices from performing unauthorised connections.

You can start the bonding process by selecting and right clicking on your BL-521 from the main screen. This brings up a context menu from which you should select the “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 “9.3.5 Connect to the Serial Port profile”.

You will then be prompted to enter a PIN number. Enter the Pin number (which is 1234 by default, 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 here.

9.3.5. Connect to the Serial Port profile

In order to actually connect to the appropriate function on the

BL-521 you will need to discover it’s services.

Double-Click the device selected.

This will display a serial port service called “Serial 01”

Double clicking this service (or right clicking and selecting the “connect” option), will create a COM port style connection to the BL-521.

This screen shot shows that the port in our example here is listed as COM25, although yours will most likely be a much lower number than this.

This “COM” port is now available for any application to use to communicate with your device, or in our case, the oscilloscope.

9.3.6. Connect your application to the new COM port

In our initial testing at our labs, we use the HyperTerminal application included in Windows to open the new COM port. See documentation above for details of using the HyperTerminal application

Manual for BL-521 5_3.doc

© Copyright Brainboxes Limited 2004

Page 33 of 41

Image 33
Contents Product Manual Table of Contents Worked Examples Preamble IntroductionProducts and Firmware Changes from earlier versionsPhysical Product Features BL-521BL-730 Product Configuration Configuration features at a glanceInstalling the Configuration Application Opening the Configuration Application Port Settings Using the Configuration ApplicationDevice Info Support/LinksBaud Rate Current SettingsParity Stop BitsPIN Code Connect UsingClient/Server Partner DeviceManual for BL-521 53.doc Copyright Brainboxes Limited Device Address Advanced SettingsDevice Name DiscoverabilitySecurity mode for converter as Server receives connections Security ModeHigh ModeClass of Device Low Power ModeHandshaking Connect SchemeInteractive Menu Upgrade Device Default settingsAccessing the configuration menus and commands Alternative Product ConfigurationNavigation Configuration MenuCommunications Parameters Main MenuBluetooth Parameters Display, Restore and Update Current and Factory Settings Disabling Interactive Menu Upgrading Firmware Command Description Name Command InterfaceResetting the Product Remote ConfigurationUpgrading your device Manual for BL-521 53.doc Copyright Brainboxes Limited Manual for BL-521 53.doc Copyright Brainboxes Limited Configuring the communications parameters Physically connecting to your RS232 deviceConnecting converters over Bluetooth Client/Server Pair Cable ReplacementConfiguration by Windows Application Configuration by Menu Configuration by Commands Server Connecting to BL-521 from a remote Bluetooth deviceConfigure and connect the converter Bluetooth Enable your PCSecure the relationship Connect to the Serial Port profileConnect your application to the new COM port Custom Factory Configuration Worked ExamplesScientific equipment data logging Troubleshooting Reference source not found. ErrorReference source not found. for Technical Specifications Power requirementsStorage and Operating Environment Receiver Characteristics Transmitter CharacteristicsAntenna Characteristics GainRadiation Patterns Europe EU Declaration of Conformity Regulatory InformationImportant Notice for use in France and Italy Rest of WorldIndex Version Date Author Checked By Comments Version History