Home
BT740 Development Kit
Contents
1. COM32 Incoming Laird O605F COM40 Outgoing Laird O605F Serial Port Add Remove Choose a COM port for a Bluetooth enabled device Cancel Apply Figure 35 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 from PC to module open the outgoing COM port COM 40 with a terminal program MpBTHost opens a new dialog box which enables data to be sent back and forth in a terminal emulation window fashion Figure 36 Americas 1 800 492 2320 Option 3 15 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide E CTS OSA OCO ANB ATSH DIRK BAK CAPTURE Echo Clear Data Transfer Test Open COM49 115200 N 8 1 i IN chnID 7 8dAddr C01885DAE532 Uuid 1101 10 xJ NORMAL Sniff Connect to 58600 Send fi 253 Send _ Figure 36 MoBTHost and Terminal dialogs In addition the log activity at the connection initiating end will resemble Figure 37 E MultiPoint Bluetooth Host v3 5 0 Manual Script Config About Telia Configuratio
2. COM47 9600 N 8 1 atid Hi 6A4H6805F OK atdh ibA4H6H5F1i CONNECT BA16A4H685F1 1181 gt HO CARRIER E Figure 18 Drop connection command Note that is also treated as data and is transmitted to another module Figure 19 E Ezurio Terminal Ver 6 8 0 CTS OSA CCOM R RTS DTRIY BRKT CAPT Open COM24 9600 N 3 1 RING HHi6A46685F CONNECT HB16A4H6H5F 1181 lt H CARRIER a Figure 19 AAA transmitted as data Americas 1 800 492 2320 Option 3 7 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide CONVERT PROTOCOL Convert from AT to MP mode The 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 E Ezurio Terminal Ver 6 8 0 CTS OSRE OCOM AB RIS DTR BRES CA COM47 9600 N 1 ati Laird Bluetooth Data Module 746 SA OK 5 x BREAK Ver Reset Stats Close CTS DSR DCO Fl OTA RTS at yy ey LEN CHN CMD FLW DATA FLOW RIS wW 7 Iv 6 Iv 5 Iw 4 fw 3 fw 2 v 1 lt 47 000 093 0B 00 02 7F 00 0016A40605F7 RSP READ BDADDR MPSTATUS_OK gt 47 000 016 05 00 17 7F oo CMD INFORMATION lt 47 000 078 oz o0 17 TF 00 00 8103011001020601 RSP INFORMATION MPSTATUS OF r Sooo COULEe HIttWare vWersLlon Lia LiL et a ae Digary per lg brancha Bul El TTL lt 47 001 810 o8 00 81 7F O
3. packet 0x07 Indicates the channel ID 0x41 and 0x43 The hex values of AC Drop Connection To drop the connection close the terminal program on COM4O Figure 42 lt MultiPoint Bluetooth Host v3 5 0 Manual Seript Config About Tx E lt Inquiry Wizard LEN CHN CHD FLW DATA FLOW BTS 7 vw 6 fv 5 w 4 Joo Joo Joo E 00 lt 47 791 799 06 00 86 7TF OF 03 EVI DISCONNECT Figure 42 Closed Terminal 06 00 86 7F 07 03 isthe 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 Configuration In order to enable HID and SPP follow these steps 1 Change the S Register 0x03 to 0x03 Figure 43 iii MultiPoint Bluetooth Host v3 5 0 Manual Script Cong Abou l Th kiel JEE BREAK Ver Reset Stats Close z mse CTA OMA es a STA ATS LEN CHM CHD FLW DATA row ate IT Rh GRP SR AR SRP tetek F O 04 ITF 03 OOG00003 7 OST 612 09 d Mi 7 of ofoooDoS CMD WRITE sate 000 110 OA OO O4 7F wi ASF WRITE _SREG Figure 43 Change the S Register 2 Store the S Register Figure 44 Americas 1 800 492 2320 Option 3 18 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit
4. this example this is a HID keyboard Figure 51 Add a device amp ii Ul Driver Software Installation Figure 51 New device pop up window Also an outgoing virtual COM port COM32 Is generated Figure 52 Bluetooth Settings xi Dl m as y RET TONE BBY Figure 52 COM32 device is generated Americas 1 800 492 2320 Option 3 21 Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless Laird Technologies BT740 Development Kit Quick Start Guide Connection To establish a connection follow these steps 1 Open the Connect Wizard from the drop down menu 2 Select your computer and HID from the Connect Wizard drop down menus Figure 53 Connect Wizard Bluetooth Address Instance fo Get RSSI Send Modem Stats Connect Figure 53 Connect Wizard 3 Click Connect An HID emulation window displays Figure 54 Figure 54 HID emulation window 4 Open the virtual COM port COM32 with terminal software Figure 55 E Ezurio Terminal Ver 6 8 0 CTS DER OCOM AB RIS DTR BRE CAPTURES Echo Ch lopen COM32 9600 N 8 1 Figure 55 Terminal software virtual COM port Another terminal window appears for the SPP connection Figure 56 Here HID and SPP are connected concurrently lt IN chnID 2 BdAddr C01885DAE532 Uuid 1101 loj x V RTS DIRV DCD RI _Disconnect RSSI NORMAL Sniff Connect to 59
5. 00 17 7 U0 OD SslOlolL OUD U601 RSP_INFORMATION MPSTATUS_OK 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 4 Clear the log window by clicking the paint brush icon Click on the dropdown box again and select Read BD_ADDR 6 Click on the button labelled Tx and should see the following activity gt 0 364 465 04 00 02 7F CMD_READ_BDADDR lt 0 000 125 OB 00 02 7F 00 0016A4FEFOOO RSP_READ_BDADDR MPSTATUS_OK sn The six byte Bluetooth address is unique Note For each line whether command response or event the first character either lt or gt signifies the direction of the packet gt signifies a command from host to module and lt signifies a response or event from the module to the host A number is located after the lt or gt 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 Americas 1 800 492 2320 Option 3 11 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide Configuration By default BT740 is configured as discoverable connectable Serial Port Profile SPP enabled and SSP IO_CAP_NO_IN
6. 3 650 05 00 03 7F 06 CMD READ SREG lt 47 000 110 OA 00 03 7F 00 06 0000000C RSP_READ SREG MPSTATUS_OK COM47 115200 N 8 1 BDADDR 00 16 A4 06 05 F7 Figure 28 S Registers SReg read on these registers return 01 01 01 and OxOC which can be interpreted as Discoverable Connectable SPP and SSP IO_CAP_NO_INPUT_NO_OUTPUT Pair from PC To pair with a Bluetooth device follow these steps 1 Access Devices and Printers gt Bluetooth Devices 2 Click Add a device Figure 29 Americas 1 800 492 2320 Option 3 12 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide Zx CC A iene Devs and Paris Buetoth Dewees lt KA serc eneses Add a device Add a printer v Add a wireless or network device to this No items match your search computer Figure 29 Select Add a device 3 Select BT740 module and click Next In Figure 30 Laird 0605F7 is the Bluetooth Friendly name which is configurable W Add a device X e Add a device Select a device to add to this computer Windows will continue to look for new devices and display them here Laird O605F7 Bluetooth 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 Se ect a pairing option window
7. 47 9600 N 8 1 at thtw347es94319c OK AH 34V7E3974319C Figure 66 PAIRING is successful ADDITIONAL DOCUMENTATION AND RESOURCES Laird offers a variety of documentation and ancillary information to support our customers through the initial evaluation 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 Avwww lairdtech com zips Bluetooth 20Terminal 20Download zip Windows 7 Bluetooth http Awindows microsoft com en us windows add a bluetooth enabled device to your computer For any additional questions or queries or to receive local technical support for this Development Kit or for the BT740 module series please contact wirelessinfo lairdtech com Americas 1 800 492 2320 Option 3 26 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless
8. 595 Send f 253 Send Figure 56 Second terminal window for SPP Americas 1 800 492 2320 Option 3 22 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide DIFFERENCE BETWEEN BTV2 0 AND BIVv2 1 One of the major differences between Bluetooth v2 0 and Bluetooth v2 1 is the introduction of Simple Secure Pairing SSP SSP simplifies pairing so it doesn t rely on a pre shared pin code as it was in BTv2 0 With BTv2 1 all connections are forced to be encrypted SSP uses the Diffie Hellman public private encryption methodology to expedite a common 128 bit key at both ends This eliminates the need for pre shared pin codes but introduces the man in the middle MITM attack vulnerability To reduce the possibility of being successfully attacked a random six digit passcode is used Bluetooth v2 1 devices are required to have I O capability to ensure that users can interact to the six digit passcode One example is mobile phones they can display the passcode and the user can click Yes to pair Bluetooth v2 0 devices require a pre shared pin code 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 s
9. 6 SA ats 7666 13 OK atw OK atz OK Figure 57 Contiguration AT commands Pair with two mobile phones Sony Xperia SP and Nokia E72 The Sony phone is equipped with BT 4 0 while the Nokia phone is equipped with BT 2 0 Configure both phones to be Bluetooth discoverable before pairing Different responses occur Issue AT BTIN to discover these two phones Figure 58 EF Ezurio Terminal Ver 6 8 0 CTS OSA CCOM AIM RIS DIR BRET CAPTURED Open COM47 9600 N 8 1 E at btin TCESDSES2A24 SERLAC HONGLREWGU2ZN S4V7E394319C9 SABZAC EFS HBEBZDS472E3 SARZAC A peria SP Figure 58 Issue AT BTIN Use the following commands to pair with the Xperia SP Figure 59 E Ezurio Terminal Ver 6 8 0 CTS DoR CCOM AB ATS DIRK BREF C Open COM47 9600 N 8 1 AT BTWAGEB2D5472E3 OK o 2 HBEBR2ZDS 472 ES 442923 Figure 59 Pair with Xperia SP The module displays the passcode 447923 the same passcode should be displayed on the phone Users are required to compare the passcode displayed Figure 60 Bluetooth pairing request To pair with Laird 0605F7 Make sure it is showing this passkey 442923 Cancel Figure 60 BT pairing request Americas 1 800 492 2320 Option 3 24 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide 6 On the phone tap Pair to confirm 7 On the BT740 issue A7
10. B7KY to confirm the same passcode is showing PAIR O indicates pairing is successful Figure 61 E Ezurio Terminal Ver 6 8 0 CTS CSR CCOM AB RTS DTR BRET CAPTUR Open COM47 9600 N 8 1 AT BIWHHER2Z DS 472 ES OK PASSKEY 2 HBEBR2ZDS472E3 442923 att htky OK H BBER2ZDS 472 ES Figure 61 Successful pairing Pair with phone equipped with BT 2 0 1 Configure the module for legacy pairing with below commands Figure 62 E Ezurio Terminal Ver 6 8 0 CTS OSA OCDM AB ATS DIARY BRET CAPTURE Open COM47 9600 N 8 1 OK at tht k 1234 OK ati Laird Bluetooth Data Module 746 SA OK atw OK Figure 62 Contiguration AT commands 2 Issue below command to pair with E72 Figure 63 E Ezurio Terminal Ver 6 8 0 CTS OSA CCO AB ARTS DIR BRED Ci Open COM47 9600 N 8 1 at thtw347E394319C9 OK E Figure 63 AT BTW to pair 3 The phone prompts user to accept the pairing request Figure 64 Accept pairing request from Laird 0605F7 Figure 64 Accept pairing Americas 1 800 492 2320 Option 3 29 Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless Laird Technologies BT740 Development Kit Quick Start Guide 4 Enter the pairing code 1234 Bluetooth Passcode for Laird 0605F7 2123 Ss SS i F Sarge Figure 65 Enter pairing code 5 Pairing response indicates pairing is successful Figure 66 Open COM
11. Development Kit Quick Start Guide 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 OB 00 02 7F OO 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 1 In MpBtHost window click the paint brush icon button to clear the log window MultiPoint Bluetooth ost v3 5 0 f Configuration Wizard Figure 27 Contiguration window drop down 2 Click the dropdown box Figure 27 and select Information 3 Click Tx Figure 27 The following information should display gt U Iosal US 00 L7 ir Ug CMD_INFORMATION Si OO0O 1l25 UE O
12. First 0x07 Indicates the total length of the packet Second 0x07 Indicates the channel ID 48656C6C6F Hello in hex value E MultiPoint Bluetooth Host v3 5 0 Manual Script Config About Tx ER lt lt Inquiry Wizard ri B LEN CHN CMD FLW DATA FLOW BTS 7 v 6 vw 5 Iv 4 fv 3 fv Joo Joo Joo E ag 47 009 500 07 OF 48 beCecCEF Figure 39 Actual serial data When we type AC on COM4O AC is displayed on the terminal emulation window COM4 7 Figure 40 gt 3 3 all E Ezurio Terminal Ver 6 8 0 CTE CSR CCOM AI RTS DIR BRK Open COM40 115200 N 8 EE IN chnID 7 BdAddr C01885DAE532 Uuid 1101 IY AISI DIR DCD RI NORMAL Sniff Connect to 5s600 Send i 253 Send Hello HelloAC Figure 40 Terminal emulation window The following Figure 41 is the log window for the exchange above Figure 40 MultiPoint Bluetooth Host v3 5 0 Manual Script Contig About Tx lt Inquiry Wizard I LEN CHN CMD FLW DATA FLOW RTS wW 7 v 6 vw 5 Iw 4 fw 3 45e56Cecer lt 47 001 0600 03 O7 43 Figure 41 Log window lt 47 385 557 03 07 41 lt 47 001 060 03 07 43 Americas 1 800 492 2320 Option 3 17 Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless Laird Technologies BT740 Development Kit Quick Start Guide These two lines are the actual serial data sent from the module 0x03 Indicates the total length of the
13. Laird gt BT740 Development Kit Quick Start Guide This Quick Start Guide applies to the following part numbers DVK BT740 SA DVK BT740 SC INTRODUCTION There are two hardware variants on board antenna and uFL connector for external of the BT740 Enhanced Data Module BTv 2 1 specification which interface with a host via an UART and one of two logical protocols There are two logical protocols called AT and MP AT is very similar to the Hayes AT protocol found in traditional modems allowing control of one Bluetooth connection at a time MP is a multipoint packet based protocol which allows the management of multiple simultaneous connections The BT740 ship from Laird facilities with a factory default in AT mode with communications setting of 9600 N 8 1 This guide covers the topics below on the BT740 which is preconfigured in AT mode at production If you chose to convert the BT740 to MultiPoint MP mode follow the Convert Protocol section to switch protocol modes Note Detailed description of both protocols can be found in the BT740 User Manual REQUIREMENTS DVK BT740 including BT740 carrier board BRBLUO3 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 Awww lairdtech com zips LairdTerminal_v6_9_0 zip Laird s MpBtHost utility if using MultiPoint functional
14. O 01 01 0C EVI_STATUS ADDR 00 16 A4 06 05 F7 COM47 115200 N 8 1 Figure 21 MoBTHost MP mode Convert from MP to AT mode There is an S register OxFF to set the protocol mode Figure 22 Host Communications Protocol 1 Multipoint Packet Protocol 255 FF 1 2 2 AT Protocol Automatically saved to non vol memory on write Americas 1 800 492 2320 Option 3 8 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide E MultiPoint Bluetooth Host v3 5 0 Manual Script Config About Tx ia 0 SReg Read LEN CHN CMD FLW DATA FLOW aTs 7 fv 6 Iv 5 vw 4 Jos Joo Jos re FF gt 47 008 923 05 00 03 TF FF CMD READ SREG lt 47 000 109 OA 00 03 7F 00 FF 00000001 RSP READ SREG MPSTATUS OK Figure 22 S Reg protocol mode To put the module in AT mode you can set the register OxFF value to 0x02 and power cycle the module Figure 23 lt MultiPoint Bluetooth Host v3 5 0 Manual Script Config About Tx is lt 2 SReg Write LEN CHN CMD FLW DATA FLOW RTS W 7 vw 6 vw 5 Jos Joo Jos re FF O0000002 gt 47 257 293 09 00 04 7F FF 00000002 CMD WRITE SREG lt 47 000 109 OA 00 04 7F 00 FF 00000002 RSP WRITE SREG MPSTATUS OK Figure 23 S Reg to put module in AT mode E Ezurio Terminal Ver 6 8 0 CTS CSR OCOM AB RTS DTR BRES CAI Open COM47 9600 N 8 1 ati Laird Blueto
15. PUT_NO_OUTPUT No configuration is required for the SPP connection demonstrated in this section For a detailed description of IO capability refer to the user manual and the O Capability section in this guide S Registers Table 1 S Registers Server Profile record Mask Bit O 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 O 1 Default Connectable mode on power up reset 5 05 0 2 Default Discoverable mode on power up reset Default Security mode on power up reset 12 SSP IO_CAP_NO_INPUT_NO_OUTPUT 6 06 12 15 13 SSP IO_CAP_DISPLAY_YES_NO 14 SSP IO_CAP_KEYBOARD_ONLY 15 SSP IO_CAP_DISPLAY_ONLY 3 03 0 3 1 MultiPoint Bluetooth Host v3 5 0 loj x Manual Script Config About Tx Kal lt SReg Read v BREAK Ver Reset Stats Close CTSOSR OCD Ri DTRRTS CONN DISC Goco ry LEN CHN CMD FLW DATA FLOW_RTS V 7 ME MS5MA4AM3 M2 M1 Jos Joo Jos E o gt 47 420 922 05 00 03 7F 03 CMD_READ_SREG lt 47 000 109 OA 00 03 7F 00 03 00000001 RSP_READ SREG MPSTATUS_OK gt 47 003 448 05 00 03 7F 04 CMD_READ SREG lt 47 000 109 0A 00 03 7F 00 04 00000001 RSP_READ SREG MPSTATUS_OK gt 47 011 840 05 00 03 7F 05 CMD_READ SREG lt 47 000 094 OA 00 03 7F 00 05 00000001 RSP_READ SREG MPSTATUS_OK gt 47 00
16. Quick Start Guide F MultiPoint Bluetooth Host 73 5 0 Moral Script Cong Abou a m LEN CHH CHD FLH DATA FLOW RISeF 7 RGR SR AR Do ie 2 i fos Joo fes E s47 037 612 09 00 O4 7E COS CD WAITE sats lt 47 000 110 0A 00 i 7F 00 0A 0NOOOOOA ASP WAITE _SADG MPSTATUS_OK gt 47 028 657 04 00 O68 7F CHD STORE SAIG 247 000 015 06 00 06 TF 0i ASP STORE SREG MPSTATIS Ox Figure 44 Store the S Register Reboot the module 4 Click Reset Figure 45 ae BS GREAK Ver Reset Stats ETS TRGER SRP aR ae ee ME fp ee err Figure 45 Reset button 5 Set the computer built in Bluetooth as Discoverable in B uetooth Settings Figure 46 Bluetooth Settings Jp To protect your privacy select this check box only when you want a Bluetooth device to find this computer Connections M Allow Bluetooth devices to connect to this computer I Alert me when a new Bluetooth device wants to connect M Show the Bluetooth icon in the notification area Figure 46 Bluetooth Settings Pairing To perform pairing follow these steps 1 From the drop down menu select Inquiry Wizard Figure 47 MultiPoint Bluetooth Host v3 5 0 Manual Script Config About Tx lin lt lt Inquiry Wizard LEN CHN CMD FLW DATA FLOW BTS 7 Iw 6 fv 5 iw 4 fw 3 Jos Joo Jos E Figure 47 Select Inquiry Wizard Americas 1 800 492 2320 Option 3 19 Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www la
17. e USB cable to the computer and development board TP2 is the power switch and there is an LED for power indication 4 Install your preferred terminal program We recommend using Laird Ezurio Terminal 5 Install MpBtHost if utilising MP mode 6 Check your Device Manager to determine whether or not your computer is equipped with Bluetooth ml Device Manager m H fi Batteries H 2 Biometric Devices H Bluetooth Radios _ Microsoft Bluetooth Enumerator ThinkPad Bluetooth 4 0 fll Computer Figure 3 Device Manager 7 Plug in the BRBLUO3 010A0 if your computer is not equipped with Bluetooth ool Device Manager E 2 Biometric Devices Fl amp J Bluetooth Radios o Microsoft Bluetooth Enumerator TDK Bluetooth USB Adaptor Figure 4 Device Manager Bluetooth radios Americas 1 800 492 2320 Option 3 2 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide AT MODE Obtain Version amp Bluetooth Address In this example the module is physically connected to the computer on COM47 See the commands in Figure 5 to check firmware version and Bluetooth address The COM port number can be found in Device Manager EQ Ezurio Terminal Ver 6 8 0 loj x CTS OSA OCOM R RTS DTR BRED CAPTURET Echo Clear Data Transfer Test Open COM4 7 9600 N 8 1 ati Laird Bluetooth Data Module 746 SA OK atiss3 1 3 1 1 8 258 8 OK H E Netw
18. hared pin code can be pre entered before pairing takes place if it is a BT v2 0 device the module is attempting to pair with Further explanation can be found in Pairing Procedure I O capability The I O capability of the module is set via S Register 6 9006 in AT mode with the following values 12 0x0C No I O capability 13 0x0D Display with Yes No 14 0x0E Keyboard only 15 0x0F Display Only When both ends are Keyboard only a pre shared six digit number can be entered When both are Display only it is unlikely the devices have services that are useful to either It may be a contrived combination Users should set the module I O capability value which is suitable to their applications Pairing Procedure Depending on the peer device either a legacy pairing or a SSP procedure occurs Table 2 lists combinations Table 2 Pairing procedures BTM74X BT 2 1 or later SSP BTM74X BT 2 0 Legacy pairing To demonstrate the difference see the following sections Americas 1 800 492 2320 Option 3 23 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide Pair with phone equipped with BT 2 1 or later 1 Configure the module with the AT commands below Figure 57 Ezurio Terminal Ver 6 8 0 CTS OSA OCOM AB RTS DTR BRED CAPTURE Open COM47 9600 N 8 1 at OK ati Laird Bluetooth Data Module 74
19. indication Make SPP Connection from Module to Module Another Laird module with MAC address 0016A40605F1 is physically connected on COM24 Figure 15 EJ Ezurio Terminal Ver 6 8 0 CTS OSA CCOM AIM RTS DIR BRK CAPTUR cOM24 9600 N 8 1 Figure 15 Module to module connection In order to make an SPP connection from a module with MAC address 0016A40605F7 to another module with MAC address 0016A40605F1 issue ATD lt peer MAC address gt Figure 16 ET Ezurio Terminal Ver 6 8 0 CTS CSR CCO AB RTS DIR BRET COM47 9600 N 8 1 CONNECT HH16A48685F1 1181 gt Figure 16 ATD lt peer MAC address gt issued Americas 1 800 492 2320 Option 3 6 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide A transparent UART communication is established between these 2 COM ports DCD LED indicates SPP connection is established Figure 17 Er Ezurio Terminal Ver 6 8 0 CTS CSA CCO AIM ATS DTR BRE Open COM 24 9600 N 8 1 atid Hi 6A4H685Fi OK RING 6616A4H685F HH16A4H685F 1181 lt E Figure 17 DCD LED indicator Drop Connection To drop the connection issue the 444 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 EJ Ezurio Terminal Ver 6 8 0 CTS OSA OCOM AB RTS DTR BRED CAPT Open
20. irdtech com wireless Laird Technologies BT740 Development Kit Quick Start Guide 2 Click Inquire Figure 48 MultiPoint Bluetooth Host v3 5 0 Manual Script Config About Tx A lt lt Inquiry Wizard FLOW aTs w 7 iw 6 iw 5 fw 4 fw 3 fInquiry Wizard START gt 47 353 657 OF OO 068 TF O8 OA OO CMD INQUIRY REQ 7 001 076 OD 00 84 TF CO1LBSSDAESS2 3E010C EVI_INQUIRY RESULT 000 203 OD 00 84 TF TCESDSESZAz4 3E010C EVI INQUIRY RESULT 000 063 OD 00 84 TF OO02Z2Z58FerFEFC 26010C EVI_INQUIRY RESULT oos 767 OF 00 08 TF OO 03 oo RSP INQUIRY REQ MPSTATUS OF Figure 48 Click Inquire The computer Bluetooth MAC address CO1885DAE532 is found 3 From the drop down list select Pairing Wizard Figure 49 HultiFoint Bluetooth Host v3 5 0 LEN CHN CMD FLW DATA FLOW _BTS 7 6 Iv 5 fw 4 vw 3 Jos Joo Joa E FF mm Figure 49 Select Pairing Wizard 4 In the Bluetooth Address drop down menu select the Bluetooth Address you want to pair with and click Pair Initiate Pin Code Max 16 chr 1234 Bluetooth Address Is Trusted Timeout Seconds n 1 1 1 1 eo Fair Initiate Cmd_PinCode Cnf_PinCode Quit ee Figure 50 Pairing Wizard Americas 1 800 492 2320 Option 3 20 Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless Laird Technologies BT740 Development Kit Quick Start Guide A pop up window indicates that a new device Is added In
21. ity http Awww lairdtech com zips MpBtHost_v3_5_0 zip Figure 1 BT740 SA Module RS232 cable or USB RS232 adaptor The development kit motherboard s USB socket provides ONLY power to the module A RS232 connection Is required to have serial communications with the module on the carrier board Laird provides a terminal emulator program called Laird EZURiO Terminal for AT mode operation but you can use your preferred terminal emulator program in its place Another program Laird provides is MpBtHost for multipoint MP mode operation This example uses the Microsoft Bluetooth stack and software that comes with Windows 7 If your computer has built in Bluetooth support you can modify the computer aspect of the procedure documented below to match your existing Bluetooth instead of using the supplied BRBLUO3 010A0 PREPARATION To prepare your setup follow these steps 1 Plug in the BT740 Carrier Board to the DVK motherboard NOTE The carrier board plugs into 40 pin Hirose connector as shown in Figure 2 Americas 1 800 492 2320 Option 3 1 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com bluetooth BT740 Development Kit Quick Start Guide 2238 3383283 Connector receptacle for BT740 carrier board lelmle Or H mE SIS Figure 2 Carrier board connector 2 Connect RS232 USB RS232 to the computer and development board 3 Connect th
22. lt peer address gt to start pairing PAIR O indicates pairing is successful The purpose of AT BTT is to check if the link key is stored Figure 12 E Ezurio Terminal Ver 6 8 0 CTS OSA OCOM Al RTS DTR BREE CAPTURES T Open COM4 9600 N 8 1 at hbtin HH16A406805F1 661 F668 Laird H665Fi E at tbtu ibAdAH6GHSFi OK PAIR 8616A4H6805F1 atthtt HA16A4H605F1 Ol Figure 12 Pairing with the module Americas 1 800 492 2320 Option 3 5 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide Make SPP Connection from PC to Module In the previous section the Windows BT stack has allocated COM32 as the outgoing virtual COM port You can open COM32 with a terminal program to make an SPP connection to the module which is on COM47 a transparent UART communication is established between these two COM ports Figure 13 EJ Ezurio Terminal Ver 6 8 0 i CTSS OSA CCOM AB RTS DTA BRK CAPTURE Echo Clear Data Transfer Test Open COM32 9600 N 8 1 Data sent from COM47 Figure 13 SPP connection The DCD LED indicates SPP connection is established Figure 14 E Ezurio Terminal Ver 6 8 0 a CTS OSA OCOM AI ATS DTRI BREE CAPTURE Echo Clear Data Transfer Test lopen COM47 9600 N 8 1 RING C1885 DAES32 CONNECT CH1S85DAES3S2 1161 lt Data sent from COM32 Figure 14 DCD LED
23. mputer Figure 8 Select Add a device 2 Select BT740 module and click Next In Figure 9 Laird O605F7 is the Bluetooth Friendly name which is contigurable W Add a device i ita S F Adda device Select a device to add to this computer Windows will continue to look for new devices and display them here Laird O605F7 Bluetooth What if Windows doesn t find my device Figure 9 Select the BT module Americas 1 800 492 2320 Option 3 4 Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless Laird Technologies BT740 Development Kit Quick Start Guide 3 When the device is successfully added and the two virtual COM ports are ready to use click Close Figure 10 i Driver Software Installation xX Your device is ready to use Standard Serial over Bluetooth link COM40 af Ready to use Standard Serial over Bluetooth link COM32 wf Ready to use Figure 10 Virtual COM ports ready to use The two virtual COM ports display in the COM Ports tab Figure 1 1 x Options COM Ports Hardware Share PIM Interface This computer is using the COM serial ports listed below To determine whether you need a COM port read the documentation that came with your Bluetooth device Port Direction _ Name _ __ _ COM32 Outgoing Laird 0605F7 Serial Port COM40 Incoming Laird 0605F7 Figure 11 Displayed COM ports Pair with Module After inquiry issue AT BTW
24. n Wizard C BREAK Ver Reset St aC CTS CONN DISC m LEN CHN CHD FLW DATA FLOW RTS wW 7 vw 6 Iw 5 Iv 4 vw 3 iv 2 v 1 Joo Joo Joo E gg lt 47 006 428 OD 00 88 TF 01 C0O1885DAE532 1101 EVI_INCOMING CONNECTION arched armEra Far Tenri i ana i Figure 37 Log activity OD 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 He o and type Send EE IN chnID 7 BdAddeCO188S0AE532 Uuid 1 101 E jo x E Erurio Terminal Ver 6 8 0 E B xj AIS DIR DCOM Al Disconnect RSSI CTs DSR OCC RATS DTA BRE CAPTUREN Echo Clear Data Transfer Test NORMAL Sniff Connectto 56600 Send fi 253 Open OORA 115200 N 2 1 z Helle Figure 38 COM 47 and COM 40 exchanging data Americas 1 800 492 2320 Option 3 16 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide 07 07 48656C6C6F Is the actual serial data that should be sent to the module in order send He o over the BT SPP connection Figure 39
25. ork adapters H E Portable Devices E S Ports COM amp LPT Figure 5 Commands for checking firmware version and BT address Configuration By default BT740 is contigured as SPP enabled Discoverable and Connectable SSP lIO_CAP_NO_INPUT_NO_OUTPUT Figure 6 EJ Ezurio Terminal Ver 6 8 0 l CTS OSA OCOM AB ATS DIR BRED CAPTURES Echo Open COM47 9600 N 3 1 Figure 6 Contiguration defaults Make Inquiry You can inquiry nearby Bluetooth devices by issuing AT BTIN In Figure 7 BT740 MAC address 0016A40605F1 found another Laird module with MAC address 0016A40605F1 Americas 1 800 492 2320 Option 3 2 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide E Ezurio Terminal Ver 6 8 0 CTS DERS OCOM AB ATS DIR BRED CAPTURES T Open COM47 9600 N 8 1 AI HTI H HA16A4H605F1 661 FRR Laird H6H5Fi OK atid Hi 6A4H605FY OK ati Laird Bluetooth Data Module 746 SA OK Figure 7 Inquiry example Pair from PC To order to pair with a Bluetooth device trom your PC follow these steps 1 Access Devices and Printers gt Bluetooth Devices 1 Click Add a device Figure 8 eh Devices and Printers g F v All Control Panel Items Devices and Printers Bluetooth Devices Add a device Add a printer Add a wireless or network device to this No items match your search co
26. oth Data Module 7486 5SA OK Figure 24 Converted to AT mode Americas 1 800 492 2320 Option 3 Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless Laird Technologies BT740 Development Kit Quick Start Guide MP MODE The development board with the BT740 carrier board is connected to the computer on COM4 7 MultiPoint Bluetooth Host v3 5 0 Ok Cancel aut wv 115200 None z 1 i s x CTS RTS fso gjeo jso fioo sooo roo00 E 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 lt 47 000 094 0B 00 O02 TF 00 OO0O168A40605F7 RSP READ BDADDR MPSTATUS OK 247 000 000 05 00 17 TF oO CMD INFORMATION State RESET GETVER lt 47 000 093 0E oo 17 TF 00 00 81035011001070601 RSP INFORMATION MPSTATUS OF fModule Firmware Version 1 3 1 1 0 258 0 Platformid CclVer AppVer Dev perId BranchId Build Twig IDLE HMA RESET CLOSING IDLE MANUAL 810 08 00 81 7F 00 01 01 OC EVI_STATUS mir J i Pir 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 module Americas 1 800 492 2320 Option 3 10 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740
27. select Enter the device s pairing code Figure 31 Americas 1 800 492 2320 Option 3 13 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide Add a device e Bi Figure 31 Select a pairing option window b Enter 7234 as the pairing code Figure 32 Add a device fi Figure 32 Enter pairing code c In the pop up dialog box click Ok to complete the pairing Figure 33 Incoming Pairing PinCode Request i Gg 00 80 98 EB 94 57 Figure 33 Incoming Pairing PinCode Request window Americas 1 800 492 2320 Option 3 14 Laird Technologies Europe 44 1628 858 940 Hong Kong 852 2268 6567 x026 www lairdtech com wireless BT740 Development Kit Quick Start Guide 4 When the device is successfully added and the two virtual COM ports are ready to use click Close Figure 34 W Driver Software Installation x Your device is ready to use Standard Serial over Bluetooth link COM40 og Ready to use Standard Serial over Bluetooth link COM32 off Ready to use Figure 34 Virtual COM ports ready to use The two virtual com ports display in the COM Ports tab Figure 35 x Options COM Ports Hardware Share PIM interface This computer is using the COM serial ports listed below To determine whether you need a COM port read the documentation that came with your Bluetooth device
Download Pdf Manuals
Related Search
Related Contents
Manuale dell`operatore ProAgent/PC et ProAgent/MP - Services 環境放射線モニタ Samsung Samsung Monte Vartotojo vadovas Ganz ZNS LPR Manual Service Manual - Drucker Diagnostics Copyright © All rights reserved.
Failed to retrieve file