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

 

 

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. 
AT+BTB=”string” stores the string in the BLOB and AT+BTBxxxxx writes the most recently stored string in the 
given address. 

To retrieve data, enter the command: 

AT+BTByyyyy 

Here, yyyyy is the read address. This sequence MUST be repeated 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 testing in Lterminal, must be set to com.lairdtech 

Figure 1

 shows some screenshots from the Laird iOS utility ‘LTerminal’. 

 

 

Figure 1: LTerminal on iOS 

Command ATI150 returns a bit map representing each of the configuration parameters that require setting. If 
this returned value is not 0, then one or more of the parameters have not been set correctly. Any bit that is 
set to 1 indicates the parameter that has not been set. 

Figure 2

 shows a screen shot of the read and write sequence and the expected responses from the module. 

Содержание 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...

Отзывы: