background image

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

 

16

 

Laird Technologies

 

 

 

Figure 36: MpBTHost and Terminal dialogs 

In addition, the log activity at the connection initiating end will resemble 

Figure 37

 

 

Figure 37: Log activity 

0D 00 88 7F  07 C01885DAE532 1101

” 

is actual serial data sent from the module on its UART 

interface. 

0x07

 indicates the Channel ID, and 

C01885DAE532

 is the BT MAC address making the SPP 

connection to the module. 

Send Data in Both Directions  

Assuming that a data connection exists using the steps shown in the previous section, you should be able to 
type a message in terminal emulation window (COM47) and see the data appear at the other end (COM40). 

For example type in 

Hello and type Send… 

 

Figure 38: COM 47 and COM 40 exchanging data 

Summary of Contents for BT740 Series

Page 1: ...40 User Manual REQUIREMENTS DVK BT740 including BT740 carrier board BRBLU03 010A0 USB Bluetooth adapter or Computer with built in Bluetooth BT740 development motherboard Windows XP Operating System or later Terminal Software such as Laird EZURiO terminal http www lairdtech com zips LairdTerminal_v6_9_0 zip Laird s MpBtHost utility if using MultiPoint functionality http www lairdtech com zips MpBtH...

Page 2: ...omputer and development board TP2 is the power switch and there is 3 an LED for power indication Install your preferred terminal program We recommend using Laird Ezurio Terminal 4 Install MpBtHost if utilising MP mode 5 Check your Device Manager to determine whether or not your computer is equipped with Bluetooth 6 Figure 3 Device Manager Plug in the BRBLU03 010A0 if your computer is not equipped ...

Page 3: ... in Figure 5 to check firmware version and Bluetooth address The COM port number can be found in Device Manager Figure 5 Commands for checking firmware version and BT address Configuration By default BT740 is configured as SPP enabled Discoverable and Connectable SSP IO_CAP_NO_INPUT_NO_OUTPUT Figure 6 Figure 6 Configuration defaults Make Inquiry You can inquiry nearby Bluetooth devices by issuing ...

Page 4: ...ogies Figure 7 Inquiry example Pair from PC To order to pair with a Bluetooth device from your PC follow these steps Access Devices and Printers Bluetooth Devices 1 Click Add a device Figure 8 1 Figure 8 Select Add a device Select BT740 module and click Next In Figure 9 Laird 0605F7 is the Bluetooth Friendly name which is 2 configurable Figure 9 Select the BT module ...

Page 5: ...he two virtual COM ports are ready to use click Close 3 Figure 10 Figure 10 Virtual COM ports ready to use The two virtual COM ports display in the COM Ports tab Figure 11 Figure 11 Displayed COM ports Pair with Module After inquiry issue AT BTW peer address to start pairing PAIR 0 indicates pairing is successful The purpose of AT BTT is to check if the link key is stored Figure 12 Figure 12 Pairi...

Page 6: ...hich is on COM47 a transparent UART communication is established between these two COM ports Figure 13 Figure 13 SPP connection The DCD LED indicates SPP connection is established Figure 14 Figure 14 DCD LED indication Make SPP Connection from Module to Module Another Laird module with MAC address 0016A40605F1 is physically connected on COM24 Figure 15 Figure 15 Module to module connection In orde...

Page 7: ...ports DCD LED indicates SPP connection is established Figure 17 Figure 17 DCD LED indicator Drop Connection To drop the connection issue the command to switch to Connected mode The BT740 responds with OK to indicate the switch is successful and then issues ATH to drop the SPP connection Figure 18 Figure 18 Drop connection command Note that is also treated as data and is transmitted to another modu...

Page 8: ... S Register 9255 is to set the protocol mode Send ATS9255 1 and power cycle the module to put it in MP mode Figure 20 and Figure 20 Figure 20 S Register 9255 for protocol mode Figure 21 MpBTHost MP mode Convert from MP to AT mode There is an S register 0xFF to set the protocol mode Figure 22 255 FF 1 2 Host Communications Protocol 1 Multipoint Packet Protocol 2 AT Protocol Automatically saved to n...

Page 9: ... 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless 9 Laird Technologies Figure 22 S Reg protocol mode To put the module in AT mode you can set the register 0xFF value to 0x02 and power cycle the module Figure 23 Figure 23 S Reg to put module in AT mode Figure 24 Converted to AT mode ...

Page 10: ...rd with the BT740 carrier board is connected to the computer on COM47 Figure 25 Multipoint Bluetooth Host window This BT740 module is loaded with the following Firmware 1 3 1 1 1 0 258 MAC address 0016A40605F7 Figure 26 Firmware version and MAC address There are small LED emulation graphics labelled CTS RTS DCD RI RTS These reflect the actual state of the modem control lines as asserted by the mod...

Page 11: ...e 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 pe...

Page 12: ...SPP Bit 1 HID Bit 2 HDP If HID is enabled see S Reg 39 for further configuration options in terms of device or host implementation If HDP is enabled see S Reg 70 for further configuration options in terms of agent or manager services 4 04 0 1 Default Connectable mode on power up reset 5 05 0 2 Default Discoverable mode on power up reset 6 06 12 15 Default Security mode on power up reset 12 SSP IO_...

Page 13: ...a device Select BT740 module and click Next In Figure 30 Laird 0605F7 is the Bluetooth Friendly name which is 3 configurable Figure 30 Add a device window If the computer is not equipped with built in Bluetooth and the BRBLU03 010A0 USB Bluetooth adapter is used the following additional steps are required a From the Select a pairing option window select Enter the device s pairing code Figure 31 ...

Page 14: ...ong 852 2268 6567 x026 www lairdtech com wireless 14 Laird Technologies Figure 31 Select a pairing option window b Enter 1234 as the pairing code Figure 32 Figure 32 Enter pairing code c In the pop up dialog box click Ok to complete the pairing Figure 33 Figure 33 Incoming Pairing PinCode Request window ...

Page 15: ...COM Ports tab Explanation of this different behaviour can be found at the very last section of this guide Difference between BTv2 0 and BTv2 1 Make Serial Port Profile Data SPP Connection When pairing is complete two virtual COM ports are created by the BT stack on the computer The BT stack also assigns the COM port numbers so the numbers vary depending on the computer To make the SPP connection f...

Page 16: ... 0D 00 88 7F 07 C01885DAE532 1101 is actual serial data sent from the module on its UART interface 0x07 indicates the Channel ID and C01885DAE532 is the BT MAC address making the SPP connection to the module Send Data in Both Directions Assuming that a data connection exists using the steps shown in the previous section you should be able to type a message in terminal emulation window COM47 and se...

Page 17: ...r send Hello over the BT SPP connection Figure 39 First 0x07 Indicates the total length of the packet Second 0x07 Indicates the channel ID 48656C6C6F Hello in hex value Figure 39 Actual serial data When we type AC on COM40 AC is displayed on the terminal emulation window COM47 Figure 40 Figure 40 Terminal emulation window The following Figure 41 is the log window for the exchange above Figure 40 F...

Page 18: ...drop the connection close the terminal program on COM40 Figure 42 Figure 42 Closed Terminal 06 00 86 7F 07 03 is the serial data that should be sent from the module UART to indicate channel 0x07 is disconnected SIMULTANEOUS CONNECTIONS IN MP MODE When BT740 is operating in MP mode it allows simultaneous connections For example the module can function as a HID keyboard and make or accept SPP Config...

Page 19: ... Technologies Figure 44 Store the S Register Reboot the module 3 Click Reset Figure 45 4 Figure 45 Reset button Set the computer built in Bluetooth as Discoverable in Bluetooth Settings Figure 46 5 Figure 46 Bluetooth Settings Pairing To perform pairing follow these steps From the drop down menu select Inquiry Wizard Figure 47 1 Figure 47 Select Inquiry Wizard ...

Page 20: ...Laird Technologies Click Inquire Figure 48 2 Figure 48 Click Inquire The computer Bluetooth MAC address C01885DAE532 is found From the drop down list select Pairing Wizard Figure 49 3 Figure 49 Select Pairing Wizard In the Bluetooth Address drop down menu select the Bluetooth Address you want to pair with and 4 click Pair Initiate Figure 50 Pairing Wizard ...

Page 21: ...g 852 2268 6567 x026 www lairdtech com wireless 21 Laird Technologies A pop up window indicates that a new device is added In this example this is a HID keyboard Figure 51 Figure 51 New device pop up window Also an outgoing virtual COM port COM32 is generated Figure 52 Figure 52 COM32 device is generated ...

Page 22: ...down menu 1 Select your computer and HID from the Connect Wizard drop down menus Figure 53 2 Figure 53 Connect Wizard Click Connect An HID emulation window displays Figure 54 3 Figure 54 HID emulation window Open the virtual COM port COM32 with terminal software Figure 55 4 Figure 55 Terminal software virtual COM port Another terminal window appears for the SPP connection Figure 56 Here HID and SP...

Page 23: ...for pairing Today there are still many M2M applications with BT v2 0 connectivity These M2M devices do not typically have I O capability such as a display or Yes No options for users to perform pairing Most importantly they can be in hard to reach places On the BT740 the pre shared pin code can be pre entered before pairing takes place if it is a BT v2 0 device the module is attempting to pair wit...

Page 24: ... SP and Nokia E72 The Sony phone is equipped with BT 4 0 2 while the Nokia phone is equipped with BT 2 0 Configure both phones to be Bluetooth discoverable before pairing Different responses occur 3 Issue AT BTIN to discover these two phones Figure 58 4 Figure 58 Issue AT BTIN Use the following commands to pair with the Xperia SP Figure 59 5 Figure 59 Pair with Xperia SP The module displays the pa...

Page 25: ...BTKY to confirm the same passcode is showing PAIR 0 indicates pairing is 7 successful Figure 61 Figure 61 Successful pairing Pair with phone equipped with BT 2 0 1 Configure the module for legacy pairing with below commands Figure 62 Figure 62 Configuration AT commands 2 Issue below command to pair with E72 Figure 63 Figure 63 AT BTW to pair 3 The phone prompts user to accept the pairing request F...

Page 26: ...n process and ultimately into mass production Further documentation is available from www lairdtech com Products Embedded Wireless Solutions Bluetooth Radio Modules BT700 Series BT740 includes BT740 Firmware User manual BT740 Hardware Integration Guide HIG DVK BT740 User Manual DVK BT740 Schematics Software Links Laird EZURiO terminal http www lairdtech com zips Bluetooth 20Terminal 20Download zip...

Reviews: