Posts

Using Broadcom BlueTool – LM506

Broadcom BlueTool is a testing and diagnostic program for Windows PCs that allows a friendly point-and-click method of issuing firmware updates and Bluetooth HCI commands to any Broadcom-based Bluetooth HCI module or adapter. This is also a facility for scripted automation via PERL for production testing.

Installation Notes

Please follow the on-screen instructions. Unless the intention is to provide scripted automation for production or repeated test purposes, please do not select the default installation type, instead disable the PERL module to simplify the set-up of BlueTool.

  • We have noticed some issues when using this software on a 64-bit OS with USB-based Bluetooth devices. In this instance, we recommend the use of BlueTool on a 32-bit OS only.

Issuing a HCI Command

HCI commands are used by a Bluetooth stack to communicate with a Bluetooth Radio Device, as such, HCI commands in their raw form can be difficult to read and understand from a human perspective. BlueTool allows you to issue these commands by double-clicking friendly names and by using windows forms as a simple way to enter parameter data, via drop-down lists, check boxes etc., allowing the user to take direct control of a Bluetooth Radio’s behaviour.

To issue HCI commands via BlueTool, please follow the steps outlined below:

1/ Open the HCI Control Window from the Transport drop-down menu.

LM506_using_bluetool_1

2/ Select the location of the Bluetooth Device on the PC, for PCs with a single USB-based device, this is usually ‘usb0’.
If this is not the case, please refer to the information provided by the Windows Device Manager.

LM506_using_bluetool_2

3/ Check the ‘HCI Protocol Active’ box. If a tick appears and items in the list turn from grey to black, then a HCI connection was successfully established. If not, please check the adapter’s connection and configuration details and try again.

LM506_using_bluetool_3

4/ Each name in the list that you are now presented with represents a Bluetooth HCI Command, simply double-click a command of your choice, fill in any parameters and click ‘OK’ to issue the command.
Commands are categorised by the drop-down list in the top-right corner of the window, with the exception of ‘0: Vendor Specific Commands’, each category and command directly relates to a command published in the Bluetooth SIG adopted specification.

LM506_using_bluetool_4

Downloading Firmware

Firmware files issued by LM Technologies for its Broadcom-based Bluetooth devices are typically in ‘*.HCD’ format, with the exception of production Windows drivers, which are in the ‘*.HEX’ format. HCD files contain many lines of HCI commands in raw byte format. This allows for the file to not only contain the firmware data, but also the instructions for configuring the device and loading the firmware, allowing simple integration into a Bluetooth Stack or driver.

To download a HCD firmware file via BlueTool, please follow the above steps in ‘Issuing a HCI Command’.

1/ To ensure the device is in the correct state, issue the command ‘7.3: Reset’, followed by the command ‘0: Download_Minidriver’.

2/ Open the Download Firmware/Config Window from the Transport drop-down menu.

LM506_using_bluetool_5

3/ Configure the window as pictured below, adjusting ‘Device configuration’ according to the Broadcom IC type and selecting the appropriate HCD file in the ‘Download Configuration Record’ box.

LM506_using_bluetool_6

4/ Click ‘Execute’ and observe for errors.

 

LM506: Apple iBeacon with BlueZ 5.X

As an official Apple iBeacon Partner, LM Technologies Ltd is well-positioned to provide the support that you require utilising iBeacon technology with our modules and adapters.

A common scenario is how to provide a basic Apple iBeacon signal from our LM506 Bluetooth 4.0 SMART-Ready (BLE) Adapter when working with the Linux BlueZ stack. Read more