background image

BTM461 Development Kit 

Quick Start Guide 

Americas: +1-800-492-2320 Option 2  

Laird Technologies 

Europe: +44-1628-858-940  

Hong Kong: +852 2923 0610 

www.lairdtech.com/bluetooth

 

 

Note the sequence that the BTM46x module has to go through. If it fails at any point the process stops and 
an error message is returned. 

IAP:IDPS – indicates that the IDPS process has started. 
IAP:IDPS OK indicates that the IDPS process has been completed. 
IAP:AUTH OK indicates that a valid authentication chip has been found on the device. 

IAP Messages are shown in 

Figure 7

. 

 

Figure 7: IAP Messages during connection

 

Pairing and Connecting from an Apple iOS device 

Technically you cannot make an iAP/SPP connection to a BTM46x, or any other Bluetooth device, from an 
Apple device. There are no API calls within the iOS operating system that allows a Bluetooth connection to be 
made. The application is simply informed that a connection is available. 

However, an Apple device may make a connection by first connecting over another Bluetooth profile. Then, 
the BTM46x closes that connection and opens an SPP/IAP connection. The following S Registers must be set: 

ATS9003=3 – Allows the BTM46x to support both the HID and SPP profiles. 
ATS9089=1 – Allows the BTM46x to initiate an iAP/SPP connection upon a HID request from an Apple device. 

Also, to initiate the connection from another device, the BTM46x must first be made connectable and 
discoverable. To do so, you may set S Register 512 (ATS512=4) or enter the command: 

AT+BTP 

This ensures the BTM46x appears in the list of available devices after inquiry scan, and that it is connectable. 

For these settings to persist, use the AT&W and ATZ commands. 

Note:   When initiating a connection from an Apple device, the connection state on the Apple screen may 

change from “Connected” to “Not Connected” and then back to “Connected”. This is expected, 
as there is initially an HID connection that must be closed before initiating the iAP connection.  

References 

1.

 

BTM46x_MFi_Application Note 

2.

 

LWS-UM-BTM46X 

 

 

Summary of Contents for DVK-BTM46 Series

Page 1: ... values If something goes wrong during the process there are other options to try and settings to check These do not fall within the scope of this document For a fuller description of the BTM46x module and more information on how it communicates with an Apple device see References Requirements DVK BTM46x Development Kit USB cable A B ONLY for power supply to the DVK RS232 Cable For communications ...

Page 2: ...ed for all 8 parameters in Table 1 Several of the parameters have strict formatting requirements detailed in Table 2 Table 2 IPS Parameter Formatting Requirements Parameter Format Hardware Version 6 digit number internally split into three 2 digit values Firmware Version 6 digit number internally split into three 2 digit values Seed Value 10 digit Hexadecimal number Subprotocol Data Name When test...

Page 3: ... ATSxxxx yyyy Here xxxx is the S Register value and yyyy is the hex value to be stored Note that signifies a hex value If there is no the value is a decimal The hex value must lie between 0000 and ffff These registers come with preset values The PID can remain the same but the VID value must be changed as this is the Laird Technologies VID To read the value back use ATSxxxx or ATSxxxx If is append...

Page 4: ...le lastly requires that an authentication chip must be present in the end product This chip can only be purchased by Apple licensees and through approved Apple distributors If this chip isn t present the BTM46x will be unable to connect to an Apple Device The following command reports whether a chip is present ATI149 Figure 4 shows ATI149 confirming an authentication chip is present Figure 4 ATI14...

Page 5: ... all intents Android device means any non Apple device Figure 5 Inquiry Pairing to an Apple and non Apple device To list the devices with which you are paired enter the command AT BTT This returns a list of connected devices with a number indicating if they are Apple 1 or otherwise 2 This list is shown in Figure 6 Figure 6 AT BTT command Connecting The connection command is ATD BdAddr If the SDP i...

Page 6: ...nection is available However an Apple device may make a connection by first connecting over another Bluetooth profile Then the BTM46x closes that connection and opens an SPP IAP connection The following S Registers must be set ATS9003 3 Allows the BTM46x to support both the HID and SPP profiles ATS9089 1 Allows the BTM46x to initiate an iAP SPP connection upon a HID request from an Apple device Al...

Reviews: