all | frequencies |
|
exhibits | applications |
---|---|---|---|---|
manual |
app s | submitted / available | |||||||
---|---|---|---|---|---|---|---|---|
1 |
|
User Manual | Users Manual | 484.92 KiB | March 11 2009 | |||
1 | Cover Letter(s) | March 11 2009 | ||||||
1 | Schematics | March 11 2009 | ||||||
1 | Cover Letter(s) | March 11 2009 | ||||||
1 | External Photos | March 11 2009 | ||||||
1 | Internal Photos | March 11 2009 | ||||||
1 | ID Label/Location Info | March 11 2009 | ||||||
1 | Cover Letter(s) | March 11 2009 | ||||||
1 | Cover Letter(s) | March 11 2009 | ||||||
1 | Test Report | March 11 2009 | ||||||
1 | Test Report | March 11 2009 | ||||||
1 | Cover Letter(s) | March 11 2009 | ||||||
1 | Test Setup Photos | March 11 2009 |
1 | User Manual | Users Manual | 484.92 KiB | March 11 2009 |
BTM410/411 DATA MODULE USER MANUAL w w w
. l a i r d t e c h
. c o m Innovative Technology for a Connected World BTM410/411 Bluetooth AT Data Module REVISION HISTORY REVISION HISTORY Revision Description 2 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module TABLE OF CONTENTS CONTENTS BTM410/411 Bluetooth Module ..4 Overview .............................................. 4 BTM410/411 Key Features ................... 4 Speci cations ................................5 Detailed Speci cations ......................... 5 Pin De nitions ...................................... 7 Operating Parameters ...................8 Voltage Speci cations .......................... 8 Con guring the BTM410/411 ........9 AT Command Set .............................. 10 Assumptions ...................................... 10 Commands ........................................ 10 Unsolicited Responses ........................ 30 Incoming Connections ........................ 31 Pairing and Trusted Devices ............... 32 Error Responses .................................. 33 Factory Default Mode ........................ 34 Miscellaneous Features ....................... 34 Disclaimers ......................................... 35 Application Examples ..................36 RS232 Modem Signals ....................... 36 Modem Signaling over Bluetooth ..... 37 Pure Cable Replacement Mode .......... 37 Audio Cable (Voice) ........................... 38 Modem Control and Status Signals .... 39 Mechanical Drawings ..................40 Mechanical Details ............................. 40 Recommended PCB Footprint ............ 41 Notes for PCB Layout ......................... 41 Diagrams ............................................ 42 Ordering Information ..................44 Product Part Numbers ........................ 44 General Comments ............................ 44 3 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module OVERVIEW AND KEY FEATURES The BTM410 and BTM411 Bluetooth modules from Laird Technologies have been designed to meet the needs of developers who wish to add robust, short range Bluetooth data connectivity to their products. They are based on the market leading Cambridge Silicon Radio BC04 chipset, providing exceptionally low power consumption with outstanding range. They support the latest Bluetooth Version 2.1 Speci cation, providing the important advantage of Secure Simple Pairing, which improves security and enhances the ease of use for end customers. With physical sizes as small as 12.5 x 18.0mm and best of class, low-power operation, these modules are the ideal choice for applications where designers need both performance and minimum size. For maximum exibility in systems integration, the modules are designed to support a separate power supply for I/O. To aid product development and integration, Laird Technologies has integrated a complete Bluetooth protocol stack within the modules, including support for the Bluetooth Serial Port Pro le. The modules are fully quali ed as Bluetooth End Products, allowing designers to integrate them within their own products with no further Bluetooth Quali cation. They can then list and promote their products on the Bluetooth website free of charge. Future releases include support for the Bluetooth Health Device Pro le, making this module the ideal choice for manufacturers who are developing Continua Health Alliance compliant devices. A comprehensive AT command interface is included, which simpli es rmware integration. Combined with a low cost developers kit, this ensures that the choice of Laird Technologies Bluetooth modules guarantees the fastest route to market. APPLICATION AREAS Embedded Devices Phone Accessories Security Devices Medical and Wellness Devices Automotive Applications Bluetooth Advertising ePOS FEATURES AND BENEFITS Bluetooth v2.1+EDR Adaptive Frequency Hopping to cope with interference from other wireless devices Secure Simple Pairing support External or internal antenna options Comprehensive AT interface for simple programming Bluetooth END Product Quali ed Compact size Class 2 output 4dBm Low power operation UART interface Multi-point support PCM and SCO for external codec GPIO lines under AT control Support for Serial Port Pro le Support for Health Device Pro le (Q3 09) Wi-Fi co-existence 4 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module SPECIFICATIONS CATEGORIES Wireless Speci cation Antenna Modes UART Interface General Purpose Interface Audio FEATURE Bluetooth Transmit Class Frequency Channels Max Transmit Power Min Transmit Power Receive Sensitivity Range Data Transfer Rate External Antenna Integrated Antenna (option) Serial Interface Baud Rate Bits Parity Stop bits Default Serial parameters Levels Modem Control I/O Support SCO Channels PCM Interface Protocols and Firmware Bluetooth Stack Pro les Firmware Upgrade Connection Modes IMPLEMENTATION Version 2.1+EDR Class 2 2.402 2.480 GHz 79 channels Frequency Hopping Adaptive Frequency Hopping
+4 dBm at antenna pad BTM410
+4 dBmi from integrated antenna BTM411 (provisional)
-27 dBm at antenna pad BTM410
-27 dBmi from integrated antenna BTM411
(provisional)
-84dBm Up to 50 metres free space Up to 300 kbps 50 Ohm matched SMT pad BTM410
+0dBi multilayer ceramic BTM411 (provisional) RS-232 bi-directional for commands and data 16550 compatible Con gurable from 1,200 to 921,600bps Non-standard baud rates supported 8 Odd, even, none 1 or 2 9600,n,8,1 Set by VDD_USB input DTR, DSR, DCD, RI, RTS, CTS 8 general purpose I/O pins 3 PCM Channels @ 64kbps Support SCO and eSCO Con gurable as master or slave 8 bit A-law 8 bit -law 13 bit linear PCM Clock available when in slave mode V2.1 compliant. Fully integrated. GAP (Generic Access Pro le) SDP (Service Discovery Pro le) SPP (Serial Port Pro le) HDO (Health Device Pro le) 2009 release Available over UART Point to point (cable replacement) Multipoint max 3 slaves 5 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module SPECIFICATIONS CATEGORIES FEATURE Command Interface AT Instructions set Current Consumption Supply Voltage Coexistence / Compatibility Connections Physical Environmental Approvals Miscellaneous Multipoint Software Data Transfer Low Power Sniff Mode Supply I/O USB & UART WLAN (802.11) Interface External Antenna (BTM410) Dimensions Weight Operating Temperature Storage Temperature Bluetooth FCC CE & R&TTE Lead free Warranty Development Tools Development Kit IMPLEMENTATION Comprehensive control of connection and module operation S Registers for non-volatile storage of parameters Supports multiple connections Typically 32mA Less than 2.5mA 3.0V 3.3V DC 1.7V 3.3V DC (independent of Supply) 1.7V 3.6V DC (independent of Supply) 2-wire and 3-wire hardware coexistence schemes supported Surface Mount Pads Pad for 50 Ohm antenna 12.5mm x 18.0 x 1.6mm BTM410 12.5mm x 24.0mm x 1.6mm BTM411 (provisional) 3 grams
-30C to +70C
-40C to +85C Quali ed as an END product Meets FCC requirements Modular Approval
(Integrated Antenna option BTM411) Meets CE and R&TTE requirements Lead-free and RoHS compliant 12 Months Development board and software tools DVK-BTM410 Dev Kit with BTM410 module tted DVK-BTM411 Dev Kit with BTM411 module tted 6 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module SPECIFICATIONS PIN SIGNAL DESCRIPTION VOLTAGE SPECIFICATION 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 Unused GND UART_CTS UART_RXD UART_RTS UART_TXD GND SPI_CSB SPI_MISO SPI_MOSI SPI_CLK VDD_USB VDD_IO VDD_IN GND PCM_IN PCM_SYNC PCM_CLK PCM_OUT RESET GPIO5 GPIO3 / UART_DCD GND Unused Unused Unused Unused GND ANT (BTM410) GND Unused Unused Unused Unused Unused Unused Unused Unused Unused Unused GND GPIO2 / UART_RI GPIO9 /UART_ DTR GPIO10 / UART_DSR GND D-
D+
GPIO7 GPIO6 GPIO4 VUSB VUSB VUSB VUSB VIO VIO VIO VIO VIO VIO VIO VIO See note 2 VIO VIO Clear to Send I/P Receive data I/P Request to Send O/P Transmit data O/P SPI bus chip select I/P SPI bus serial O/P SPI bus serial I/P SPI bus clock I/P USB & UART supply voltage I/O supply voltage Main supply voltage PCM clock I/P PCM sync I/P PCM clock I/P PCM Data O/P Module reset I/P I/O for host I/O for host Antenna connection (50 ohm matched) I/O for host I/O for host I/O for host Not used for AT module variants Not used for AT module variants I/O for host I/O for host I/O for host VIO VIO VIO VUSB VUSB VIO VIO VIO Note:
1. Unused pins may have internal connections and must not be connected. 2. Reset input is active low. Input is pulled up to VDD_IN via 22k. Minimum reset pulse width is 5ms. 7 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module OPERATING PARAMETERS OPERATING PARAMETERS RECOMMENDED OPERATING CONDITIONS OPERATING CONDITION VDD_USB
(USB compatibility not required) VDD_USB
(USB compatibility required) VDD_IO VDD_IN MIN 1.7 3.1 1.7 3.0 VOLTAGE SPECIFICATIONS LOGIC LEVELS (VUSB) INPUT VOLTAGE LEVELS V ih V 1.7<VDD_USB<1.9 2.7<VDD_USB<3.0 il TYP MIN 0.7VDD_IO
-0.4
-0.4
(Iout = -4mA) oh
(Iout = 4mA) ol OUTPUT VOLTAGE LEVELS (1.7<VDD_USB<1.9) V V OUTPUT VOLTAGE LEVELS (2.7<VDD_USB<3.0) V V
(Iout = -4mA) oh
(Iout = 4mA) ol VDD_USB 0.4 VDD_USB 0.2 Note: VDD_USB must be connected to power the USB and UART interfaces. LOGIC LEVELS (VIO) INPUT VOLTAGE LEVELS V ih V il 0.7VDD_IO MIN TYP
-0.4
-0.4 OUTPUT VOLTAGE LEVELS (1.7 < VDD_IO < 1.9) Voh (Iout = -4mA) Vol (Iout = 4mA) OUTPUT VOLTAGE LEVELS (2.7 < VDD_IO < 3.0) Voh (Iout = -4mA) Vol (Iout = 4mA) VDD_IO 0.4 VDD_IO 0.2 MAX 3.6 3.6 3.3 3.3 MAX
+0.8
+0.4 0.4 0.2 MAX
+0.8
+0.4 0.4 0.2 8 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 INTRODUCTION This document describes the protocol used to control and con gure the BT Data Bluetooth device. The protocol is similar to the industry standard Hayes AT protocol used in telephony modems which is appropriate for cable replacement scenarios, as both types of devices are connection oriented. The telephony commands have been extended to make the device perform the two core actions of a Bluetooth device, which is make/break a connection and Inquiry. Many other AT commands are also provided to perform ancillary functions, such as, pairing, trusted device database management and S Register maintenance. Just like telephony modems, the device 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. The command set is extensive enough to allow a host to make connections which are authenticated and/or encrypted or not authenticated and/or encrypted or any combination of these. Commands can be saved, so that on a subsequent power up the device is discoverable or automatically connects. The device has a serial interface which can be con gured for baud rates from 1200 up to 921600 (default setting is 9600) and an RF communications end point. The latter has a concept of connected and unconnected modes and the former will have a concept of command and data modes. This leads to the matrix of states shown below. RF UNCONNECTED RF CONNECTED Local Command Mode Remote Command Mode Data Mode OK ILLEGAL ILLEGAL OK OK OK The combinations, Data and RF Unconnected Mode and Remote Command and RF Unconnected Mode do not make sense and will be ignored. Navigation between these states is done using the AT commands which are described in detail in subsequent sections. 9 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 AT COMMAND SET Assumptions The CSR (Cambridge Silicon Radio) Bluecore chipset in Laird Technologies devices is memory resource limited. Therefore it is NOT proposed that there be full implementation of the AT protocol as seen in modems. The claim made for this device is that it will have a protocol similar to an AT modem. In fact, the protocol is similar enough so that existing source code written for modems, can be used with very little modi cation with a Laird Technologies device. Therefore the following assumptions are made:
1. All commands are terminated by the carriage return character 0x0D, which is represented by the 2. All responses from the device have carriage return and linefeed characters preceding and 3. All Bluetooth addresses are represented by a xed 12 digit hexadecimal string, case insensitive. 4. All Bluetooth Device Class codes are represented by a xed 6 digit hexadecimal string, case insensitive. appending the response. These dual character sequences have the values 0x0D and 0x0A respectively and shall be represented by the string <cr,lf>. string <cr> in descriptions below this cannot be changed. Commands This section describes all available AT commands. Many commands require mandatory parameters and some take optional parameters. These parameters are either integer values, strings, Bluetooth addresses or device classes. The following convention is used when describing the various AT commands.
<bd_addr>
A 12 character Bluetooth address consisting of ASCII characters 0 to 9, A to F and a to f.
<devclass>
A 6 character Bluetooth device class consisting of ASCII characters 0 to 9, A to F and a to f. N M
<string>
<uuid>
A positive integer value. An integer value which could be positive or negative, which can be entered as a decimal value or in hexadecimal if preceded by the $ character. E.g. the value 1234 can also be entered as $4D2 A string delimited by double quotes. E.g. Hello World. The character MUST be supplied as delimiters. A 4 character UUID number consisting of ASCII characters 0 to 9, A to F and a to f. 1. ^^^ {Enter Local Command Mode}
When in data and connected mode, the host can force the device into a command and connected mode so that AT Commands can be issued to the device. The character in this escape sequence is module is providing access to a modem. speci ed in the S2 register, so can be changed. In addition, the escape sequence guard time is speci ed by S Register 12. By default the guard time is set to 100 milliseconds. Please refer to Section 5: Dropping Connections for more related information. In modems this escape sequence is usually +++. ^^^ is speci ed to avoid confusion when the Response: <cr,lf>OK<cr,lf>
connected mode so that AT Commands can be issued to the device remotely. The escape sequence guard time is speci ed by S Register 12 and is the same as per the ^^^ escape sequence. By default the guard time is set to 100 milliseconds. The remote device issues ATO as normal to return to data 2. !!! {Enter Remote Command Mode}
When in data and connected mode, the host can force the remote device into a command and mode. (Refer to step 12) For this command to be effective S Register 536 must be set to 1. Response: <cr,lf>OK<cr,lf>
10 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 3. AT Used to check the module is available. Response: <cr,lf>OK<cr,lf>
4. ATA {Answer Call}
Accept an incoming connection, which is indicated by the unsolicited string
<cr,lf>RING 123456789012<cr,lf> every second. 123456789012 is the Bluetooth address of the connecting device. Response: <cr,lf>CONNECT 123456789012<cr,lf>
is an optional parameter which speci es the UUID of the pro le server to attach to, and if not supplied then the default UUID from S Register 101 is used. As this is a device which utilises the RFCOMM layer as described in the Bluetooth speci cation, it necessarily implies that only pro les based on RFCOMM can be accessed. If <U> is not speci ed, then authentication is as per register 500, otherwise the connection will be authenticated. If <Y> is not speci ed, then encryption is as per register 501, otherwise the connection will have encryption enabled. The timeout is speci ed by S register 505. Response: <cr,lf>CONNECT 123456789012<cr,lf>
5. ATD<U><Y><bd_addr>,<uuid> {Make Outgoing Connection}
Make a connection to device with Bluetooth address <bd_addr> and SPP pro le <uuid>. The <uuid>
Or Or Due to a known issue in the Bluetooth RFCOMM stack, it is not possible to make more than 65525 outgoing connections in a single power up session. Therefore if that number is exceeded, then the connection attempt will fail with the following response:-
Response: <cr,lf>CALL LIMIT In that case, issuing an ATZ to reset the device will reset the count to 0 and more connections are possible. The following RFCOMM based UUIDs are de ned in the Bluetooth Speci cation:-
<cr,lf>NO CARRIER<cr,lf>
<cr,lf>NO CARRIER<cr,lf>
PROFILE NAME Serial Port LAN Access Using PPP Dialup Networking IrMC Sync OBEX Object Push OBEX File Transfer IrMC Sync Command Headset Cordless Telephony Intercom Fax Audio Gateway WAP WAP_CLIENT UUID 0x1101 0x1102 0x1103 0x1104 0x1105 0x1106 0x1107 0x1108 0x1109 0x1110 0x1111 0x1112 0x1113 0x1114 11 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 6. ATD<U><Y>L {Remake Connection}
Make a connection with the same device and service as that speci ed in the most recent ATD Or command. The <UY> modi ers are optional. An error will be returned if the L modi er is speci ed AND a Bluetooth address. If both L and R modi ers are speci ed then an error will be returned. Response: <cr,lf>CONNECT 123456789012 AE<cr,lf>
<cr,lf>NO CARRIER<cr,lf>
7. ATD<U><Y>R {Make Connection to peer speci ed in AT+BTR}
Make a SPP connection with the device address speci ed in the most recent AT+BTR command. Or The service is as speci ed in S Register 101. The <UY> modi ers are optional. An error will be returned if the R modi er is speci ed AND a Bluetooth address. If both R and L modi ers are speci ed then an error will be returned. Response: <cr,lf>CONNECT 123456789012 AE<cr,lf>
<cr,lf>NO CARRIER<cr,lf>
8. ATEn {Enable/Disable Echo}
This command enables or disables the echo of characters to the screen. A valid parameter value will be written to S Register 506. E0 E1 Disable echo. Enable echo. Or All other values of n will generate an error. Response: <cr,lf>OK<cr,lf>
Response: <cr,lf>ERROR nn<cr,lf>
9. ATH {Drop Connection}
Drop an existing connection or reject an incoming connection indicated by unsolicited RING messages. Response: <cr,lf>NO CARRIER<cr,lf>
10. ATIn {Information}
This will return the following information about the Laird Technologies device. I0 I1 I2 I3 I4 I5 I6 I7 I8 I9 The product name/variant. The CSR rmware build number. The Laird Technologies rmware build number. For internal use only. The Laird Technologies rmware revision. A 12 digit hexadecimal number corresponding to the Bluetooth address of the device. The manufacturer of this device. The maximum size of trusted device database. The manufacturer of the Bluetooth chipset. The chipset format. 0 if not in a connect state and 1 if in a connect state. 12 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 I11 The reason why a NO CARRIER resulted in the most recent attempt at making an outgoing connection. Where the response values are as follows:
0 = No prior connection 1 = Connection timeout 2 = Connection attempt cancelled 3 = Normal disconnection 4 = Peer device has refused connection 5 = Service pro le <uuid> requested not available on remote device 6 = Connection has failed 32 = ATH was entered 33 = Incoming connection aborted because too many rings 34 = Unexpected incoming connection 35 = Invalid address 36 = DSR is not asserted 37 = Call limit of 65531 connections has been reached 38 = Pairing in progress 39 = No link key 40 = Invalid link key 255 = Unknown Reason The last ERROR response number. The Sniff status is returned as follows:-
Response:
<cr,lf>a:b,c,d,e<cr,lf>OK<cr,lf>
Where a = 0 when not online and 1 when online and Sniff has been enabled, b is the Sniff Attempt parameter, c is the Sniff timeout parameter, d is the minimum sniff interval and e is the maximum sniff interval. All parameters b, c, d and e are given as Bluetooth slots which are 625 microseconds long converted from values of S Registers 561, 562, 563 and 564 respectively. The current boot mode (Only for rmware 1.18.0 and newer) The maximum length of an AT command, including the terminating carriage return
(only for rmware 1.6.10 and newer) The size of AT command input buffer Returns the number of bytes pending to be sent in the rf buffer when a connection is up. Version number of Multipoint application (Note: ATI is provided for compatibility in multipoint mode, other AT commands are not available). State information. Where the response values are as follows:
13 = NotOpen 14 = OpenIdle 15 = Ringing 16 = OnlineCommand 172 to 177 = waiting for connectable and/or discoverable where the lowest signi cant digit equates to the value stored in S Register 512 or 555. Note when n=16, ATI9 will return 1. I12 I13 I14 I15 I16 I20 I33 I42 I101 I111 The RSSI value in dBm. If a connection does NOT exist then a value of -32786 is returned. A value of 0 means the RSSI is within the golden range this is quite a large band, therefore RSSI is not always a useful indicator. Use ATI111 instead which returns the bit error rate. Returns LinkQual which in the CSR chipset is de ned as BER (bit error rate). This returns a value which is the number of bits in error out of 1 million. Hence a value of 0 is best, and larger values are worse. As the value approaches 1000 (BER = 0.1%) it is an indication that the link is very bad and a large number of Bluetooth packets are being lost. 13 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 For recognised values of n. All other values of n will generate an error. Response: <cr,lf>As Appropriate<cr,lf>OK<cr,lf>
Or Response: <cr,lf>ERROR nn<cr,lf>
Return to data mode. Assume that the module is in data mode after OK is received. Responds with an error if there is no Bluetooth connection. Response: <cr,lf> CONNECT 123456789012<cr,lf>
11. ATO {Enter Data Mode} (letter o) Or Response: <cr,lf>ERROR nn<cr,lf>
As with modems, the Bluetooth module employs a concept of registers which are used to store parameters, such as escape sequence character, inquiry delay time etc, as listed in detail below. The value part m can be entered as decimal or hexadecimal. A hexadecimal value is speci ed via a $
leading character. For example $1234 is a hexadecimal number. 12. ATSn=m {Set S Register}
When S register values are changed, the changes are not stored in non-volatile memory UNTIL the AT&W command is used. Note that AT&W does not affect S registers 520 to 525 or 1000 to 1010 as they are updated in non-volatile memory when the command is received. REGISTER DEFAULT RANGE S0
-1..15 1 S2 0x5E 0x20..0x7E S12 S100 S101 S102 S103 S126 S127 S500 S501 S502 S503 100 15 40..5000 0..15
$1101 0..$ffff 1 1
0 0 0 0 1 1..7 0 .. 0xFFFF 0 .. 0xFFFF 0..1 0..1 0..1 0..1 COMMENT Number of RING indication before automatically answering an incoming connection. A value of 0 disables autoanswer. If -1, then autoanswer on one RING and do NOT send RING/CONNECT response to the host. This emulates a serial cable replacement situation. Setting values >= 0, resets S Register 504 to 0 and <0 forces 504 to 1. If S0 <> 0 and S100 <> 0 then S0 must be < S100. If a value is entered which violates this rule, then ERROR 29 is sent in response. If S504 =1 then this register will return -1, regardless of the actual value stored in non-volatile memory. Escape sequence character. It is not + by default as a Bluetooth serial link can be used to connect to a mobile phone which exposes an AT command set, which will in turn use + as default. So if both used + there will be confusion. 0x5e is the character ^. Escape sequence guard time in milliseconds, with a granularity of 20ms. New values are rounded down to the nearest 20ms multiple Number of RING indications before an auto disconnection is initiated. A value of 0 disables this feature. If S0 <> 0 and S100 <> 0 then S0 must be < S100. If a value is entered which violates this rule, then ERROR 29 is sent in response. UUID of default SPP based pro le when not speci ed explicitly in the ATD command. De nes a set of bits masks for enabling pro le servers. Values can be ORed. 1 is the default and only value allowed for this module which enables Serial Port Pro le Boot Mode on cold boot. Primer for changing to Multipoint mode 0x100 for At mode 0x200 for Multipoint mode Other values are reserved Authentication for outgoing connections. Set to 1 to Enable Authentication. Encryption for outgoing connections. Set to 1 to Enable Encryption. Authentication for incoming connections. Set to 1 to Enable Authentication. Encryption for incoming connections. Set to 1 to Enable Encryption. 14 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 REGISTER DEFAULT RANGE S504 0..1 0 S505 10 2..120 S506 S507 1 0 0..1 0..2 S508 S509 S510 S511 S512 640 320 640 320 1 10..2550 10..2550 10..2550 10..2550 0..7 S513 S514 1 10 0..1 1..60 15 www.lairdtech.com COMMENT Setting to 1 will force S0 to -1 and will suppress messages arising from connections or pairing. E.g. CONNECT, NO CARRIER, RING, PAIR etc. Suppressing connection based messaged allows the device to be con gured in cable replacement mode. Minimum delay before abandoning connection attempt as a master. Referenced by ATD. In units of seconds. See S Registers 530 and 543 also. Please note that as disconnection time can vary, this register only guarantees the minimum delay. Note that for invalid addresses speci ed in the ATD command, the NO CARRIER response will be immediate. See S register 560 for specifying disconnect max timeout. Enable/Disable echoes. The ATEn command also affects this. When set to 0, a connection can be dropped using ^^^ escape sequence only and the state of DSR line is ignored. When set to 1 a connection can be dropped using EITHER the ^^^ escape sequence OR the DSR handshaking line. When set to 2, a connection can only dropped using a deassertion of DSR. Mode 2 provides for the highest data transfer rate. If the status of the DSR line is to be conveyed to the remote device as a low bandwidth signal then this register 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 For the Go blue Activator variant this can only be set to 0. Page Scan Interval in milliseconds. Minimum is 11.25ms so 10/11ms will give 11.25ms. Page Scan Window in milliseconds. Minimum is 11.25ms so 10/11ms will give 11.25ms. Inquiry Scan Interval in milliseconds. Minimum is 11.25ms so 10/11ms will give 11.25ms. Inquiry Scan Window in milliseconds. Minimum is 11.25ms so 10/11ms will give 11.25ms. Specify power up state. When set to 0, AT+BTO is required to open the device for Bluetooth activity. When set to 1, it proceeds to a state as if AT+BTO was entered. When set to 2, it will be discoverable only, similar to issuing AT+BTQ. When set to 3, it will be connectable but not discoverable e.g. AT+BTG When set to 4, it will be connectable and discoverable e.g. AT+BTP. When set to 5, it will be like 2, but all UART RX traf c is discarded in absence of a connection while DSR is asserted. If DSR is not asserted, then it behaves exactly as per mode 2. When set to 6, it will be like 3, but all UART RX traf c is discarded in absence of a connection while DSR is asserted. If DSR is not asserted, then it behaves exactly as per mode 3. When set to 7, it will be like 4, but all UART RX traf c is discarded in absence of a connection while DSR is asserted. If DSR is not asserted, then it behaves exactly as per mode 4. Note that by implication, a change to this can only be seen after a power cycle AND if AT&W is actioned prior to the power cycle. If S Reg 554 is non-zero and this register is between 2 and 7 inclusive, then the value of S554 speci es the time in seconds that the device will remain in the speci ed mode after power up. On timeout, the device will fall back to the mode speci ed in S Register 555. S512 continued. In some rmware builds, S Registers 565 to 569 inclusive are visible, which allows the start-up mode to depend on the state of RI line (Setting S Reg 565 forces the RI pin to be con gured as an input). For this feature to be active, SReg 565 should be set to 1. In that case, on start-up, if RI is asserted, then the start-up mode is de ned by S Reg 566 and if deasserted then S Reg 567. Pairing Authentication, 1 = Enable Pairing Timeout in seconds. This includes the time a host takes to supply the PIN number when PIN? messages are indicated. Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 REGISTER DEFAULT RANGE S515 0x001F00 0.. 0xFFFFFF S516 0x000000 0..0x2FFFFFF S517 S518 20 8 2..61 0..255 S519 500 100..6000 COMMENT Default Device Class Code to be used with AT+BTO when it is not explicitly speci ed. When queried, the value is always printed as a hexadecimal number. To change the device class of the module, after AT+BTO, use the command AT+BTC. Default Device Class lter to be used with AT+BTI when it is not explicitly speci ed. When queried the value is always printed as a hex number. The seventh most signi cant digit, can be 0,1 or 2, and is used to specify the type of device class lter. When 0, it speci es no ltering. When 1, it speci es an AND mask and all 24 bits are relevant When 2, it speci es a lter to look for devices with matching major device class which occupies a 5 bit eld from bits 8 to 12 inclusive (assuming numbering starts at bit 0). All other 19 bits MUST be set to 0. Inquiry Length in units of seconds. This parameter is referenced by the AT+BTI command Maximum number of responses from an inquiry request. This parameter is reference by the AT+BTI command. If this number is set too high, then AT+BTI will return ERROR 27. For a particular rmware revision, determine the effective maximum value by trial and error. That is, set to a high value, send AT+BTI and if ERROR 27 is returned, then retry with a smaller value. This effective max value will remain unchanged for that particular rmware build. When S507>0, and in a connection, DSR can be used to change from data to command state by deasserting the DSR line for less than the time speci ed in this register. This value is rounded down to the nearest 100ms S520 9600 S521 See Comment S522 S523 S524 S526 1 1 0 3 S530 1000 1200..115200 Change to a standard baud rate. The effect is immediate and in fact the OK will be sent at the new baud rate. Only one of the following baud rates are accepted: 1200,2400,4800,9600,19200,28800,38400,57600,115200. 1200..921600 Change baud rate to non-standard value. Laird Technologies modules support any baud rate. The only limitation is the integer arithmetic involved, which may adjust the applied rate slightly. If the internally computed baud rate is more than 2% offset from the desired input value, then an ERROR will be returned and the old baud rate will prevail. To inspect the actual baud rate, do ATS521?
S521 should only be used for non-standard baud rates. For standard baud rates use S520. The effect is immediate and in fact the OK will be sent at the new baud rate. In the event that a non-standard baud rate is requested, it is entirely possible that the host is not capable of generating such a baud rate. In this case the device cannot be communicated with. If this happens, there is a procedure to recover from this situation which is described in section titled Factory Default Mode 1 = CTS/RTS hardware handshaking enabled Number of Stop bits Parity. 0=None, 1=Odd, 2=Even This register speci es a 2 bit mask used to qualify how S Registers 520 to 524 are actioned. When bit 0 is 1, the new comms parameter affects the UART immediately. When bit 1 is 1, the new comms parameter is stored in non-volatile memory So for example, to change comms parameters, but have them come into effect only after subsequent power cycles, then this register should be set to 2, and likewise to affect immediately and yet not have it persist over a power cycle, the value should be set to 1. Must be set before the baud rate change. Reconnect delay when con gured as master in pure-cable-replacement mode. This value is rounded down to the nearest 100ms. See S Register 505 and 543 also 1 1..2 0..2 1..3 100..15000 16 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 REGISTER DEFAULT RANGE S531 0..5 0 S532 S533 S534 S535 S536 S538 S539 S540 S541 S542 S543 0 1 1 20 0 0 0 0 6 6 0 0..7 0..2 0..2 0..41 0..1 0..1 0..1 0 48..127
-50..6
-50..6 0..1 S544 1 0..1 COMMENT Speci es the mode on connection establishment. 0 = Normal, that data is exchanged between UART and RF 1 = LOCAL_COMMAND. UART input is parsed by the AT interpreter and RF data is discarded 2 = REMOTE_COMMAND. RF input is parsed by the AT interpreter and UART data is discarded. If S Reg 536 is not 1 then this register cannot be set to 2 and an ERROR will be returned 3 = LOCAL_COMMAND. UART input is parsed by the AT interpreter and incoming RF data is sent to the host using the RX<string>
asynchronous response. 4 = LOCAL_COMMAND and on the rf side, the gpio is automatically sent when there is a change in input. See section 9.5 for more details. 5 = DEAMON mode If non zero then on every connection, a SCO channel (audio) will be initiated. Bit 0 for HV1, Bit1 for HV2 and Bit2 for HV3. When the connection is lost, the SCO channel disappears along with it. If set to 1 then GPIO5 follows RI state, if set to 2 then it follows the state of DSR and if 0 it is not driven and GPIO5 is available as a user I/O. This register will not necessarily be effective immediately after changing the value. It must be saved to non-volatile memory using AT&W and will operate as expected after an ATZ or a power cycle. When set to 0, GPIO4 is available as user i/o If set to 1 then GPIO4 follows DCD state. If set to 2 then GPIO4 behaves as per setting 1, but in addition, when not in a connection, if the device is connectable or discoverable, then GPIO4 will blink. This register will not necessarily be effective immediately after changing the value. It must be saved to non-volatile store using AT&W and will operate as expected after an ATZ or a power cycle. Link Supervision Timeout. If units go out of range, then a NO CARRIER message will be sent to the host after the time speci ed here When set to 1, a remote device can capture the AT parser of this unit by it sending this module an escape !!! sequence. The inter character timing is set via S Register 12. If S Register 507 is >= 2, then reading this register will always return 0 and writing 1 will result in ERROR 33. If 1, then when a successful pairing occurs, it is automatically saved in the trusted device database if it has room to store it. When set to 1, in idle mode (S512=1), UART Rx characters are discarded if DSR is deasserted. Sets the MTU in L2CAP con guration negotiations. The value of 0 is a special value which is taken to mean that the current value should remain. This sets the power level in dBm when inquiring or paging. Reading this register returns the value stored in non-volatile memory. As per S541, however reading this register returns the current power level as set in the base band. The read can be different from S541because the actual power is set using a lookup table and the base band rounds down to the nearest value in the table. If this is set to 1, then incoming pairing attempts will be accepted (if a pin code has been pre-entered using AT+BTK) while in the wait phase of auto connect cycle initiated by the AT+BTR command. In addition to accepting pairing attempts, if the pairing is successful, then the new device is automatically set as the peer address for automatic connections (as if an explicit AT+BTR command was entered). See S Register 505 and 530 also Con gure the UART for either low latency or maximum throughput. A setting of 1 gives maximum throughput. 17 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 REGISTER DEFAULT RANGE S551 0x3211 0xFFFF S552 0x0122 0x0FFF S553 0x0201 0x0FFF COMMENT This register speci es in each 4 bit nibble, how the outgoing modem status bits to the remote peer gets its value. Bluetooth allows for RTR, RTC, DV and IC bits to be exchanged over an RFCOMM connection. Nibble 0..3 speci es the source for RTC 4..7 speci es the source for RTR 8..11 speci es the source for DV (i.e. DCD) 12..15 speci es the source for IC (i.e. RI) Each nibble can take the following value:-
0 Always set to 0 1 Always set to 1 2 If DCD (pin 8 on module connector) is output then always 1 If DCD is input then 1 if DCD is asserted otherwise 0 3 If RI (pin 6) is output then always 0 If RI is input then 1 if RI is asserted otherwise 0 4 If DSR (pin 10) is asserted then 1 otherwise 0 In the event that a nibble speci es DSR as the source of its state, be aware that if, S Register 507 is anything other than 0, a de-assertion of DSR will cause the Bluetooth connection to be dropped. If bits 0..3 and 4..7 are set to 0, then some Bluetooth devices will use that as a signal to stop sending any data back. For example, Nokia 6310 stops responding. If this register is changed while in command and connected mode, then on going back online using the ATO command, a fresh signal will be sent to the peer to update the bits. This register speci es in each 4 bit nibble, how the DTR, DCD, RI output pins are controlled when in a Bluetooth connection Nibble 0..3 speci es the source for DTR 4..7 speci es the source for DCD 8..11 speci es the source for RI Each nibble can take the following value:-
0 Do NOT touch the I/O 1 Always deassert 2 Always assert 3 If RTC bit in CONTROL_IND is 1 then assert otherwise deassert 4 If RTR bit in CONTROL_IND is 1 then assert otherwise deassert 5 If DV bit in CONTROL_IND is 1 then assert otherwise deassert 6 If IC bit in CONTROL_IND is 1 then assert otherwise deassert If this register is changed while in command and connected mode, then on going back online using the ATO command, the modem output lines will get refreshed. This register speci es in each 4 bit nibble, how the DTR,DCD,RI output pins are controlled when NOT in a Bluetooth connection Nibble 0..3 speci es the source for DTR 4..7 speci es the source for DCD 8..11 speci es the source for RI In addition it also refers to S Register 552 to see if the relevant pin is an input or not to be touched. 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 BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 REGISTER DEFAULT RANGE S554 0..900 0 S555 1 1..7 S556 0 0..3 S557 S558 32 0 4..900 0..1 S559 0 0..3 S560 15 15..120 S561 S562 S563 S564 S565 S566 S567 S568 0 0 0 0 0 1 1 1 0..1000 0..1000 0..1000 0..1000 1 7 7 7 COMMENT If S Register 512>=2 and <=7 then this register speci es a time in seconds for which the device will stay in the S512 mode after power up or reset. On timeout, it will abort the discoverable and/or connectable and fall back into S512=1 mode, when it is deaf and dumb. Note that if AT+BTR has been used to specify a peer device, then on reverting to mode 1, it will attempt to make a connection to that peer device. A power cycle, reset via BREAK or ATZ is required to see the effects of change. If S Register 554 is nonzero, then after the post reset window expires, the mode will revert to the mode speci ed in this register. This allows, for example, the device to be discoverable and connectable on power up (mode 4 or 7) and on window timer expiry to revert to connectable only (mode 3 or 6). A power cycle, reset via BREAK or ATZ is required to see effects of a change. In some rmware builds, S Registers 565 to 569 inclusive are visible, which allows the start-up mode to depend on the state of RI line (Setting S Reg 565 forces the RI pin to be con gured as an input). For this feature to be active, SReg 565 should be set to 1. In that case, on start-up, if RI is asserted, then the start-up mode is de ned by S Reg 568 and if deasserted then S Reg 569. Allows GPIO or ADC values to be read via the minor class eld in an inquiry response. When this value is non-zero, bits2 to 7 contain information as follow:-
1 :- ADC1 2 :- ADC2 3 :- GPIO1 to GPIO6 Set to 0 to disable this feature. This allows i/o information to be conveyed without a connection. Speci ed in seconds, the update interval for the feature enabled via S Reg 556 When 1, the following responses; RING, NO CARRIER and CONNECT are replaced by BTIN, BTDOWN and BTUP respectively. This will eliminate ambiguity when the module has a Bluetooth connection to an AT modem which also gives these responses. This speci es a mask. When Bit 0 is 1, the response word ERROR is replaced by BTERR and OK is replaced by ok. When Bit 1 is 1, then error responses do not include the error number and instead the error number can be retrieved using ATI12. Disconnect timeout in seconds. This timer speci es how long to wait for con rmation from the peer device and/or the underlying stack that the connection has been successfully torn down. There can be instances where a con rmation does not arrive and so in this case this timer is used to close off the procedure and put the state machine back into a proper mode for new operations. Time is speci ed with 15 seconds intervals. Sniff Attempt Time in units of milliseconds. 0 means disable. See section Power Consumption and Reset in the user guide for more details. Sniff timeout Time in units of milliseconds. 0 means disable. See section Power Consumption and Reset in the user guide for more details. Sniff Minimum Interval in units of milliseconds. 0 means disable. See section Power Consumption and Reset in the user guide for more details. Sniff Maximum Interval in units of milliseconds. See section Power Consumption and Reset in the user guide for more details. If set to 1, RI (Ring Indicate) line is con gured as an input and forces the start-up mode (SReg512) and post-timeout on Start-up mode (SReg555) to be dependent on the state of RI. The RI conditional modes are de ned by SRegs 566 to 569 inclusive. If S565=1, and RI is asserted then this is the mode the device will start up in. If S565=1, and RI is deasserted then this is the mode the device will start up in. If S565=1, and RI is asserted then this is the mode the device will assume after the post-start-up timeout de ned in SReg 554 instead of mode de ned in SReg555 19 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 REGISTER DEFAULT RANGE S569 1 7 S583 0xB 0 .. 0x1F S584 0 0..1 S585 S586 S587 S588 S589 S590 S591 S592 S593 S600 S601 S610 S611 S620 S621 S622 S623 S624 S625 S626 S627 S628 S629 S631 0 1000 0 0 8 1 0 0 0
0 0 0 n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a 0..9 100..5000 0..100 0..1 0..F 0..3 0..1FF 0..1 0..1 0..65535 0..1 0..7FFF 1 0..31 0..1 0..1 0..1 0..1 0..1 0..1 0..1 0..1 0..1 0..65535 S632 n/a 0..65535 COMMENT If S565=1, and RI is deasserted then this is the mode the device will assume after the post-start-up timeout de ned in SReg 554 instead of mode de ned in SReg555 This speci es the initial state of the following modem control lines sent to the peer Bit 0 := RTC (DTR/DSR) Bit 1 := RTR (RTS/CTS) Bit 2 := IC (Ring Indicate RI) Bit 3 := DV (DCD) Bit 4 := FC (Reserved) Enable/Disable eSCO When changing the unit returns ERROR 14 it implies the device is either in a connection or waiting for a connection and so the new value cannot be accepted. For the former, drop the connection, then issue the command AT+BTX and then set the new value and for the latter issue the command AT+BTX prior to setting the register. GPIO pin set to 0 to disable the feature Pulse period in milliseconds (rounded down to nearest multiple of 50) Duty cycle in percent (rounded to the nearest multiple of 4) After a disconnection, there will be a cold reset Codec output gain Codec input gain Default GPIO output states when not in a connection. This is used when virtual digital i/o cable replacement mode is in operation Set this to 1 to reduce the trusted device database to just 1 record when autosaving of pairing is enabled via S reg 538 Automatically append last 6 digits of local bluetooth address to the friendlyname which was set via AT+BTN or AT+BTF Number of times this module has gone through a reset cycle. This feature is enabled by S Reg 601. Writing any value to this register will initialise it to a certain value If this is 1, then on reset S Reg 600 value will be incremented. Set direction of digital I/O lines. This is a mask made up of 5 bits. Setting a bit to 1 makes that I/O line an output. GPIO1 is bit 0, GPIO2 is bit 1, up to bit 4 for GPIO5. Set to 1 to invert the logic of GPIO outputs. For example, ATS621=1 will set the output pin to low and vice versa. Read/Write to all 8 Digital lines in one atomic step. The value is returned as a 4 digit hexadecimal value with trailing 0s. Read/Write to GPIO1 Read/Write to GPIO2 Read/Write to GPIO3 Read/Write to GPIO4 Read/Write to GPIO5 Read/Write to GPIO6 Not available in Bism1 Read/Write to GPIO7 Not available in Bism1 Read/Write to GPIO8 Not available in Bism1 Read/Write to GPIO9 Not available in Bism1 When GPIO1 is con gured as an input, low to high transitions are counted. There is no software debouncing. External RC circuit may be required. The counter wraps to 0 when it over ows beyond 65535. When GPIO2 is con gured as an input, low to high transitions are counted. There is no software debouncing. External RC circuit may be required. The counter wraps to 0 when it over ows beyond 65535. 20 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 REGISTER DEFAULT RANGE S641 0..65535 0..65535 S642 0..65535 S701 0..65535 S702 S711 0000..FFFF 0000..FFFF S712 0 S721 0 S722 S1001 to 0.. 2^32 S1010 n/a n/a n/a n/a n/a n/a 0 0 COMMENT As per 631, but the action of reading the value will reset the count to 0. As per 632, but the action of reading the value will reset the count to 0. Read/Write to Analogue Line 0, when reading value is returned in decimal Read/Write to Analogue Line 1, when reading value is returned in decimal Read/Write to Analogue Line 0, when reading value is returned in hexadecimal Read/Write to Analogue Line 1, when reading value is returned in hexadecimal Set direction of Analogue Line 0 Set direction of Analogue Line 1 10 General Purpose 32 bit Registers for use by host. These are stored in non-volatile memory. 13. ATSn? {Read S Register Value}
This will return the current value of register n. For recognised values of n Response:
For unrecognised values of n Response: <cr,lf>ERROR nn<cr,lf>
<cr,lf>As Appropriate<cr,lf>OK<cr,lf>
14. ATSn=? {Read S Register Valid Range}
This will return the valid range of values for register n. For recognised values of n Response:
For unrecognised values of n Response:
<cr,lf>ERROR nn<cr,lf>
<cr,lf>Sn:(nnnn..mmmm)<cr,lf>OK<cr,lf>
15. ATX<string> {Send Data in Local Command and Connected Mode}
This command is used to send data to the remote device when in local command and connected mode. The parameter <string> is any string not more than 24 characters long. If a non-visual character is to be sent then insert the escape sequence \hh where hh are two hexadecimal digits. The 3 character sequence \hh will be converted into a single byte before transmission to the peer. Response:
<cr,lf>OK<cr,lf>
16. ATY<string> {Send Data in Local Command and Connected Mode}
This command is similar to ATX in syntax and functionality, except that the string is only copied to the output rf buffer. Only when an empty string is presented will all pending data in the output rf buffer be ushed out. The parameter <string> is any string not more than 24 characters long. If a non-visual character is to be sent then insert the escape sequence \hh where hh are two hexadecimal digits. The 3 character sequence \hh will be converted into a single byte before transmission to the peer. Response:
<cr,lf>OK<cr,lf>
21 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 Forces the device through a hardware reset which means it will eventually come alive in the local command and unconnected mode. This allows changes to the PS store to take effect. The module 17. ATZ<n> {Hardware Reset and emerge into mode n}
will issue an OK response after the reset is complete and it is ready to receive commands once again. ATZ and ATZ0 signify reset and emerge into the current mode (see command ATI14). ATZ1 to ATZ4 instructs the module to reset and then emerge into the appropriate boot mode. Note that S Reg 103 speci es the boot mode from cold. Response: <cr,lf>OK<cr,lf> and OK is returned after the RESET 18. AT&Fn {Set S Register Defaults}
This command will only work when the device is in local command and unconnected mode. Depending on the value of n it installs S Register values appropriate for various power modes, ranging from minimum power consumption to maximum. Legal values of n are as per the following table. All other values of n will generate a syntax error response. If n is not speci ed then a default value of 0 is assumed where the baud rate is NOT changed.
&F0 (Default) Medium power consumption, UART baud rate unchanged.
&F1
&F2
&F3
&F4
&F5 Minimum power consumption, UART baud rate set to 9600. Minimum power consumption, UART baud rate set to 38400. Minimum power consumption, UART baud rate set to 115200. Medium power consumption, UART baud rate set to 115200. Maximum power consumption, UART baud rate set to 115200. Maximum power consumption, UART baud rate set to 115200.
&F6 The new values are NOT updated in non-volatile memory until the AT&W command is sent to the device. Response:
<cr,lf>OK<cr,lf>
Or Response:
<cr,lf>ERROR nn<cr,lf>
The AT&F* variant of the command installs values in S registers as per command AT&F4 and then all other user parameters in non-volatile memory are erased. This means that the trusted device database is cleared, and so are parameters related to the following commands:- AT+BTR, AT+BTN, AT+BTS. Response: <cr,lf>OK<cr,lf>
19. AT&F* {Clear Non-volatile Memory}
Or Response: <cr,lf>ERROR nn<cr,lf>
This command erases all user parameters in non-volatile memory except S Registers 520 to 525. This means that the trusted device database is cleared, and so are parameters related to the following commands:- AT+BTR, AT+BTN, AT+BTS. Response:
<cr,lf>OK<cr,lf>
20. AT&F+ {Clear Non-volatile Memory}
Or
<cr,lf>ERROR nn<cr,lf>
Response:
21. 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. Or
<cr,lf>ERROR nn<cr,lf>
<cr,lf>OK<cr,lf>
Response:
Response:
22 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 22. 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 which will connect the PCM interfaces of the two peer devices. This means that if a codec is attached to the PCM pins, then 2-way audio can be established.
+BTA0
+BTA1 Switch off the channel. Switch on the channel. Response: <cr,lf>OK<cr,lf>
The lower layers then go through the process of setting up the SCO channel, and as soon as a SCO link is established, the following response is asynchronously sent to the host. Response:
On receipt of the command, the following response immediately follows. Or if the SCO failed to be established. On the peer device, the host will asynchronously get .
<cr,lf>AUDIO FAIL<cr,lf>
<cr,lf>AUDIO ON<cr,lf>
<cr,lf>AUDIO ON<cr,lf>
Response:
Response:
23. AT+BTC<devclass> {Set Device Class Code}
This command is used to set the device class code which will be sent in subsequent inquiry responses. It can be read back using the AT+BTC? Command, as described below.
<devclass> is a 6 digit hexadecimal number derived as per section 1.2 The Class of Device/Service Field of the Bluetooth speci cation Bluetooth Assigned Numbers. The 24 bits are made of 4 elds brie y described as follows (bit 0 corresponds to the least signi cant bit):-
Bits 0-1 Bits 2-7 Bits 8-12 Bits 13-23 Format Type. This eld currently only has a value of 00 (i.e. format type 1) These 6 bits de ne the Minor Device Class and the value is interpreted differently based on the Major Device class stored in the next 5 bits. These 5 bits de ne the Major Device Class as per Table 1.3 in Bluetooth Assigned Numbers This is an 11 bit eld used as a mask to de ne the Major Service Class, as per Table 1.2 in Bluetooth Assigned Number Laird Technologies devices do not map to any prede ned Major Service Class or Major Device Class and so the default devclass as shipped is 001F00, which means no Major Service Class and Unclassi ed Major Device class. Other examples of device class codes are follows:-
CODE (HEXADECIMAL) 001F00 NAME Unclassi ed MAJOR SERVICE None MAJOR DEVICE Unclassi ed MINOR DEVICE n/a 200404 Headset Audio Audio Headset Response:
<cr,lf>OK<cr,lf>
Or for an invalid <devclass> value (usually a value which is not 6 hexadecimal characters long).
<cr,lf>ERROR 08<cr,lf>
Response:
24. AT+BTC? {Read Device Class Code}
This command is used to read the current device class code. Response:
<cr,lf>123456
<cr,lf>OK<cr,lf>
23 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 25. AT+BTD<bd_addr> {Remove Trusted Device}
This command is used to remove the speci ed device from the list of trusted devices in the non-volatile database. If the device is not in the database then the response will still be an OK. Response:
<cr,lf>OK<cr,lf>
This command is used to remove all devices from the list of trusted devices in the non-volatile database. No con rmation will be asked for. So beware!!!
26. AT+BTD* {Remove All Trusted Devices}
WARNING: If you make an authenticated connection, the link key gets cached in the underlying stack. So if you subsequently delete the key using AT+BTD* and immediately request an authenticated connection to the same device, then the connection will be established. To ensure this does not happen, either send ATZ after the AT+BTD* OR send AT+BTD<bd_addr>
for each item in the trusted device database. Response:
<cr,lf>OK<cr,lf>
27. AT+BTF=<string> {Set Friendly Name}
This sets the friendly name of this device as seen by other devices Response:
<cr,lf>OK<cr,lf>
28. AT+BTF<bd_addr> {Get Remote Friendly Name}
This command gets the remote friendly name of the peer speci ed. Response:
<cr,lf><bd_addr>,Friendly Name
<cr,lf>OK<cr,lf>
29. AT+BTG<bd_addr> {Enable Cautious Page Scanning ONLY}
Enable page scanning and wait for a connection from device with Bluetooth address <bd_addr>. If the speci ed address is 000000000000 then incoming connections are accepted from any device, is as per AT+BTP without an address. Inquiry Scans are disabled. This command also has variants which allow authentication and encryption to be explicitly speci ed. For example:-
Response:
AT+BTGU123456789012 AT+BTGY123456789012 AT+BTGUY123456789012 AT+BTGYU123456789012
<cr,lf>OK<cr,lf>
30. AT+BTG {Enable Promiscuous Page Scanning ONLY}
Enable page scanning only and wait for a connection from any device. Inquiry scans are disabled. Authentication and Encryption is as per S registers 502 and 503. Response:
<cr,lf>OK<cr,lf>
31. AT+BTGU {Enable Promiscuous Page Scanning ONLY}
Enable page scanning only and wait for a connection from any device. Inquiry scans are disabled. Authentication is enabled and encryption is disabled. Response:
<cr,lf>OK<cr,lf>
24 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 32. AT+BTGY {Enable Promiscuous Page Scanning ONLY}
Enable page scanning only and wait for a connection from any device. Inquiry scans disabled. Authentication is disabled and encryption is enabled. Response:
<cr,lf>OK<cr,lf>
33. AT+BTGUY {Enable Promiscuous Page Scanning ONLY}
Enable page scanning only and wait for a connection from any device. Inquiry scans are disabled. Authentication and encryption are both enabled. The order of U and Y is not signi cant. Response:
<cr,lf>OK<cr,lf>
<cr,lf>12346789012
<cr,lf>12345678914
<cr,lf>OK<cr,lf>
This will make the device perform an inquiry for device class code for delay milliseconds and max number of unique responses, where delay is speci ed by S register 517 and max is speci ed by S register 518. The <devclass> is an optional parameter where the value speci es either a 6 digit device class code or a 2 digit major device class. If it is not speci ed, then the value is taken from S register 516. 34. AT+BTI<devclass> {Inquire}
When <devclass> is 6 hexadecimal characters long, it speci es an AND mask which is used to lter inquiry responses. When <devclass> is 2 hexadecimal characters long, it forces the inquiry to lter responses to devices that match their major device class code to this value which can only be in the range 00 to 1F. Response:
If the module is waiting for an incoming connection, (entered via AT+BTP, AT+BTG, AT+BTQ), then it will respond with ERROR 14. To perform the inquiry, send AT+BTX to put the module back into idle mode. Response:
ERROR RESPONSE A Bluetooth inquiry process is such that for a single inquiry request a device could respond many times. To ensure that an address is sent to the host only once for a particular AT+BTI, an array of addresses is created at the start of each AT+BTI and is lled as responses come in. This array of addresses is stored in dynamic memory and as such if the memory allocation fails then the inquiry procedure is aborted and in that case an error response is sent to the host. To clarify, a single AT+BTI will never return the same Bluetooth address more than once, but as long as the responding device is active, all AT+BTI commands will always return it. Response:
<cr,lf>ERROR 14<cr,lf>
<cr,lf>ERROR 27<cr,lf>
35. 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>
25 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 As per AT+BTI but the response includes the device class code and friendly name for all inquiry responses. Please refer to the ERROR ESPONSE note in the description for AT+BTI<devclass>. The friendly name strings are in UTF-8 format as per the Bluetooth speci cation. 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 rmware will return the product name as LAIRD, e.g. Response:
36. AT+BTIN<devclass> {Inquire}
We strongly recommend that any software implementation that uses this command should check
<cr,lf>12346789012,123456,TDK SYSTEMS AT DONGLE 1
<cr,lf>12345678914,123456, TDK SYSTEMS RS232
<cr,lf>OK<cr,lf>
for LAIRD, EZURIO and TDK SYSTEMS to ensure backwards and forwards compatibility. 37. AT+BTK=<string> {Set Passkey}
This command is used to provide a passkey when PIN? 12345678 indications are received asynchronously. If a pairing is not in progress then the pin is written to non-volatile memory for future use. Specifying an empty string deletes the key from the non-volatile memory. The string length must be in the range 0 to 8, otherwise an error will be returned. Response:
<cr,lf>OK<cr,lf>
This command is used to store a peer address for incoming connections in non-volatile memory. A value of 000000000000 has the special meaning of invalid peer address. 38. AT+BTM<bd_addr> {Set Incoming Peer Address}
When S register 512 = 3, 4, 6 or 7 then it will wait for an incoming connection from the peer address speci ed. If the peer address is not 000000000000, then it waits for a connection from the speci ed master, otherwise will connect to anyone. Response:
<cr,lf>OK<cr,lf>
39. AT+BTM {Delete Incoming Peer Address}
This command is used to delete the peer address previously stored using AT+BTR<bd_addr>. Response:
<cr,lf>OK<cr,lf>
This command is used to display the peer address stored in non-volatile memory, used to put the 40. AT+BTM? {Read Incoming Peer Address}
module in pure cable replacement mode. Response:
If the location is empty the response is as follows. Response:
<cr,lf>12346789012
<cr,lf>OK<cr,lf>
<cr,lf>00000000000
<cr,lf>OK<cr,lf>
This sets the default friendly name of this device as seen by other devices. It will be stored in non-volatile memory. Use AT+BTF to make the name visible to other devices. Use AT+BTN?
To read it back. An empty string () will delete the string from non-volatile memory which 41. AT+BTN=<string> {Set Friendly Name in Non-volatile Memory}
will force the default name to be used.
<cr,lf>OK<cr,lf>
Response:
26 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 42. AT+BTN? {Read Friendly Name from Non-volatile Memory}
Read the default friendly name from non-volatile memory. Response:
<cr,lf>My FriendlyName<cr,lf>
<cr,lf>OK<cr,lf>
43. AT+BTO<devclass> {Open and make Unit Detectable}
After power up and ATZ, this command is sent so that RFCOMM is initialised and opened and the service name as speci ed in AT+BTN is exposed via the SDP registry. The <devclass> value speci es an optional xed length hexadecimal device class code. If it is not speci ed, then the device class code is taken from S Register 515. For this command to be effective, S Register 512 must be set to 0. Response:
<cr,lf>OK<cr,lf>
44. AT+BTP<bd_addr> {Enable Cautious Page/Inquiry Scanning}
Enable page scanning and wait for a connection from device with Bluetooth address <bd_addr>. If the speci ed address is 000000000000 then incoming connections are accepted from any device, is as per AT+BTP without an address. Inquiry scanning is also enabled. This command also has variants which allow authentication and encryption to be explicitly speci ed. For example:-
Response:
AT+BTPU123456789012 AT+BTPY123456789012 AT+BTPUY123456789012 AT+BTPYU123456789012
<cr,lf>OK<cr,lf>
45. AT+BTP {Enable Promiscuous Page/Inquiry Scanning}
Enable page scanning and wait for a connection from any device. Inquiry scanning is also enabled. Authentication and Encryption is as per S registers 502 and 503. Response:
<cr,lf>OK<cr,lf>
46. AT+BTPU {Enable Promiscuous Page/Inquiry Scanning}
Enable page scanning and wait for a connection from any device. Inquiry scanning is also enabled. Authentication is enabled and encryption is disabled. Response:
<cr,lf>OK<cr,lf>
47. AT+BTPY {Enable Promiscuous Page/Inquiry Scanning}
Enable page scanning and wait for a connection from any device. Inquiry scanning is also enabled. Authentication is disabled and encryption is enabled. Response:
<cr,lf>OK<cr,lf>
48. AT+BTPUY {Enable Promiscuous Page/Inquiry Scanning}
Enable page scanning and wait for a connection from any device. Inquiry scanning is also enabled. Authentication and encryption are both enabled. The order of U and Y is not signi cant. Response:
<cr,lf>OK<cr,lf>
49. AT+BTQ {Enable Inquiry Scans ONLY}
When inquiry scan is enabled, it implies that this device will respond to inquiries from other devices. Use AT+BTX to disable inquiries. Response:
<cr,lf>OK<cr,lf>
27 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 50. AT+BTR<bd_addr> {Set Outgoing Peer Address}
This command is used to store a peer address for outbound connections in non-volatile memory. A value of 000000000000 has the special meaning of invalid peer address. This command is used to set up a module in pure cable replacement mode. If S register 512 = 1 and the peer address is NOT 000000000000, then it will periodically (time speci ed via S register 505) attempt to connect to the peer address speci ed. In this circumstance all commands from the host are buffered in the receive buffer, until a Bluetooth connection is established with the peer device and it then sends the buffer across. This means that if the peer device is not in the vicinity and will never be there, the device effectively becomes useless, as in this circumstance a host would want to get attention of the AT parser to send it new commands probably one to delete the peer device. In this circumstance, a recovery is possible by one of two methods. The rst method assumes that the DTR from the host is connected to the DSR line of the module and the second method assumes that this connection is absent. In the rst method it is enough to deassert the DTR line from the host and that will abort the autoconnect cycle. The second method is initiated by resetting the device and then ensuring that the text string AT+BT&BISM&<cr> is sent (where <cr> is the carriage return character). There is special code which looks out for this magic command and terminates the autoconnect cycle if it sees it and con rms to the host of that fact by sending an OK response. Response:
<cr,lf>OK<cr,lf>
51. AT+BTR {Delete Outgoing Peer Address}
This command is used to delete the peer address previously stored using AT+BTR<bd_addr>. Response:
<cr,lf>OK<cr,lf>
52. AT+BTR? {Read Outgoing Peer Address}
This command is used to display the peer address stored in non-volatile memory, used to put the device in pure cable replacement mode.
<cr,lf>12346789012 Response:
<cr,lf>OK<cr,lf>
If the location is empty the response is as follows. Response:
<cr,lf>00000000000
<cr,lf>OK<cr,lf>
53. AT+BTS=<string> {Set Service Name}
This writes the name to non-volatile memory. It will be used after ATZ, power cycle or AT+BTO if it has not been issued yet. Use AT+BTS? to read it back from non-volatile memory. An empty string
() will delete the string from non-volatile memory which will force the default service to be used. Response:
If the service name cannot be set for any reason then an error response ERROR 11 is returned.
<cr,lf>OK<cr,lf>
54. AT+BTS? {Read Service Name from Non-volatile Memory}
Reads the default service name from non-volatile memory. Response:
<cr,lf>My ServiceName<cr,lf>
<cr,lf>OK<cr,lf>
28 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 This command is used to store the cached link key in the non-volatile database. If the database is full it will respond with an ERROR. If the device is already in the database, then the key is replaced. If the link key cache is empty, that is, a pairing has not been performed since the device was powered, then the response will be an ERROR. Response:
55. AT+BTT {Add Trusted Device}
Or
<cr,lf>OK<cr,lf>
Response:
<cr,lf>ERROR<cr,lf>
This command is used to list the contents of the trusted device database. The link key is NOT displayed so the response is as shown below. If the list is empty then just the OK response is sent otherwise an 56. AT+BTT? {List Trusted Device}
OK is used to terminate the list. Use the command ATI6 to read the maximum size of the trusted device database. Response:
<cr,lf>12346789012
<cr,lf>12345678913
<cr,lf>12345678914
<cr,lf>OK<cr,lf>
This initiates pairing with a device whose Bluetooth address is <bd_addr>. An OK response is sent and when the PIN is required, asynchronous indications will be sent to the host in the form PIN?
<bd_addr> where the address con rms the device with which the pairing is to be performed. To supply a PIN, use the AT+BTK command. For a successful pairing, the link key is stored in a volatile cache which is overwritten every time a new pairing is initiated using this command. The link key can be stored in a non-volatile database 58. AT+BTW<bd_addr> {Initiate Pairing}
within the device. The list of trusted devices is managed using commands AT+BTT?, AT+BTT and AT+BTD. The AT+BTT? command produces a list of trusted Bluetooth addresses (link key is NEVER displayed) and AT+BTT is used to store the cached link key. The command AT+BTD123456789012 is used to remove the speci ed device from the database. The OK response is sent immediately on receipt of the AT+BTW command. On pairing completion, an unsolicited message will be sent to the host which will be in the form PAIR n <bd_addr>. See section 3.7 for more details. If AT+BTI or AT+BTP or AT+BTG or AT+BTQ or ATD is issued between the AT+BTW command and the subsequence PAIR asynchronous response, then an ERROR response will be sent to those commands as the device is not in a mode from where such commands can be actioned. Response:
<cr,lf>OK<cr,lf>
59. AT+BTW? {List Cached Trusted Device}
This command is used to list the cached trusted device. Response:
If the cache is empty the response is as follows. Response:
<cr,lf>12346789012
<cr,lf>OK<cr,lf>
<cr,lf>OK<cr,lf>
60. 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>
29 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 UNSOLICITED RESPONSES The AT Protocol is a command/response type of protocol. This means that the device will normally only respond to AT commands. Under special circumstances, unsolicited responses will be sent to the host. They are described in the following subsections. RING This string is sent to the host when a remote device is initiating a serial port connection. The fully quali ed string is in the form RING 012345678901 where 012345678901 is a 12 digit hexadecimal number which corresponds to the remote devices Bluetooth address. This response is sent to the host every 2 seconds until the host either accepts the connection using the ATA command or rejects it using the ATH command. PIN?
This response is sent to the host during a pairing negotiation. The fully quali ed string is PIN? 012345678901 where 012345678901 is the Bluetooth address of the peer device. In response, the host must supply a pin code which is entered using the AT+BTK command. If the peer address does not supply the address in the message exchange, then the address is speci ed as 000000000000 and the paring will proceed as normal. AUDIO ON This response is sent to the host when a SCO channel has been established. AUDIO OFF This response is sent to the host when an existing SCO channel has been closed. AUDIO FAIL This response is sent to the host when a SCO channel setup fails. ERROR 27 This response is sent to the host on power up if the rmware is unlicensed. PAIR n <bd_addr>
This response is sent to the host on termination of a pairing process. If pairing was successful then n = 0, if a timeout occurred then n=1 and for all other unsuccessful outcomes the value will be 2. The parameter <bd_addr> is the address of the peer device if available. PAIR 0 <bd_addr> MM This response is sent to the host on termination of a successful pairing process. The optional MM is sent only if S Register 538 is set to 1 to automatically save the link key. The value MM indicates the result of the save operation and a value of 00 implies success, otherwise the value corresponds to an error code. RX<string>
This response is sent to the host when the unit is in online-command mode and S Register 531 is set to 3 and data arrives from a peer. If the data from the string contains non-visual characters (for example ASCII 0 to 31 and ASCII 128 to 255), then those characters are translated into a 3 character escape sequence starting with \. For example the embedded <cr><lf> sequence would be sent as the 6 character string \0D\0A. If the data contains the character then it is sent as \22. If the data contains the character \ then it is sent as \5C 30 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 INCOMING CONNECTIONS The device can be con gured using the AT+BTP or AT+BTG command so that it will scan for incoming connec-
tions from other Bluetooth devices. It can also be con gured via S Register 512 to be in this mode by default on power up. When the lower layers detect an incoming call, a RING 123456789012 string is sent to the host every second. The command ATA is used to accept the connection and ATH to reject it. On connection, if the S0 Register is >=0 then con rmation to the host is in the form:-
Where A means authenticated connection and E means encryption has been enabled. When S0 register is -1, neither RING nor CONNECT is sent to the host and the connection is silently accepted. If the S 100 register is non-zero, then after the ring indications speci ed by this register have been sent to the host, and the host has failed to accept or reject the incoming connection, then an automatic hangup is initiated. CONNECT 123456789012 CONNECT 123456789012 A CONNECT 123456789012 E CONNECT 123456789012 AE DROPPING CONNECTIONS In a conventional telephony modem, a call is normally terminated by rst sending a +++ character sequence enveloped by an escape sequence guard time (of the order of 100 to 1000 milliseconds) to enter local command and connected mode and then the ATH command. Laird Technologies Bluetooth modules provide a variety of ways of dropping a connection. One method is simi-
lar to the above, but instead a ^^^ character sequence is used, this is to eliminate ambiguity when a data call is in progress via a mobile phone which was established using the mobile phones Bluetooth AT modem. The second method involves the host dropping the DTR (DSR from the modules viewpoint) handshaking line. Being able to drop a connection using the escape sequence ^^^ has a severe penalty on data throughput, in fact, the data rate is of the order of 85kbps instead of about 200kbps. To cater for this performance hit, the devices connection drop capability is con gurable to be in one of two modes. One mode allows for a connection to be dropped using either method, and the other mode allows for a connection drop using the DTR method only. By default, the device is in former mode. This mode is selected using the S507 register. See S register table described in an earlier section. To reiterate, the escape sequence is as follows:-
<Guard time><Esc Chr><Guard time><Esc Chr><Guard time><Esc Chr><Guard time>
This means that even when a le transfer is occurring and it happens to be full of <Esc Chr> characters then it is not going to drop into command mode because, when transferring a le it is going to happen as fast as possible and so the inter character gap is going to be signi cantly shorter than the <Guard time>. The <Esc Chr> character can be changed via the S2 register and the <Guard time> interval can be speci ed via the S12 register. 31 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 from all devices. Make a note of the Bluetooth address of the phone e.g. 123456789012 PAIRING AND TRUSTED DEVICES When authentication is enabled via S register 500 or when using the u modi er in the ATD and AT+BTP commands, a connection attempt will require a link key for the peer device. The link key can be obtained prior to connection by invoking the AT+BTW and AT+BTK commands. A new link key can be obtained as often as required and is stored in a volatile cache. At any time, this cached link key can be added to the trusted devices database using the AT+BTT command. A trusted device can be deleted using the AT+BTD command. To view a list of trusted device issue the command AT+BTT?. In addition, if S Register 538 is set to 1, then on a successful pairing, the link key will be automatically saved to the trusted device database. In that case, the asynchronous message PAIR 0 <bd_addr> has an error code appended at the end to convey the result of the save operation. When a connection attempt requires a link key, the trusted device database will be searched automatically and if one exists will be provided without host interaction. If the link key is not present, then the connection attempt will be terminated and a NO CARRIER response will be given to the ATD command. A typical session to pair, say an Ericsson T68i, to a serial module would be:
If two Laird Technologies devices need to be paired, then it can be accomplished as follows:-
Make the T68i discoverable and send AT+BTI to the serial module. This will result in inquiry responses On the T68i start pairing procedure by selecting Phone accepts in the relevant Bluetooth menu. Send command AT+BTW123456789012 to the serial module Con rm that you get an OK response and then PIN? responses on a 2 second interval. Enter a pin code on the phone. Say it is 12345768 Then enter the command AT+BTK=12345678. The phone will con rm success and likewise the serial module will respond with OK On success the serial module will send an unsolicited message in the form of PAIR 0 <bd_addr>
Send AT+BTT to the serial module so that the pairing information is stored in the Con rm that the link key has been stored by sending the command AT+BTT?. This will result in To device 1 send ATI4, it will respond with the local Bluetooth address. E.g. 123456789001 To device 1 send AT+BTP. It will become discoverable and connectable. To device 2 send AT+BTW123456789001 and it will respond with OK Then on both devices you will see PIN? asynchronous responses To both modules send AT+BTK=12345678 On success the serial module will send an unsolicited message in the form of PAIR 0 <bd_addr>
The pairing link key, is at this stage, in volatile memory, so send AT+BTT to both. The two units now have pairing information which will survive a power cycle. a list of all devices paired with the module. non-volatile database. 32 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 ERROR RESPONSES All error responses from the device will be in the form <cr,lf>ERROR nn<cr,lf>, where nn will be a number in the range 00 to 99. ERROR 01 DESCRIPTION Register not recognised 02 03 04 05 06 06 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Value for register is out of range Incoming call NOT pending No call to connect to. This error code has meaning for ATO only Syntax Error Empty String 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 Not USED Not USED Not safe to write to Non-volatile Store - Ongoing Bluetooth Connection Link Key Cache is Empty Link Key Database is Full Malloc returned NULL - Resource Issue Remote Address same as Local Address Connection Setup Fail, DSR Not asserted Unauthenticated licence Max Responses (See S Register 518) too high. Memory allocation error The length of Pin in AT+BTK is too long Invalid Ring count speci ed for S Register 0 or 100. If S0<>0 and S100<>0 then S0 must be < S100 ADC Error Analogue Value cannot be read as it is set for output Analogue Value cannot be written as it is set for input S Register Value is invalid Both L and R modi er cannot be speci ed in ATD command Invalid Major Device Class valid value in range 0x00 to 0x1F inclusive Pairing in progress Command cannot be actioned try again later Invalid Sniff parameter speci ed. E.g. new Attempt value greater than MinInterval. Solution is to rst increase MinInterval and re-enter the Attempt value. Get Remote Friendly name Failed Failed to change mode to Multipoint 7 Bit mode requires parity to be even or odd 33 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 FACTORY DEFAULT MODE Laird Technologies devices are capable of operating at a very wide range of baud rates. S Registers 520 and 521 allow the baud rate to be set very easily. The baud rate clock generator in the device is more versatile than that available in a standard 16550 UART commonly available in PCs. In fact, as long as the equation BAUDRATE * 0.004096 produces an integer value, then there will be 0%
error in clocking for that baud rate. So it is possible to set a baud rate that a PC cannot cope with, and in that circumstance it is virtually impossible to communicate with it. To cater for this circumstance, if DSR is de-asserted, the device will come out of reset using 9600,N,8,1 comms settings for exactly 750 milliseconds and then revert to the comms parameters as per the S Registers. If the host sends the string !<BISM>!<cr> where <cr> is the carriage return character within that 750ms period, then the module will remain at 9600,N,8,1 and will also con gure itself using factory default S Register values. MISCELLANEOUS FEATURES This chapter describes various features which cannot be categorized appropriately. RI dependent Start-up Mode The UART_RI line can be con gured as an input and on power its state can be used to force the device into one of two modes. See description for S Registers 565 to 569 inclusive for more details. For example, the feature could allow a device to make an outgoing connection if RI is in one state, and be ready for an incoming connection in the other. Pulse a GPIO pin To ash a GPIO pin, set it as an output using S reg 610 and then use S reg 585 to 587 inclusive to set the pin, period and duty cycle respectively. Flash GPIO4 on Connectable Mode S reg 534 now takes a value up to 2. A value of 2 con gures GPIO4 so that it will blink when the module is in connectable mode. Reset via BREAK The module can be reset by sending a BREAK signal. A BREAK signal exists when the modules UART_RX input is in a non-idle state (0v) for more that 125 milliseconds. Digital I/O Cable Replacement The module has a number of general purpose digital i/o pins. The direction of these are speci ed via S Reg 610. When S Reg 531 is set to 4 at both ends of the connection, then on connection, any changes in the states of the inputs at one end will be transmitted to the peer, which will then re ect those states on the appropriate i/o pins if they have been con gured as outputs. It is recommended that the value of S Reg 610 at one end be the ones complement of the other end. That way, inputs at one end are mirrored at the other end and vice versa. In addition S Reg 506 MUST be set to 0, which disables echos. Note that due to inherent latency of Bluetooth transmission, expect the change of state to be delayed. This value is typically 100ms and can be much more if the quality of the link is bad which results in many retries. It is assumed that an audio channel is not active at any time. Append Bluetooth Address to Friendly name If S Reg 593 is set to 1, then the last 6 hex digits of the Bluetooth address are automatically appended to the friendly name. This allows multiple devices with the same name in a neighbourhood to be differentiated. 34 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module CONFIGURING THE BTM410/411 DISCLAIMERS LAIRD TECHNOLOGIES WIRELESS PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE MANAGING DIREC-
TOR OF LAIRD TECHNOLOGIES. The de nitions used herein are:
Laird Technologies does not assume responsibility for use of any of the circuitry described, no circuit patent licenses are implied and Laird Technologies reserves the right at any time to change without notice said circuitry and speci cations. a) Life support devices or systems are devices which (1) are intended for surgical implant into the body, or (2) support or sustain life and whose failure to perform when properly used in accordance with the instructions for use provided in the labelling can reasonably be expected to result in a signi cant injury to the user. b) A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. Data Sheet Status Laird Ltd reserve the right to change the speci cation without prior notice in order to improve the design and supply the best possible product. 35 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module APPLICATION EXAMPLES APPLICATION EXAMPLES RS232 Modem Signals Just as a telephony modem has control and status lines, the BT Data Module also provides for 6 control and status lines as per the table below. The direction column is as seen from the modules viewpoint. DIRECTION IN or OUT *
IN or OUT *
IN OUT IN OUT FUNCTION CI also known as RI (Ring Indicate) DCD (Data Carrier Detect) DSR (Data Set ready) DTR (Data Terminal Ready) CTS (Clear to Send) RTS (Request to Send)
* con gurable with S register 552 The rst four lines are under program control. These use four of the GPIO pins and are mapped to I/O as per the table below. The last two are under control of the UART driver and their functionality is always enabled. DIRECTION IN/OUT CONNECTOR PIN LABEL GPIO1 FUNCTION General Purpose I/O IN/OUT IN/OUT IN/OUT IN IN/OUT IN/OUT IN/OUT IN/OUT IN/OUT IN/OUT GPIO2 UART_RI UART_DCD UART_DSR General Purpose I/O Input/Output from module Input/Output from module Input to Module GPIO3/UART_DTR General Purpose I/O (or DTR functionality) GPIO4/LED General Purpose I/O (LED) GPIO5 GPIO6 GPIO7 GPIO8 General Purpose I/O General Purpose I/O General Purpose I/O General Purpose I/O Notes:
for AT+BTP and AT+BTG. is dropped as if an ATH command was received. 1. PIO4 (DSR) is used by the blu2i module to sense that the host is connected, and is intricately linked with connections. For outgoing calls, if this line is not asserted then an error is indicated. Similarly While in a call, for appropriate modes, a de-assertion means fall into command state. If the de-assertion exists for longer than the period speci ed in S Register 519 then the connection 2. PIO2 (RI), is normally de-asserted. When an incoming connection is detected it will be asserted, until the connection is either answered or rejected using ATA and ATH respectively. See S Registers 552 & 553 for more details 3. PIO3 (DCD) will be de-asserted when the device is in the unconnected state. Asserted when a connection is active. See S Registers 552 and 553 for more details. 4. PIO5 is either used as GPIO or driven as UART_DTR. When the unit is con gured in pure host mode, GPIO Pins 1 to 8 are available for general purpose use. this pin is forced into UART_DTR and is asserted when there is a Bluetooth connection. 36 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module APPLICATION EXAMPLES Modem signalling over Bluetooth The RFCOMM protocol used in Bluetooth for implementing the serial port pro le allows for the exchange of four modem signals. This information is contained in a special transparent message which contains bits identi ed as RTR, RTC, DV and IC which depending on the type of serial device being emulated maps to DTR or DSR, RTS, DCD and RI respectively. In addition, this message also includes the ability to convey a BREAK input from one end to the other. To allow for the greatest exibility and variability in how the modem control signals are used out in the real world, S Registers 551, 552 and 553 have been provided which allow for any of RTR,RTC,DV and IC to be mapped to any modem control/status line. BREAK signal on RX line If the host sends a break signal of duration greater than 100ms, then the blu2i module is con gured to treat that as a signal to perform a hardware reset. This being the case it is not possible to convey a BREAK over Bluetooth to the peer device. Reset The module can be reset by the host without the need of any I/O using a BREAK signal. The module has been con gured to reset when the RX line detects a break condition for durations greater than 100 milliseconds. The Reset line has a xed pull down resistor of 10kOhm Pure Cable Replacement Mode The module has the capability of being preset into a pure 5-wire data cable replacement mode. The 5 wires being RX, TX, CTS, RTS and GND. This mode requires no changes to a host application since the Bluetooth connection is automatically set up on power up. If the connection is lost the BISM2 module will constantly retry until the connection is reinstated. By implication, two devices are needed to replace a cable. One device is pre-con gured to always be a master and the other, a slave. Assuming the Bluetooth address of the master to be <bdaddr_m> and that of the slave to be <bdaddr_s>, the master module is con gured by sending it the following AT commands:
AT&F*
ATS512=1 ATS504=1 ATS507=2 ATS530=2000 AT&W AT+BTR<bdaddr_s>
The ATS507=2 setting puts the device in DSR drop mode only. This means that when the device needs to be recon gured, deasserting the DSR line will ensure that the module responds quickly to AT commands. This further means that in stand alone mode, the DSR input line MUST be asserted e.g. 0V in TTL signal mode. The slave is con gured by:
AT&F*
ATS512=4 ATS0=-1 AT&W AT+BTR<bdaddr_m>
37 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module APPLICATION EXAMPLES Where <bdaddr_m> is optional. If it is not speci ed, then the slave unit will accept connections from any device. If speci ed then only connections from the device speci ed will be accepted. If it is desired that the slave unit should not be discoverable (the master is by default not discoverable), then the con guration commands are:
AT&F*
ATS512=3 ATS0=-1 AT&W AT+BTR<bdaddr_m>
Where <bdaddr_m> is optional. If it is not speci ed, then the slave unit will accept connections from any device. If speci ed then only connections from the device speci ed will be accepted. When the units are next power cycled, the slave unit will wait for the master to connect to it and the master will continually look for the slave. If a connection attempt fails, the master will wait for 2 seconds before reattempting a connection. This 2 second delay can be varied by issuing it an ATS530 command with an appropriate value in the range 100ms to 15000ms. IMPORTANT NOTE: The DSR input to the module MUST be asserted for the auto connection to succeed. When operating at TTL levels a 0V is seen as an assert state. When operating at RS232 levels and voltage greater than 3V is seen as assert. It is usual to connect the DTR line of the host to the DSR line of this device. Audio Cable (voice) With a pair of these modules it is possible to replace a mono audio cable with two way traf c. That is, a setup where a microphone is connected to a speaker at the remote end and vice versa. So this mode effectively replaces two audio cables. Assuming the Bluetooth address of the master to be <bdaddr_m> and that of the slave to be <bdaddr_s>, the master module is con gured by sending it the following AT commands:
AT&F*
ATS512=1 ATS504=1 ATS530=2000 ATS532=7 AT&W AT+BTR<bdaddr_s>
And the slave is con gured by:
AT&F*
ATS512=4 ATS0=-1 AT&W AT+BTR<bdaddr_m>
38 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module APPLICATION EXAMPLES FCC and Industry Canada Statements Modem Control and Status Signals A serial port has DTR, DSR, RTS, CTS, DCD and RI control lines. RTS and CTS are locally controlled to prevent local buffer over ow. The status of DTR, DRS, DCD and RI can be exchanged with the remote peer device. If for example, the DTR/DSR lines are to be exchanged between the two peers to simulate the performance of a physical cable, then it is possible to do so. Refer to the description for S Registers 551, 552 and 553 for more details. Some serial implementations link CTS and RTS to remove the need for handshaking. Ezurio do not recommend linking CTS and RTS other than for testing and prototyping. If these pins are linked and the host sends data at the point that the Bluetooth Serial Module deasserts its RTS signal, then there is a signi cant risk that internal receive buffers will over ow which could lead to an internal processor crash. This will lead to a drop in connection and may require a power cycle to reset the module. Ezurio recommend that the correct CTS/RTS handshaking protocol be adhered to for proper operation. This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions:
(1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Changes or modi cations not expressly approved by the party responsible for compliance could void the users authority to operate the equipment. To comply with the FCC RF exposure compliance requirements, this device and its antenna must not be co-located or operating to conjunction with any other antenna or transmitter. Considerations for OEM integration:
To inherit the modular approval, the antennas for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co-located or operating in conjunction with any other antenna or transmitter. Co-location with other radio transmitting devices operating concurrently in the same band will require additional testing and certi cation. Designers should note the distinction that the FCC makes regarding portable and mobile devices. Mobile devices are de ned as products that are not used closer than 20cm to the human body, whereas portable devices can be used closer that 20cm to the body. In the case where the BTM411 module is used in a portable device, additional SAR testing must be performed on the complete product. FCC Labelling requirement If the FCC ID is not visible when the module is installed inside another device, then the outside of the device into which the module is installed must also display a label referring to the enclosed module. This exterior label can use wording such as the following: Contains Transmitter Module FCC ID: PI4411B or Contains FCC ID:
PI4411B. Any similar wording that expresses the same meaning may be used. 39 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module MECHANICAL DRAWINGS MECHANICAL DETAILS O F R RF Shield 36 29 26 TOP VIEW 37
(COMPONENT SIDE) 25 T U O F R 29 BOTTOM VIEW
(SMT PADS) H b 26 25 Orientation mark on RF Shield denotes pin 1 E 50 1 Pin Outs U1 U2 D 12 11 36 37 50 1 1 E e D1 G F H 12 11 I W E V E D I S A A1 A2 Notes Description Size Pitch Dimension A A1 A2 b D E e D1 E1 F G H Units 2.3 0.8 1.3 0.55 12.37 17.87 50 pin BT Data Module 18.0 x 12.5 x 2.5mm 1mm Minimum Typical 2.4 0.9 1.5 0.60 12.5 18.0 1.0 10.0 12.0 1.25 2.50 0.85 mm Maximum 2.7 1.0 1.7 0.65 12.63 19.13 PCB Thickness RF Shield Height Global pad width Global pitch Pad Centre to Board edge Pad Centre to Board edge Global length of pad to edge of board 40 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module MECHANICAL DRAWINGS RECOMMENDED PCB FOOTPRINT MODULE OUTLINE
(See note 2) 9.6 50 1
. 7 3 1 h c t i p n p i 0 1 x 1 5 11 12 6.5 pin pitch 1x13 19.2 Pad Width 0.7 Typ Pad Length 1.65 Typ 37 25 36 29 26 RF OUT (See Note 1) 5 8 6
. NOTES FOR PCB LAYOUT:
1. The RF output pin must be matched to a 50 strip-line or coplanar waveguide on the antenna-less version (BTM410). 2. 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 speci c manufacturing or process. 41 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module MECHANICAL DRAWINGS D C B A 1 0 v e R T N A 1 2 3 4 5 2 f o 1 t e e h S 8 0 0 2
, 0 1 r e b o t c O
, y a d i r F 1 s m m o C
d r a o B v e D i n M i 1 0
1 0 0
R
D M D T B r e b m u N t n e m u c o D 3 V 3 _ C C V N N O C _ D D V 1 J k c a J _ d o M _ 5 4 J R e l t i T C e z i S
e t a D 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 PCM_CLK PCM_IN PCM_SYNC PCM_OUT N N O C _ D D V R S D
0 1 _ O P I D C D
3 _ O P I I R
2 _ O P I R T D
9 _ O P I K L C _ M C P I N _ M C P C N Y S _ M C P T U O _ M C P 6 3 5 3 4 3 3 3 2 3 1 3 0 3 9 2 8 2 7 2 6 2
C N
C N
C N
C N
C N
C N D N G T N A D N G
C N
C N N/C N/C N/C N/C GND GND GPIO8 GPIO7 GPIO5 PIO2/UART_RI PIO9/UART_DTR PIO10/UART_DSR USB_D+/ RESERVED USB_D-/ RESERVED N/C N/C GND PIO3/UART_DCD GPIO6 RESET PCM_OUT PCM_CLK PCM_SYNC PCM_IN GND MASTER_VIN VDD_IO VDD_USB 25 24 23 22 21 20 19 18 17 16 15 14 13 12 a t a D _ T B PIO_5 RESET_ PIO_3/DCD PCM_OUT PCM_CLK PCM_SYNC PCM_IN PIO_2/RI PIO_9/DTR PIO_10/DSR USB_MOD_D-
USB_MOD_D+
PIO_6 PIO_7 PIO_4 37 38 39 40 41 42 43 44 45 46 47 48 49 50 4 U 5 P T 1 I O _ C C V 2 2 1 9 1 C n 0 0 1 1 1 4 5 R R 0 6 P T 3 V 3 _ C C V 1 2 1 2 C n 0 0 1 S T C _ T R A U X R _ T R A U S T R _ T R A U X T _ T R A U O S I M _ P S I I S O M _ P S I B S C _ P S I K L C _ P S I D N G
C N D N G 123456 78 9 0 1 1 1 l X R _ e u d o M S T C _ e u d o M l l X T _ e u d o M S T R _ e u d o M l S C _ P S I K L C _ P S I O S I M _ P S I I S O M _ P S I 3 V 3 _ C C V 3 V 3 _ C C V l X R _ e u d o M 1 4 R K 0 1 1 2 1 2 5 1 C n 0 0 1 3 V 3 _ C C V 45 C C V T U O 1 U _ E O D N N G I 1 2 3 3 V 3 _ C C V 3 V 3 _ C C V 5 2 1 Z S 7 C N S T C _ e u d o M l 7 4 R K 0 1 1 2 1 2 6 1 C n 0 0 1 3 V 3 _ C C V 45 C C V T U O 2 U _ E O D N N G I 1 2 3 K 0 1 0 4 R N E _ D T F I 1 3 V 3 _ C C V 2 K 0 1 6 4 R N E _ D T F I 1 3 V 3 _ C C V 2 R S D
0 1 _ O P I 1 5 R K 0 1 1 2 1 2 7 1 C n 0 0 1 I O _ C C V 45 C C V T U O 3 U _ E O D N N G I 1 2 3 5 2 1 Z S 7 C N N E _ D T F I K 0 1 0 5 R 2 1 I O _ C C V I O _ C C V 5 2 1 Z S 7 C N 3 V 3 _ C C V 5 5 R K 0 1 1 2 I O _ C C V I O _ C C V 5 U 0 1234567891 5 J
D _ D O M _ B S U 7 5 R K 0 1 2 1 8 5 R K 0 1 2 1 K 0 1 1 6 R O S I M _ P S I S C _ P S I K L C _ P S I I S O M _ P S I 2 1 K 0 1 3 6 R 1 X 0 1 R E D A E H 0 2 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 1 0 O 4 1I O 5 2I O 6 3I 7O I C C V _ 2 E O _ 1 E O 4 0O I 5 1O I 6 2O I 7 3O I D N G 2 1 642 4 4 2 X C L 4 7 F N 3 P J 135 F N S T R _ B S U R T D _ B S U I O _ C C V 1 2 0 2 C n 0 0 1 123456789 0 1 0 0 1 R 5 K 1 1 2 3 V 3 _ C C V X T _ B S U N E _ D T F I 3 V 3 _ C C V 1 2 3 4 R K 0 1 S T C _ B S U R S D _ B S U 2 R 0 5 4 R 1 2 R 0 8 4 R 1 2 R 0 9 4 R 1 N E R W P _ B S U I O _ C C V 3 V 3 _ C C V 1 2 4 4 R K 0 1 1 2 2 4 R K 0 1 R S D
0 1 _ O P I S T C _ e u d o M l l X R _ e u d o M I R
2 _ O P I 2 4 6 8 0 1 2 1 1 P J 2 X 6 r e d a e H F N 1 3 5 7 9 1 1 D C D
3 _ O P I R T D
9 _ O P I S T R _ e u d o M l _ T E S E R l X T _ e u d o M C P _ S C _ P S I C P _ O S I M _ P S I C P _ K L C _ P S I C P _ I S O M _ P S C P _ O S I M _ P S I I 3 V 3 _ C C V 1 2 3 5 R K 0 1 642 2 P J 135 F N 2 5 R K 0 1 1 2 3 V 3 _ C C V K 0 1 6 5 R 2 1 S T R _ e u d o M l R T D
9 _ O P I 3 V 3 _ C C V 1 2 8 1 C n 0 0 1 D C C P _ K L C _ P S I C P _ S C _ P S I
D _ D O M _ B S U 3 4 3 W S F N 1 2 3 1 R K 0 1 I O _ C C V 1 2 7 _ O P I 3 4 4 W S F N 1 2 8 1 R K 0 1 I O _ C C V 1 2 6 _ O P I C P _ I S O M _ P S I K 0 1 0 6 R K 0 1 9 5 R 2 2 1 1 D C D _ B S U X R _ B S U 2 R 0 6 6 R 1 2 R 70 6 R I I R
2 _ O P _ B S U 1 2 R 80 6 R 1 5 6 R K 0 1 4 6 R K 0 1 1 1 2 6 R K 0 1 2 2 1 2 I O _ C C V 3 V 3 _ C C V I O _ C C V I R
2 _ O P I l X T _ e u d o M D C D
3 _ O P I B 3 4 1 W S F N 1 2 3 4 2 W S F N 1 2 K 0 1 3 R I O _ C C V 1 2 K 0 1 8 R I O _ C C V 1 2 5 _ O P I 4 _ O P I A 2 3 4 5 42 www.lairdtech.com Laird Technologies BTM410/411 Bluetooth AT Data Module MECHANICAL DRAWINGS D C B A 1 2 3 4 I T N O P _ T S E T _ H T 1 1 P T I T N O P _ T S E T _ H T 2 1 P T 1 1 3 V 3 _ C C V 1 7 2 C 2 n 0 0 1 _ T E S E R 1 J 1 O H
0 0 1 A
G M S 5 H D R 0 1 1 3 7 R 1 2 2 1 3 V 3 _ C C V 3 V 3 _ C C V 45 C C V T U O 7 U 1 C N D N N G I 1 2 3 7 1 V S 7 C N 1 9 2 C 2 n 0 0 1 K 0 1 9 7 R 2 K 1 0 8 R 1 1 3 V 3 _ C C V 2 2 2 1 3 2 C n 0 0 1 1 2 2 C 2 u 2 2 7 R 1 K 9 6 7 R 3 K 1 1 2 1 2 1 5 2 C 2 N 0 1 5678 3 4 F M
E J D A
6 2 7 1 P C M 9 6 U t u o V J D A GND l y a e d C D G R W P 1 _ n V i 2 _ n V i N D H S
D N G 1234 2 K 0 1 1 5 7 R 5 0 8 0 R 1 0
. 8 P T 1 2 4 7 R 1 7 P T 1 2 0 0 0 1
S F B 6 W S 1 2 1 2 6 2 C 2 u 2 h c t i w s n o i t i s o p 3 5 W S 1 3 F F O 1 4 2 C 2 n 0 0 1 6 4 1 5 23 0 1 8 5 F R I 1 Q N E R W P _ B S U 7 7 R K 1 2 1 2 8 7 R K 0 1 1 B S U _ D D V 3 V 3 _ C C V
D _ D O M _ B S U 2
B S U
B S U R 0 F N 3 9 R 2 2 1 R 0 R 0 t r e V _ A M S 2 3 4 5 6 J 1 1 2 1 1 R 1 K 9 F N k c a r T m h o _ 0 5 2 0 9 R R 0 1 1 K 9 F N 2 9 R 1 K 9 F N 1 9 R 1 1 2 2 k c a r T m h o 0 5 T N A 4 M 3 M 2 M 1 M l e o H g n i t n u o M l e o H g n i t n u o M l e o H g n i t n u o M l e o H g n i t n u o M 2 D I F l a i c u d i F 1 D I F l a i c u d i F N E R W P _ B S U P E E L S _ B S U I O _ 3 V 3 _ D D V K 0 1 6 8 R 2 1
B S U
B S U 3 1 P T 4 1 P T 5 1 P T C 4 5 T A 6 B D 2 3 I O _ 3 V 3 _ D D V 1 1 1 3 C 1 n 0 0 1 2 2 0 3 C n 1 NC_3 NC_2 NC_1 VCCIO VCC 29 25 23 1 19 8 U 3 8 R K 7 4
. 1 2 2 2 1 2 0 1 1 1 9 5 1 4 1 6 1 0 S U B C 1 S U B C 2 S U B C 3 S U B C 4 S U B C M D B S U P D B S U
S T C
S T R D X T D X R
R S D
D C D
R T D I
R
T E S E R I C S O O C S O T U O 3 V 3 T S E T 8 2 3 0 3 2 3 67 1 3 8 1 7 2 8 2 6 2 R 2 3 2 T F 33 12 5 13 24 20 17 4 THPAD NC_4 NC_5 NC_6 AGND GND GND GND 7 8 R K 0 1 1 2 X T _ B S U X R _ B S U S T C _ B S U S T R _ B S U 2 F
N 1 5 8 R R S D _ B S U I I R
2 _ O P _ B S U D C D _ B S U R T D _ B S U
. m m 1 2 _ k c a j r e w o P C D 1 N C B S U _ D D V 1 2 2 1 7 K 8 4 8 R 4 8 R K 0 1 1 2 3 I D T F _ T E S E R N N O C _ D D V
D _ D O M _ B S U 2 R 0 F N 1 4 9 R B B S U 6 C 2 1 1 8 R 1 2 8 R 1 8 2 C F N
D
D
1234
cD c V
D 5 D N G 6 5 3 D 2 1 A 1 S _ e d o D i N N O C _ D D V B S U _ D D V D 5 L 2 1 D 1 N S 1 2 2 G P 8 1 M L B 5 P J 5 43 www.lairdtech.com s e i l p p u S _ r e w o P _ v e D _ n M i i 1 0 v e R 1 0
1 0 0
R
D M D T B r e b m u N t n e m u c o D 2 f o 2 t e e h S 8 0 0 2
, 0 1 r e b o t c O
, y a d i r F 1 e l t i T C e z i S
e t a D 2 3 4 5 B A Laird Technologies BTM410/411 Bluetooth AT Data Module ORDERING INFORMATION ORDERING INFORMATION PART NUMBER BTM410 BTM411 DVK BTM410 DVK BTM411 DESCRIPTION Bluetooth AT Data Module (external antenna) Bluetooth AT Data Module (with integrated antenna) Q1-2009 Development board with BTM410 module soldered in place Development board with BTM411 module 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 BTDMD-R-001.pdf for the Development Kit on the following two pages for examples of typical pin connections. A pdf of the schematic can be downloaded from the product web page. global solutions: local support TM USA: +1.800.492.2320 Europe: +44.1628.858.940 Asia: +852.2268.6567 wirelessinfo@lairdtech.com www.lairdtech.com/wireless 44 Laird Technologies is the world leader in the design and manufacture of customized, performance-critical products for wireless and other advanced electronics applications. Laird Technologies partners with its customers to nd solutions for applications in various industries such as:
Network Equipment Telecommunications Data Communications Automotive Electronics Computers Aerospace Military Medical Equipment Consumer Electronics Laird Technologies offers its customers unique product solutions, dedication to research and development, as well as a seamless network of manufacturing and customer support facilities across the globe. LWS-UM-BTM410-411 1009 Copyright 2009 Laid Technologies, Inc. All rights reserved. The information contained in this manual and the accompanying software programs are copyrighted and all rights are reserved by Laird Technologies, Inc. Laird Technologies, Inc. reserves the right to make periodic modi cations of this product without obligation to notify any person or entity of such revision. Copying, duplicating, selling, or otherwise distributing any part of this product or accompanying documentation/software without the prior consent of an authorized representative of Laird Technologies,Inc. is strictly prohibited. All brands and product names in this publication are registered trademarks or trademarks of their respective holders. This material is preliminary Information furnished by Laird Technologies in this speci cation is believed to be accurate. Devices sold by Laird Technologies are covered by the warranty and patent indemni cation provisions appearing in its Terms of Sale only. Laird Technologies makes no warranty, express, statutory, and implied or by description, regarding the information set forth herein. Laird Technologies reserves the right to change speci cations at any time and without notice. Laird Technologies products are intended for use in normal commercial and industrial applications. Applications requiring unusual environmental requirements such as military, medical life-
support or life-sustaining equipment are speci cally not recommended without additional testing for such application. Limited Warranty, Disclaimer, Limitation of Liability For a period of one (1) year from the date of purchase by the OEM customer, Laird Technologies warrants the OEM transceiver against defects in materials and workmanship. Laird Technologies will not honor this warranty (and this warranty will be automatically void) if there has been any (1) tampering, signs of tampering; 2) repair or attempt to repair by anyone other than an Laird Technologies authorized technician. This warranty does not cover and Laird Technologies will not be liable for, any damage or failure caused by misuse, abuse, acts of God, accidents, electrical irregularity, or other causes beyond Laird Technologies control, or claim by other than the original purchaser. In no event shall Laird Technologies be responsible or liable for any damages arising: From the use of product; From the loss of use, revenue or pro t of the product; or 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 the product is replaced, it may be a new or refurbished product. 45
frequency | equipment class | purpose | ||
---|---|---|---|---|
1 | 2009-11-03 | 2402 ~ 2480 | DSS - Part 15 Spread Spectrum Transmitter | Original Equipment |
app s | Applicant Information | |||||
---|---|---|---|---|---|---|
1 | Effective |
2009-11-03
|
||||
1 | Applicant's complete, legal business name |
Ezurio Ltd
|
||||
1 | FCC Registration Number (FRN) |
0013387386
|
||||
1 | Physical Address |
Saturn House, Mercury Park
|
||||
1 |
Wooburn Green, N/A HP10 0HH
|
|||||
1 |
United Kingdom
|
|||||
app s | TCB Information | |||||
1 | TCB Application Email Address |
j******@rfi-global.com
|
||||
1 | TCB Scope |
A4: UNII devices & low power transmitters using spread spectrum techniques
|
||||
app s | FCC ID | |||||
1 | Grantee Code |
PI4
|
||||
1 | Equipment Product Code |
411B
|
||||
app s | Person at the applicant's address to receive grant or for contact | |||||
1 | Name |
D****** W********
|
||||
1 | Title |
Engineering Specialist
|
||||
1 | Telephone Number |
913 9********
|
||||
1 | Fax Number |
913 4********
|
||||
1 |
d******@lairdtech.com
|
|||||
app s | Technical Contact | |||||
1 | Firm Name |
Ezurio Ltd
|
||||
1 | Name |
T**** W********
|
||||
1 | Physical Address |
Saturn House, Mercury Park
|
||||
1 |
Wooburn Green, HP10 0HH
|
|||||
1 |
United Kingdom
|
|||||
1 | Telephone Number |
44 16********
|
||||
1 | Fax Number |
44 16********
|
||||
1 |
t******@ezurio.com
|
|||||
app s | Non Technical Contact | |||||
1 | Firm Name |
Ezurio Ltd
|
||||
1 | Name |
T******** W********
|
||||
1 | Physical Address |
Saturn House, Mercury Park
|
||||
1 |
Wooburn Green, HP10 0HH
|
|||||
1 |
United Kingdom
|
|||||
1 | Telephone Number |
44 16********
|
||||
1 | Fax Number |
44 16********
|
||||
1 |
t******@ezurio.com
|
|||||
app s | Confidentiality (long or short term) | |||||
1 | Does this application include a request for confidentiality for any portion(s) of the data contained in this application pursuant to 47 CFR § 0.459 of the Commission Rules?: | Yes | ||||
1 | Long-Term Confidentiality Does this application include a request for confidentiality for any portion(s) of the data contained in this application pursuant to 47 CFR § 0.459 of the Commission Rules?: | No | ||||
if no date is supplied, the release date will be set to 45 calendar days past the date of grant. | ||||||
app s | Cognitive Radio & Software Defined Radio, Class, etc | |||||
1 | Is this application for software defined/cognitive radio authorization? | No | ||||
1 | Equipment Class | DSS - Part 15 Spread Spectrum Transmitter | ||||
1 | Description of product as it is marketed: (NOTE: This text will appear below the equipment class on the grant) | Bluetooth Data Module | ||||
1 | Related OET KnowledgeDataBase Inquiry: Is there a KDB inquiry associated with this application? | No | ||||
1 | Modular Equipment Type | Single Modular Approval | ||||
1 | Purpose / Application is for | Original Equipment | ||||
1 | Composite Equipment: Is the equipment in this application a composite device subject to an additional equipment authorization? | No | ||||
1 | Related Equipment: Is the equipment in this application part of a system that operates with, or is marketed with, another device that requires an equipment authorization? | No | ||||
1 | Grant Comments | Power is EIRP. Modular Approval. The antenna(s) used for this transmitter must not be co-located or operating in conjunction with any other antenna or transmitter within a host device, except in accordance with FCC multi-transmitter product procedures. OEM integrators and end-users must be provided with specific operating instructions for satisfying RF exposure compliance requirements. | ||||
1 | Is there an equipment authorization waiver associated with this application? | No | ||||
1 | If there is an equipment authorization waiver associated with this application, has the associated waiver been approved and all information uploaded? | No | ||||
app s | Test Firm Name and Contact Information | |||||
1 | Firm Name |
UL VS Ltd
|
||||
1 | Name |
D****** C******
|
||||
1 | Telephone Number |
00-44********
|
||||
1 | Fax Number |
00-44********
|
||||
1 |
d******@ul.com
|
|||||
Equipment Specifications | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Line | Rule Parts | Grant Notes | Lower Frequency | Upper Frequency | Power Output | Tolerance | Emission Designator | Microprocessor Number | |||||||||||||||||||||||||||||||||
1 | 1 | 15C | 2402.00000000 | 2480.00000000 | 0.0009000 |
some individual PII (Personally Identifiable Information) available on the public forms may be redacted, original source may include additional details
This product uses the FCC Data API but is not endorsed or certified by the FCC