Download Print this page

Laird DVK-BTM46 Series Quick Start Manual

Advertisement

Quick Links

BTM461 Development Kit
Quick Start Guide
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
Manufacturer Name
Accessory Name
Accessory Model
Accessory Serial
Seed Value
Firmware Version
Hardware Version
Subprotocol Data Name
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610
www.lairdtech.com/bluetooth
Blob Address
Write Address
Read Address
32769
33025
32770
33026
32771
33027
32772
33028
32773
33029
32774
33030
32775
33031
32776
33032
1
June 2013
ATI150
0x001
0x002
0x004
0x008
0x010
0x020
0x040
0x080
Laird Technologies

Advertisement

loading

Summary of Contents for Laird DVK-BTM46 Series

  • Page 1 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.
  • Page 2 BTM461 Development Kit Quick Start Guide The data is stored and retrieved from non-volatile memory using Laird Technologies BLOB mechanism, which handles data strings of varying sizes. The required command sequence to store data is: AT+BTB=”string” AT+BTBxxxxx “String” is the data that you wish to store (note that the “” are required) and xxxxx is the write address.
  • Page 3 Quick Start Guide Figure 2: UWTerminal interfacing with BTM461 You must also set the VID (Vendor ID) and the PID (Product ID) for the module. Laird may not set these values. These values are stored in S Registers (see Table...
  • Page 4 Unless you know the Bluetooth address of the device you are attempting to pair with, pairing is usually preceded by an Inquiry. The 2 commands are AT+BTI AT+BTW<BdAddr> Americas: +1-800-492-2320 Option 2 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 www.lairdtech.com/bluetooth...
  • Page 5 BTM46x will establish the connecting device’s type from the data returned in the SDP inquiry. The user does nothing differently than if they were connecting to a non-Apple device. Americas: +1-800-492-2320 Option 2 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852 2923 0610...
  • Page 6 “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 Americas: +1-800-492-2320 Option 2 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852 2923 0610 www.lairdtech.com/bluetooth...

This manual is also suitable for:

Btm461Dvk-btm461Dvk-btm511-08