background image

 

 

 

 

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

Laird Technologies 

Europe: +44-1628-858-940  

Hong Kong: +852 2923 0610 

www.lairdtech.com/bluetooth

 

BTM461 Development Kit 

Quick Start Guide 

June 2013 

 

Introduction 

This document briefly describes how to configure a Laird Technologies BTM46x Bluetooth module to pair and 
connect to an Apple iOS device with the SPP/iAP (iPod Accessory Protocol) profile. 

The iAP profile is built on top of the standard SPP profile. In order to meet Apple’s requirements, the Laird 
BTM44x firmware has been adapted so that a series of conditions are met before the Laird BTM46x module 
can function as a Bluetooth device. An extra layer of protocol has also been added so that the BTM46x 
firmware can interface with the Apple’s iAP. 

However, since the BTM46x still communicates with non-Apple Bluetooth devices, the software is designed 
such that the user does not need to know which type of device they are attempting to connect to. The 
connection process is completely seamless. 

This Quick Start Guide details the quickest way to get a BTM46x up and running to communicate with an 
Apple device. It defines the registers/parameters that must be set and the minimum set of commands that are 
required to pair and open a connection. All other settings can be left at their default 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 

 

iOS device supporting iAP (iPhone 3 onwards, iPad 1 
onwards, iPod Touch 4th gen onwards) 

 

Terminal software such as Laird / EZURiO Terminal for PC 

Configuration 

When connecting to an Apple Bluetooth device there are eight 
parameters that must be passed to the Apple device as part of the IDPS (Identify Preferences and Settings) 
process (

Table 1

). These values cannot be set by the module manufacturer (Laird). They must be set by the 

device manufacturer. Apple further requires that these parameters must be empty when the firmware is 
loaded; Laird cannot even set default values. 

Even if you have no intention of connecting to an Apple device, you must set these parameters. This is a 
requirement of the BTM461’s Apple certification. 

Table 1: Parameter Addresses 

Parameter 

Blob Address 

ATI150 

Write Address 

Read Address 

Manufacturer Name 

32769 

33025 

0x001 

Accessory Name 

32770 

33026 

0x002 

Accessory Model 

32771 

33027 

0x004 

Accessory Serial 

32772 

33028 

0x008 

Seed Value 

32773 

33029 

0x010 

Firmware Version 

32774 

33030 

0x020 

Hardware Version 

32775 

33031 

0x040 

Subprotocol Data Name 

32776 

33032 

0x080 

Содержание DVK-BTM46 Series

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: