BT740 Development Kit
Quick Start Guide
Americas: +1-800-492-2320 Option 3
Europe: +44-1628-858-940
Hong Kong: +852-2268-6567 x026
www.lairdtech.com/wireless
11
Laird Technologies
For command packets (
red
lines), note an extra spacing after the fourth character (for example:
05 00 17 7F 00
). This extra space highlights the fact that the first four bytes of a multipoint command
packet is the header, with the third byte corresponding to the CMD_ID as described in the user manual, and
all bytes after the fourth byte constitute data fields as defined for that particular command.
For responses (
blue
lines), note the extra spacing after the fifth byte (for example:
0B 00 02 7F 00
). This
extra space highlights the fact that the first five bytes is the header and the fifth byte, as described in the user
manual, is the status byte (00 signifies MPSTATUS_OK). Everything after the fifth byte constitutes data as
defined for each response in the user manual.
The asynchronous event message shown in green consists of a four byte header and data as defined in the
user manual. The third byte of the message is the EVT_ID.
Obtain Version and Bluetooth Address
To obtain the version and Bluetooth address, follow these steps:
In MpBtHost window, click the paint brush icon button to clear the log window.
1.
Figure 27: Configuration window drop-down
Click the dropdown box (
Figure 27
) and select Information.
2.
Click Tx (
Figure 27
).
3.
The following information should display:
>70 915.211 05 00 17 7F 00
CMD_INFORMATION
<70 000.125 0E 00 17 7F 00 00 8101011100D70601
RSP_INFORMATION (MPSTATUS_OK)
//Module Firmware Version : 1.1.1.1.1.215:0
// ---- PlatformId, CclVer, AppVer, Dev'perId, BranchId, Build : Twig
Depending on the firmware version, the final part of the blue line
8101011100D70601
varies
depending on the version number. The format of the version information is described in the main user
manual and is also explained in grey font above.
Clear the log window by clicking the paint brush icon.
4.
Click on the dropdown box again and select Read BD_ADDR.
5.
Click on the button labelled “Tx” and should see the following activity:
6.
>70 364.465 04 00 02 7F
CMD_READ_BDADDR
<70 000.125 0B 00 02 7F 00 0016A4FEF000
RSP_READ_BDADDR (MPSTATUS_OK)
The six byte Bluetooth address is unique.
Note: For each line, whether command, response or event, the first character (either < or>) signifies the
direction of the packet. > signifies a command from host to module and < signifies a response or
event from the module to the host. A number is located after the < or >; this number is the COM
port number. The following field (for example, 364.465 and 000.125) is the time elapsed (in
milliseconds) since the last packet (regardless of direction).