Recommended PCB Footprint .... 41 Glossary of Terms ....... 10 Diagrams ..........42 AT Command Set ......11 Assumptions ........11 Ordering Information ....45 Product Part Numbers ......45 Commands ........11 General Comments ......45 General AT Commands ..... 11 www.lairdtech.com Laird Technologies...
VoIP phones, and wireless audio links. ® To speed product development and integration, Laird Technologies has developed a comprehensive AT command interface that simplifi es application development, including support for audio and headset functionality. Access to GPIO pins allows mapping for direct connection to actuator buttons on headsets.
79 channels Frequency Hopping Adaptive Frequency Hopping Max Transmit Power +4 dBm @ antenna pad – BTM510 +4 dBmi from integrated antenna – BTM511 (provisional) Min Transmit Power -27 dBm @ antenna pad – BTM510 -27 dBmi from integrated antenna – BTM511 (provisional)
Page 5
External Antenna (option) Pad for 50 Ohm antenna – BTM510 Interface Surface Mount Pads Physical Dimensions 14.0mm x 20.0 x 1.6mm - BTM510 14.0mm x 26.0mm x 1.6mm - BTM511 (provisional) Weight 3 grams Environmental Operating Temperature -30°C to +70°C Storage Temperature -40°C to +85°C...
Request to Send O/P VUSB UART_CTS Clear to Send I/P VUSB UART_TX Transmit data O/P VUSB UART_RX Receive data I/P VUSB PIO7/RF_ACTIVE Host I/O, BT Co-existence PIO6/WLAN_ACTIVE Host I/O, BT Co-existence Reset Module reset I/P See Note 1 www.lairdtech.com Laird Technologies...
Page 7
When operating in line input mode, the input can be connected directly to the module input pins in either single or double ended configuration as follows: Single ended Double ended www.lairdtech.com Laird Technologies...
The RF output pin must be matched to a 50Ω strip-line or coplanar waveguide on the antenna-less version (BTM510). Ensure that there are no exposed conductors under the module to avoid shorts to the test points on the module underside. 3. The PCB footprint is provided for guidance only. Users may wish to modify the PCB land dimensions to suit their specific manufacturing or process. www.lairdtech.com Laird Technologies...
Just like telephony modems, Laird Technologies’ devices powers up in an unconnected state and will only respond via the serial interface. In this state the device will not even respond to Bluetooth Inquiries. Then, just like controlling a modem, the host can issue AT commands which map to various Bluetooth activities.
PBAP Phone Book Access Profile Pulse Width Modulation Sxxx S-Register No. xxx Sub Band Codec Serial Port Profile To Be Determined UART Universal Asynchronous Receiver / Transmitter PASSS THROUGH Command UNIT INFO Command SUBUNIT INFO Command 10 www.lairdtech.com Laird Technologies...
Response: <cr,lf>CALL LIMIT <cr,lf>NO CARRIER<cr,lf> In that case, issuing an ATZ to reset the device will reset the count to 0 and more connections are possible. 11 www.lairdtech.com Laird Technologies...
Page 12
Enable echo. All other values of n will generate an error. Response: <cr,lf>OK<cr,lf> Response: <cr,lf>ERROR nn<cr,lf> 7. ATH {Drop Connection} Drop an existing connection or reject an incoming connection indicated by unsolicited RING messages. Response: <cr,lf>NO CARRIER<cr,lf> 12 www.lairdtech.com Laird Technologies...
Page 13
Set AVRCP role: 0 is feature disabled 1 is Control (CT) (default) 2 is Target (TG) S302 0..4 Set AVRCP category: 0 is Feature disabled (default) 1 is Player/Recorder 2 is Monitor/Amplifier 3 is Tuner 4 is Menu 13 www.lairdtech.com Laird Technologies...
Page 14
Store link key automatically on general bonding outgoing (GBO) S327 0..1 Store link key automatically on dedicated bonding incoming (DBI) S328 0..1 Store link key automatically on general bonding incoming (GBI) S329 0..1 Enable legacy (BISM2) response format 14 www.lairdtech.com Laird Technologies...
Page 15
MUST be set to 0, otherwise a deassertion of DSR will be seen as a request to drop the Bluetooth connection. ® This register affects S Register 536 – see details of 536 15 www.lairdtech.com Laird Technologies...
Page 16
This value is rounded down to the nearest 100ms S530 1000 100..15000 Reconnect delay when configured as master in pure-cable-replacement mode. This value is rounded down to the nearest 100ms. See S Register 505 and 543 also. 16 www.lairdtech.com Laird Technologies...
Page 17
(as if an explicit AT+BTR command was entered). See S Register 505 and 530 also 17 www.lairdtech.com Laird Technologies...
Page 18
If the nibble in 552 is 0, then the relevant pin is an input. Each nibble can take the following value:- 0 Always deassert 1 Always assert 2 Assert if RING is being sent to the host 18 www.lairdtech.com Laird Technologies...
Page 19
After a disconnection, there will be a cold reset S589 0..22 Codec output gain S590 0..22 Codec input gain S591 0..1FF Default GPIO output states when not in a connection. This is used when virtual digital i/o cable replacement mode is in operation 19 www.lairdtech.com Laird Technologies...
Page 20
<cr,lf>OK<cr,lf> and OK is returned after the RESET 12. AT&W {Write S Registers to Non-volatile Memory} Writes current S Register values to non-volatile memory so that they are retained over a power cycle. Response: <cr,lf>OK<cr,lf> Response: <cr,lf>ERROR nn<cr,lf> 20 www.lairdtech.com Laird Technologies...
Page 21
CONFIgurINg 13. ATIn {Information} THE BTM510/511 This will return the following information about the Laird Technologies device. The product name/variant. The CSR firmware build number. The Laird Technologies firmware build number. For internal use only. The Laird Technologies firmware revision.
General Bluetooth Control 1. AT+BTAn {Control Audio Channel} Once a Bluetooth connection is active, and assuming the peer device is also a Laird Technologies device, this command is used to start/stop a SCO channel to transfer audio between the two peer devices. The value N is a bit mask indicating the packet type to be used on the SCO link...
Page 23
This is an 11 bit field used as a mask to define the Major Service Class, as per Table 1.2 in “Bluetooth Assigned Number” Laird Technologies devices do not map to any predefined Major Service Class or Major Device Class and so the default devclass as shipped is 001F00, which means no Major Service Class and “Unclassified”...
Page 24
AT+BTI commands will always return it. Response: <cr,lf>ERROR 27<cr,lf> 11. AT+BTIV<devclass> {Inquire} As per AT+BTI but the response includes the device class code for all inquiry responses. Please refer to the ‘ERROR RESPONSE’ note in the description for AT+BTI<devclass>. Response: <cr,lf>12346789012,123456 <cr,lf>12345678914,123456 <cr,lf>OK<cr,lf> 24 www.lairdtech.com Laird Technologies...
Page 25
The friendly name strings are in UTF-8 format as per the Bluetooth specification. Response: <cr,lf>12346789012,123456,”TDK SYSTEMS AT DONGLE 1” <cr,lf>12345678914,123456, “TDK SYSTEMS RS232” <cr,lf>OK<cr,lf> Note: Many releases of firmware will return the product name as LAIRD, e.g. Response: <cr,lf>12346789012,123456,”Laird BTMM 789012” <cr,lf>12345678914,123456, “TDK SYSTEMS RS232” <cr,lf>OK<cr,lf>...
Page 26
This command is used to display the peer address stored in non-volatile memory, used to put the device in pure cable replacement mode. Response: <cr,lf>123456789012 <cr,lf>OK<cr,lf> If the location is empty the response is as follows. Response: <cr,lf>00000000000 <cr,lf>OK<cr,lf> 26 www.lairdtech.com Laird Technologies...
Page 27
If the cache is empty the response is as follows. Response: <cr,lf>OK<cr,lf> 29. AT+BTX {Disable Page/Inquiry Scanning} Disable page/inquiry scanning. This means it will not accept incoming connections or inquiry requests. In fact this negates the effect of AT+BTQ, AT+BTG and AT+BTP commands. Response: <cr,lf>OK<cr,lf> 27 www.lairdtech.com Laird Technologies...
“AT+G(I|O)?”. There are 2 further commands to restore the cached gain level from S589/S590 (“AT+G(I|O)R”) and to save the currently cached gain level to S589/S590 (“AT+G(I|O)S”). 28 www.lairdtech.com Laird Technologies...
Page 29
Decrement current input AT+GID Error 58 may appear if minimum gain gain level level reached Query current input gain level AT+GI? Restore current input gain AT+GIR level from S590 Save current input gain AT+GIS level to S590 29 www.lairdtech.com Laird Technologies...
Bluetooth Version of the paging device. After an A2DP connection has been established, the module remains in AT Command mode. S Register 531 is ignored for A2DP connections. 30 www.lairdtech.com Laird Technologies...
Page 31
Remote control commands are passed to a subunit with the “PASS THROUGH” command. A BT-MM Module, configured as target will support one PANEL subunit. 3.1 AVRCP - Control (CT) This section describes AT Commands and S registers used when BT-MM is configured as an AVRCP Controller (S301=1). 31 www.lairdtech.com Laird Technologies...
Page 32
Send a Subunit Info request to a connected AVRCP target. Response: <cr,lf>OK<cr,lf> (immediately) And: <cr,lf>AVSR <page > <pagedata > <cr,lf> (after command completion) <page > requested page [0..31] <pagedata > : 1st word of requested page 32 www.lairdtech.com Laird Technologies...
Page 33
It is mandatory to respond to a SUBUNIT INFO command if configured as AVRCP target. Required response parameters are Subunit type and MaxSubUnitId. Subunit type will always be returned as 0x09 (Panel). MaxSubUnitId will always be returned as 0x00 (only one subunit exists, which is panel) 33 www.lairdtech.com Laird Technologies...
Page 34
‘1’ Button released Response on command completion: “AVPTC n <operation_id > <state>” Respond to incoming Pass AT+AVR<avrc_response_type > <avrc_response_type >: see Table 3 10 Through command If S 310 == 1, response from host is not required. 34 www.lairdtech.com Laird Technologies...
(for example on BISM2 the command “AT+BTW<BdAddr>” would be used). After successful pairing, the connection can be initiated by the legacy device (for example on BISM2 the “ATD<BdAddr>” command would be used). 37 www.lairdtech.com Laird Technologies...
= “NO CARRIER 110D”; If no AVRCP connection has existed: response = “NO CARRIER” Disconnect all profiles ATH* Response = “NO CARRIER <ProfileUUID>” for each previously connected profile 3. Production Info String A string with production information can be retrieved by “ATI200”. 38 www.lairdtech.com Laird Technologies...
Device Class could not be stored Invalid Device Class Code Invalid Bluetooth Address Could not set Service or Friendly name PS Store Write PS Store Read Not Idle Incorrect Mode Already Scanning Pairing is already in progress Not USED 39 www.lairdtech.com Laird Technologies...
Page 40
No A2DP or AVRCP connection currently incoming Invalid operation ID (AVRCP) Wrong AVRCP role Command disabled by S-Register 310 Production info string does not exist Audio resource error Invalid UUID Maximum gain level reached Minimum gain level reached 40 www.lairdtech.com Laird Technologies...
Global length of pad to edge of board Units rECOMMENdEd PCB FOOTPrINT MODULE OUTLINE (See note 2) Pad Width 0.7 Typ 10.6 Pad Length 1.65 Typ RF OUT (See Note 1) (all dimensions in mm) pin pitch 1x14 21.2 41 www.lairdtech.com Laird Technologies...
Development Board with BTM511 soldered in place Q2-2009 gENErAL COMMENTS This is a preliminary datasheet. Please check with Laird Technologies for the latest information before commencing a design. If in doubt, ask. Refer to the schematic BTV-R-003.pdf for the Development Kit on the following two pages for examples of typical pin connections.
Page 46
As a result of any event, circumstance, action, or abuse beyond the control of Laird Technologies, whether such damages be direct, indirect, consequential, special or otherwise and whether such damages are incurred by the person to whom this warranty extends or third party. If, after inspection, Laird Technologies’ determines that there is a defect, Laird Technologies will repair or replace the OEM transceiver at their discretion. If...
Need help?
Do you have a question about the BTM511 and is the answer not in the manual?
Questions and answers