Home

BTM410/411 DATA MODULE

image

Contents

1. Z p L jeeus 6002 8z 1equiejdeg Aepuo Tareq LO L0 HoS 1002 QAvdi8 9 b aspis NY JequinN 1lu uinnooq ezis Zx SuuuuoO pieog A d IUIN 9 ES uooL d r am o aug LAL Old9 lt lt o de 22273 Fes 1nO Nod _ o5 da 2 ONAS WOd d lt INLOY NVIWS Oldo I CH z NI WOd So ARG T ENE DOA a AO Mod YMS od YY NNOO QGA qoq z Ode ES 9d 13 1 Oe To aN a Wo MSQ 8 Old9 gt n voy ie j EE 9 ul Se e L lt ALUNO LAE OldO 233 E gt m O 99 eus Y E MOL AN eu u00 610 E Ol 99 SdL N LLLLLELL f E Ko co Y amp Dn a fo 22 DUVUV Ol 99 5522283882550 JN JN SooSsEs e5n00 RSs oc 467 x Ee e BRE E g K_INL9Y 3ui9 Ode lt Alvis 1g 3ALLOV Lar Oldo E e S 5 gt i59 gt EMS LMS 93 19 lids 19 IdS oz ON Ss OCHS ISOW_IdS NNOO GGA ADEM bid zz ON o OSIN dS OSIN IdS M ONS I aso IdS SO Ids EEN INV INN _ ONS gt 8 aquo gt DIS xiu Z X1 einpow d Le ON m e Sis Lin SLY 9Inpow OI 99 E z ON Yo xa Lin gt gt Xt enpow OF 99 Ze ON o9 203 S10 Lawn SS S19 enpow pe ON 02 E 2 QNO se ON 3238 SCH SN Fi ge ON 255 SEN
2. L 4 y S 600z 8z Jequiajdas Kepun LO 10 HOS L00 QINv 18 2 NY J9quINN jueuinooq E seiddng amog eq TUN Zs Y jeionpij jeionpij Lala zai N wzezia E N M0 loH Bununo loH 8ununo loH Bununo loH 8ununo Azzz gt ooo 188 OH Bugunoyy OH Bugunoyy OH Bugunoyy OH Bugunoyy ZOOS D 222 l DAO UU q D 0L E r 100 1S31 res OU ENE GGA vee YIN EN ZN UN asn et daasn 09SO bx asn r Wassn 1980 413838 Let gt gt 1013 13838 HL gen 410 re qoq gen x0L 000 H mie 9 Ke 98H HH lt usd gen Iw u rss Fld asn agais asn ysngo di e 8 Naama n lt T snso axe lt xx gen 8 Std CI eso OXL Fe gt x1 asn vidi D PY I Sn W ll Y Sui 8sn 2141 DX os SLO y lt silo gen lt x CO lt N 0595 oe ToD Dip gert adn M HSA VIAS xoe1 WYO 0S wer woos K Ju Ol A GGA Wu z del Jamod 3d LNO ul 0 9 NNOO dan Orsivg q GOW gsn gt 5 o 9a 2 LAS ON u00 asn lt ON S ec 0001 948 EI asn lt ED 1100 Ms A z r L t LON ogy m ES d doW asn gt gt z 99 asn aan EAE DIN gt YOJN Ce SR in IR SOL 2 u00 62H ec 129 A M Mel 8sn MOL ENE 99 ENE 99 S lt p ZN elu OLNSLZZOA8 LT H ENE DIA zL E
3. G81 OL N Z 3u 89S 3NMLLNO AINGOW uoyd uid l X00 Le ou 98S eoJy INC dasy euuajuy 0 X j qu J t O O m PP SNOISNAWIC 1v23Q NH3 LLVd ONT ddd PS u w e CG nm j lt k 61 BTM411 Mechanical Details Bluetooth AT Data Module MECHANICAL BTM410 411 DRAWINGS Jo oBeg NOLLO3POYA 10 10d 100 4 W0 19 Se qalvis ssa1Nn ON OMA INN NI SNOISNAWIG L O XX lt 0 X Qa3lvls SSJINN 30N3Y310 L sajon uoneoi ddy upqedeo sseooJud Jo pue eoueuedxoe Ia uo peseq suoisueuJip uJjeyed pue gog eui Ajlpow Aew Joen eu q o npouil au JO episJepun y uo sjurod 1s ay o Bunioys piore o pJeoq O d soy uo ajnpou au Jepun Jeddoo pasodxa ou si 1194 BINSU p Uonenj eAe SOUBWJOLIEd euuajue pue jueuudoJ o ep npoui JO pasn SEM U9 UA pJeoq Us JeuJoo ay Hure euuajue y y m J9uJoo ayy ui qeJ9JoJd pue pJeoq o d 1sou au Jo abBpa y uo p o d eq pinous a npou au eoueuuoJed euuajue 1s q JOY Z uoneipeJ euugjue Jedoud Bulosjje juanald o eae SIU JO Jeajo jejau Aue Jo eJempJey Bununou je desy osjv pieoq o d 1sou au jo SJo e Aue uo eae mo d y euuajue y ui Jeddoo ou si 1134 euynsu3 Oo QQ wu Q O 1 qm k 31VOS LON OG SALON NOILVOIIddV o8 1 a L9 L8 jp 1 l g j E 62 L 4 v S
4. J1VOS LON OU r PEO IES 4 JO1 9 S d E E SS EE A V Lamm s cre G u pedo o DD DIGOC O 191U e TT pus il ML a s SUOISUBWIG eDexoeg npolN 0 cV E 0 0L LO SIIDOTONHI3L youd ISOOIE OL 9 C Dii p IET 9 cc 0 cc 4 Le 3 9 L G L 4 cl q y pim ped jeqoj o GO OU 090 GG OU d JUBISH pjeius JH Lc SE A GM ssaux9Iy L gOd OL 60 80 LV L PC LC V 9 SO ON wnuwixey jeord wnwiulyy uoisuewig WLU Ud WWE C X G X 0 9ZIS LLpINLS uonduoseq GM ei rs LV eis LL L j N HIHIHIHIHIHIMIHIHIHIHUP LLLA i EOS 21d ZL 0S E en B g Doug Je uo O a Yew UOIEJUSMO RA J WS 5 PT 7 j TI O o U L1 Oo m O da lt LAN Im gq cg I L i O ee O II ES O L1 me SN 7 3qis ININOAMOD Y 9 SQVd LINS MIA dOL MIA WOLLOg r Dmm l Roe 6c 9c PI IUS dd 9c 6c aL H H euuajuy E 60 BTM411 Mechanical Details Bluetooth AT Data Module MECHANICAL BTM410 411 DRAWINGS Q cJoz oDe NOILO3f OHd ejeqig PP 10 10d 100 Y W0 14 ena Gen qaivis ssa1Nn ON SMA WW NI SNOISN3WIG 0 X X qaAOuHddv a 0 07 XXX 0 X a3 1W1S SSI INN Yo SM N IVIYSILVIN JON3 10L e9aq uleneg pue papuswuwoseY 09 Ec e d 07 0 UIPIM Ped dh 99 y bua7 ped EE 8 8 GUIOT HEBER 06 HOHBEBBHEHIE T 0LX001 youd uid DEL
5. lt Passkey gt Example PASSKEY N 0016A4000002 Laird BTM 000002 164585 PAIR O BdAddr nn PAIR 1 lt BdAddr gt PAIR 2 lt BdAddr gt PAIR 3 lt BdAddr gt PAIR 4 lt BdAddr gt PAIR 5 lt BdAddr gt PAIR 6 lt BdAddr gt PAIR 7 lt BdAddr gt Passkey compare request Expecting the user to compare the passkey displayed on both ends and to confirm a match by AT BTBY at both ends or reject by AT BTBN if passkey does not match Passkey request Expecting the user to enter the passkey displayed by the remote device Use AT BTB lt passkey gt example AT BTB012345 Passkey notification Display BdAdar friendly name and passkey to user see 1 below Expecting the user to enter the passkey from this message at the remote device s numeric keyboard Successfully paired with device of lt BdAddr gt lt nn gt optional indicates the status of auto matic storage to trusted device list Value O success Settings controlled by 325 to 328 Please refer to section 2 3 page 37 Pairing timeout Pairing failed Pairing failed too many repeat attempts Pairing rejected by remote device Pairing failed unit keys not supported Pairing failed SSP not supported Pairing failed already busy with pairing 1 If both devices have a KeyboardOnly capability no pass key can be displayed In that case the user is required to invent and enter the identical 6 digit numeric passkey at both end
6. CTS D Dcow He RTSIv DTRIv BRKI CAPTURE Echo SE e Data Transfer Test Open COm30 9600 N 8 1 14 1644000002 0 A Q 0 Figure 3 3 SPP example Preparation of Device B Laird Technologies BTM410 411 Bluetooth AT Data Module AT CO M MAN D S ET EN Ezurio Terminal Yer 6 7 2 B j CTS DSF DCD RIS RTSIv DTRIvV BRK CAPTUREN Echo Clear Data Transfer Test REFEREN CE Open COM24 9600 N 8 1 AT SPDO016EA 4000002 PAIR O 001644000002 QQ CONNECT 61644000002 1101 gt 6 7890 AT SPH NO CARRIER 1101 Figure 3 4 SPP example Device A initiate connection receiving data command mode disconnect PEE CURR CECI PEPO E OOOO EN EXIT CTS DSR OCO AIM RITSA DTRIV BRKI CAPTURE Echo Clear Data Transfer Test Open COM30 9600 N 8 1 PAIR 001644000001 QO RING 001644000001 1101 CONNECT 001644000001 1101 lt 12345 NO CARRIER 1101 Figure 3 5 SPP example Device B incoming connection receiving data disconnection 2 2 ATA Accept Incoming SPP Connection Request Accept an incoming connection which is indicated by the unsolicited string cr If2 RING 123456789012 cr Ilf every second 123456789012 is the Bluetooth address of the connecting device Response cr If CONNECT 123456789012 1101 lt lt cr f gt 2 3 AT SPD lt bd_addr gt Make Outgoing SPP Connection Initiate an SPP connection to device with Bluetooth address lt bd_addr gt and SP
7. Audio Gateway Role of Hands free Profile Hands free Gateway Hands Free Profile Human Interface Device Profile Headset Role of Headset Profile Headset Audio Gateway Role of Headset Profile Headset Gateway Headset Profile Input Output Microphone Man In The Middle Object Push Profile Phone Book Access Profile PASS THROUGH Command Pulse Width Modulation Sub Band Codec Synchronous Connection Oriented Link used for Audio Service Level Connection Serial Port Profile Serial Stream Oriented Secure Simple Pairing SUBUNIT INFO Command S Register No xxx Trusted Device List Universal Asynchronous Receiver Transmitter UNIT INFO Command Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 11 www lairdtech com OVERVIEW OF THE BTM PRODUCT FAMILY Chipset CSR BC4 Ext Bluetooth version 2 1 Features SSP EIR SCO 1 eSCO 1 Profiles SPP 1 external codec required Chipset CSR BCSMM Ext Bluetooth version 2 1 Features SSP EIR SCO eSCO Profiles SPP A2DP AVRCP HSP HFP DUN DT Chipset CSR BCSMM Ext Bluetooth version 2 1 Features SSP EIR SCO eSCO Profiles SPP A2DP AVRCP HSP HFP DUN DT Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 12 www lairdtech com BTM AT COMMAND SET This section describes the AT Command Set for a BTM module This section is structured in functional groups of AT c
8. display only 1 display yes no 2 keyboard only 3 no input no output 4 reject IO cap requests 5322 0 0 1 Force man in the middle protection MITM 0 disabled 1 enabled referenced only if security level S320 lt 3 5323 0 0 1 Disable legacy pre BT2 1 Pairing 0 legacy pairing enabled 1 legacy pairing disabled S324 90 1 255 Secure Simple Pairing timeout in s This value must be at least 60 in order to meet the recom mendation of BT2 1 specification Table 3 6 S Registers for Secure Simple Pairing SSP 21 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 22 www lairdtech com 9 Asynchronous SSP Messages Table 3 7 lists asynchronous messages which occur if MITM is enabled The actually sent message depends on the combination of the IO capabilities of both ends The combination of IO capabilities of both devices can also be insufficient for MITM protection In that case the pairing will fail PAIR 2 lt BdAdar gt Please refer Table 5 6 in BT2 1 EDR specification 1 vol Generic Access Profile for sufficient combinations of IO capabilities for MITM authenticated link key PAIR lt BdAddr gt lt friendlyname gt lt Passkey gt Example PAIR 001644000002 Laird BTM 000002 863611 PASSKEY BdAddr friendlyname Example PASSKEY 0016A4000001 Laird BTM 000001 PAIR N lt BdAddr gt lt friendlyname gt
9. s1 _ ANIOd 1S31 HL E 118 1NIOd 1S31 HL Zldl ks Har 2 N gg zooa NOL 01894 LPLOH 00LW DINSH A en gt TT o uoo us sa N 9 8 Sco ks u00L dL znz U9 JIMS uonisod es P ZO UL e La COMA UND g felpo MOIE 00 ep 7 Hra Q uA r gt z dd MOLL Le NOA 6 k uA T ela IH 8 rly L 9n SMS 8dl Jl asn ad a a dE VIS epoiq ENE DIA AN 3POV 9Z2 LdOW z d T a NNOO dan V 4 y S 64 BTM410 411 Bluetooth AT Data Module ORDERING ORDERING INFORMATION INFORMATION PARTNUMBER DESCRPTON BTM410 Bluetooth AT Data Module external antenna BTM411 Bluetooth AT Data Module with integrated antenna Q1 2009 DVK BTM410 Development board with BTM410 module soldered in place DVK BTM411 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 s USA 1 800 492 2320 Europe 44 1628 858 940 Asia 852 2268 6567 wirelessinfo lairdtech com www lairdtech com wireless 5 Laird TECHNOLOGIES Innovative Technology tor a Connected World Laird Techn
10. Pal ST 58330 D KKK Bag E E E zzzz 2i 9320225 q Gow asn gt gt lt q aow gen ai GOGOOZ27Z2Z2O r F mMM CELE dr 18 1 Oldo gen gt gt z r 2 Ilt Oldo 2885 e en 198 YO Ee xs gen 4 XL einpow aod asn lt lt gt gt aoa Oldo VN A A YO 99 VO A 5 C8 ANg EE A 99 zl co Ol oe E s Es Ba a 5 3859 5 lun De Pi 3 En N N N N N 2 z m E N Og 22 2539539 yol OL AN BD OLIN lt MOL JN MOL AN MOL AN MOL N MOL JN Bre OF Sou vod MOL dN HI 9118 SLIM DA DH Zi m lt yk Cou l zo m n SH EZ vbZXO WA A ON 99H 2 S ger zr 0 10 uSQ 8 Oldo er el 410 2 Old _ Su ISOW Ids zo 90 ae OU DIA EAE DIA Ol 90 SIN 38 9 Oldo o Sl zl lt od ISOW We 3ALOV NVIMS Old _ _ Weier 0 so a ALVIS 18 3ALOV L t OldO OSIW Ids gt gt zi H Od X19 lds ALllHOlHd lg OldO SO ids gt gt 00 vO Od_OSIW M l aoa Ode z3o _ o Od SO We IL Oldo 99 130 sn x0L x0L 0L x0L x0L 0L MOL pa JN 6018 9018 1018 9018 sole voly OT 99 99H bk L L x0L Hue SE Od OSIN Ve 2 E S Od M19 dS gt e e zo Od ISON IAS S z L Od SO W 3 v O 329 WU Zar K zQ Ez ES Ol 99 da KF ee ZE Ol 99 Ol 99 AOL a ge 38 x we daz gsu Cen Si MA om EAE DON V sl ll ENE DOA ENE DIA EE m eH Y SZLZSLON u00 u00 ECH ZX9 JepeoH JN eg ode gt gt gt uid gen E Se LLLLL u Lut B o R P P 30 1 e 6 XL einpoyy e 99 Xx einpow 5 7 L3s38 EAE BOA ZZQOOAVVVIOES lt Ol 99A 1 SLO einpow S SLY einpow Soz
11. there will be confusion Ox5e is the character 4 Escape sequence guard time in milliseconds with a granularity of 20ms New values are rounded down to the nearest 20ms multiple UUID of default SPP based profile when not specified explicitly in the ATD command Detines a set of bits masks for enabling profiles Values can be ORed A profile can be enabled only if it is supported by the BTM variant Issue AT amp W and ATZ in order to make the new setting effective 0x001 is Serial Port Profile 0x002 is Headset HS 0x004 is DUN 0x008 is Audio Gateway Headset HSG 0x010 is Handsfree HF 0x020 is OBEX FTP 0x040 is Audio Gateway Handsfree HFG 0x080 is A2DP 0x100 is AVRCP 0x200 is PBAP 0x400 is HID Boot Mode on cold boot Boot modes are required to configure some low level device settings which cannot be configured by S registers and AT com mands Currently there are predefined settings defining the PCM data format to be used with certain codec ICs applies mainly to BC04 1 normal 2 4 for future customization of the module Store link key automatically on dedicated bonding outgoing DBO Store link key automatically on general bonding outgoing GBO Store link key automatically on dedicated bonding incoming DBI Store link key automatically on general bonding incoming GBI Enable legacy BISM2 response format Configure inquiry response of AT BTI Bitmask 1 show device address 2 sho
12. BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 24 www lairdtech com AT Commands Managing Trusted Devices 1 AT BTT List Trusted Device 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 OK is used to terminate the list Use the command ATI6 to read the maximum size of the trusted device database Response lt cr lf gt 12346789012 lt cr 1f gt 12345678913 lt cr lf gt 12345678914 cr If OK cr If 2 AT BTT Add Trusted Device 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 lt cr lf gt 0K lt cr If gt Or Response lt cr lf gt ERROR lt cr If gt 3 AT BTD bd addr Remove Trusted Device This command is used to remove the specified 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 lt cr lf gt OK lt cr f gt 4 AT BTD Remove All Trusted Devices This command is used to remove all devices from the trusted device list TDL in the
13. Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET 7 AT BTW lt bd_addr gt Initiate SSP REFERENCE This command initiates secure simple pairing dedicated bonding with a device whose Bluetooth address is lt bd_addr gt The correct term for this command s action with respect to the Bluetooth specification 2 1 EDR 1 is Dedicated Bonding Dedicated bonding means the exchange of link keys pairing without creating a connection to a particular protile or service immediately The remote device must be a Bluetooth 2 1 device otherwise BT2 0 or earlier legacy pairing will occur automatically if S323 0 For legacy pairing please refer to page 23 The OK response is sent immediately on receipt of the AT BTW command Depending on the combination of lO capabilities of both devices one of the asynchronous messages trom Table 3 7 might appear during the pairing process Please refer to that table for the required actions On pairing completion an unsolicited message in the form PAIR n lt bd_addr gt will be sent to the host 8 S Registers for Secure Simple Pairing The following table lists all S Registers tor Secure Simple Pairing For the registers details please refer to their descriptions above 320 2 1 3 Security Level see 1 vol3 Generic Access Profile Table 5 7 needs subsequent AT amp W and power cycle to take effect value 3 overwrites 322 5321 1 0 4 Set IO capability 0
14. They differ in the level of bit error checking It is recommended to enable all three packet types for SCO links This will pass the final decision down to the baseband There is no retransmission of erroneous SCO packets For eSCO and basic data rate there are 3 packet types defined in the Bluetooth specification 1 EV3 EV4 EV5 EV3 occupies one slot EV4 and EV5 can occupy up to three slots each They differ in the level of bit error checking It is recommended to enable all three packet types for eSCO links This will pass the final decision down to the baseband eSCO packets involve a CRC code and retransmission of erroneous eSCO packets Packet types and link types SCO or eSCO are negotiated on link setup A BTM can accept either incoming SCO or eSCO links S register 584 but not both SCO and eSCO at one time If the initiating side requests an unsupported link type the audio link will fail The initiating BTM module Is supposed to request the remaining link type in that case Table 3 14 lists all AT commands and S Registers for SCO eSCO links Initiate SCO link AT BTAx X packet type bitmask recommended value 7 1 HV 2 Hy 4 HV3 Initiate eSCO link AT BTA100x x packet type bitmask recommended value 7 L Ev3 2 EVA 4 EV5 Release SCO eSCO link AT BTAO AT BTA Initiate SCO eSCO link AT BTA8 Link type SCO eSCO and packet types defined by 584 Enable either SCO or 584 0 1 0 SCO HV1 HV2 HV3 enabled EE EE o
15. This module has a limited modular approval Approval with any other antenna configuration or layout other than that approved will necessitate additional radiated emission testing to be performed 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 This module was approved with the following antenna RF Solutions ANT 24G WHJ SMA OdBi Operation of this module with any other antenna will require additional testing to be performed Co location with other radio transmitting devices operating concurrently in the same band will require additional testing and certification Designers should note the distinction that the FCC makes regarding portable and mobile devices Mobile devices are defined 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 BTM410 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 Transmitte
16. ATI9 ATI11 ATI12 ATI13 ATI14 ATI15 ATI16 ATI17 ATI18 ATI19 ATI20 ATI33 The product name variant The CSR firmware build number The AT firmware build number For internal use only The AT firmware revision A 12 digit hexadecimal number corresponding to the Bluetooth address of the BTM device The manufacturer of this device The maximum size of trusted device database The manufacturer of the Bluetooth chipset The chipset format SPP connection status O not connected 1 connected in local command mode 2 connected in remote command mode The reason why a NO CARRIER resulted in the most recent attempt at making an outgoing connection Where the response values are as follows O No prior connection 1 Connection timeout 2 Connection attempt cancelled 3 Normal disconnection 4 Peer device has refused connection 5 Service profile 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 If2 OK cr If Where a 2 0 when not online and 1 when online and Sniff h
17. Bluetooth address For backward compatibility the following command fulfils the same purpose ATDR Response lt cr lf gt CONNECT 12345678901 2 gt lt cr lf gt Or cr If NO CARRIER lt cr f gt AT SPH Drop SPP Connection Drop an existing SPP connection or reject an incoming connection indicated by unsolicited RING messages For backward compatibility the following command fulfils the same purpose ATH Response cr If NO CARRIER lt cr f gt SPP Incoming Connections The Laird Technologies BTM device can be configured using the AT BTP or AT BTG command so that it will scan for incoming connections from other Bluetooth devices It can also be contigured via S Register 512 to be in this mode by default on power up When the lower layers detect an SPP connection request a RING 123456789012 string is sent to the host every second The command ATA is used to accept the connection and ATH to reject the request On connection if the SO Register is gt 0 then confirmation to the host is in the form CONNECT 123456789012 1101 lt When SO 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 specified 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 SPP Asynchronous Messages RING This string
18. GBO 1 store automatically default Automatic link key storage on dedi S327 0 1 0 do not store cache only cated bonding incoming DBI 1 store automatically default Automatic link key storage on general 328 0 1 0 do not store cache only bonding incoming GBI 1 store automatically default Table 3 15 Automatic storage of link keys 3 Profile Connection Status The connection status of a profile can be queried by an ATI Command This might be helpful in order to decide whether to disconnect all connected profiles via ATH or a certain one For details please see Table 3 16 Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE Get connection status of SPP Get connection status of A2DP Get connection status of AVRCP Get connection status of HSP Headset Get connection status of HSP AG Get connection status of HFP HF Get connection status of HFP AG Get connection status of DUN ATI60 ATI61 ATI62 ATI63 ATI64 ATI65 ATI66 ATI67 0 not connected 1 connected local command mode 2 connected remote command mode identical with ATI9 O 2 not connected 1 2 connected O 2 not connected 1 2 connected O 2 not connected 1 2 ACL connected 2 audio connected O not connected 1 2 ACL connected 2 audio connected 0 not connected 1 2 SLC connected 2 audio connected 3 in call SEC 4 in call audio 0 not conn
19. If ERROR nn lt cr f gt 6 Dropping SSO Connections In a conventional telephony modem a call is normally terminated by first 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 BTM devices provide a variety of ways of dropping a connection One method is similar 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 phone s Bluetooth AT modem The second method involves the host dropping the DTR DSR from the module s 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 300kbps To cater for this performance hit the device s connection drop capability is configurable 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 the former mode This mode is selected using the 507 register Appendix Table 4 1 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 file transfe
20. Ohm antenna 12 5mm x 18 0 x 3 4mm BTM410 12 5mm x 24 0mm x 3 4mm BIM411 3 grams 30 C to 85 C Storage Temperature 40 C to 85 C Qualified as an END product Limited Modular Approval BTM410 Full Modular Approval BTM41 1 Approvals Bluetooth FCC CE R amp TTE Miscellaneous Lead free Warranty Development Tools Development Kit Meets CE and R amp TTE requirements Lead free and RoHS compliant 12 Months Development board and software tools DVK BTM410 Dev Kit with BTM410 module fitted DVK BTM411 Dev Kit with BTM411 module fitted Laird Technologies BTM410 411 Bluetooth AT Data Module SPECIFICATIONS pn sgn Demon sen 1 Unused 2 GND 3 UART_CTS Clear to Send I P VUSB 4 UART_RXD Receive data I P VUSB S UART RTS Request to Send O P VUSB 6 UART_TXD Transmit data O P VUSB 7 GND 8 SPI_CSB SPI bus chip select I P VIO 9 SPI_MISO SPI bus serial O P VIO 10 SPI_MOSI SPI bus serial I P VIO 11 SPI CLK SPI bus clock I P VIO 12 VDD USB USB amp UART supply voltage 13 VDD IO I O supply voltage 14 VDD IN Main supply voltage 15 GND 16 PCM IN PCM clock I P VIO 17 PCM SYNC PCM sync I P VIO 18 PCM CLK PCM clock I P VIO 19 PCM OUT PCM Data O P VIO 20 RESET Module reset I P See note 2 21 GPIO5 I O for host VIO 22 GPIO2 UART DCD I O for host VIO 23 GND 24 Unused 25 Unused See note 3 26 Unused See note 3 27 Unused See note 3 28 GND See note 3 29 ANT BTM410 Antenna connection 50 ohm matched See note 3 30 GND
21. Profiles E 29 Hardware Units BTM410 411 33 Miscellaneous cra 36 Appendix Geet ee ont ae ner 43 General S Registers 43 ATI Commands 50 Error Responses E 52 List of UUIDs 53 References 54 FCC Regulatory Statements 55 BTM410 FCC and Industry Canada Statements 55 BTM411 FCC and Industry Canada Statements 55 Declarations of Compliance 56 BTM410 EU Declaration Of CONTON asian 56 BTM411 EU Declaration OF COD OPI uu aus aaa asqa 57 Mechanical Drawings 58 BTM410 Mechanical Details 58 BTM411 Mechanical Details 60 Development Kit Schematic 03 Ordering Information 65 Product Part Numbers 65 General Comments ssseinineeeennnneeeen 65 Laird Technologies BTM410 411 Bluetooth AT Data Module OVERVIEW AND The BTM410 and BTM411 Bluetooth modules from Laird Technologies have been designed to meet the KEY FEATURES 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
22. SSO connection SSP or DUN An attempt to connect a second SSO profile while already one SSO connected will result in Error 65 Any incoming connection request to an SSO profile will be rejected if one SSO is already connected The following section describes AT commands related to SSO profiles f f Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 25 www lairdtech com 1 ATX lt string gt 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 29 characters long whereby a non printable character Mh see below counts 3 characters This restriction results from the maximum AT command length which is 34 query by ATI15 The difference of 5 is caused by ATX 3 characters and the enclosing quotation marks 2 characters If the maximum string length is exceeded ERROR 05 syntax error will occur If a non visual character is to be sent then insert the escape sequence Mh where hh are two hexadecimal digits The 3 character sequence Mh will be converted into a single byte before transmission to the peer Response lt cr lf gt OK lt cr f gt Or cr lf gt ERROR Ob5 cr If e g string too long ATY lt string gt Send Data in Local Command and Connected Mode This command is similar to ATX in syntax and functionality except that the
23. See note 3 31 Unused See note 3 32 Unused See note 3 33 Unused See note 3 34 Unused See note 3 35 Unused See note 3 36 Unused See note 3 37 Unused See note 3 38 Unused 39 Unused 40 Unused 41 GND 42 GPIO1 UART RI I O for host VIO 43 GPIO9 UART_ DTR I O for host VIO 44 GPIO10 UART DSR I O for host VIO 45 GND 46 D Not used for AT module variants VUSB 47 D Not used for AT module variants VUSB 48 GPIO7 I O for host VIO 49 GPIO6 I O for host VIO 50 GPIO4 I O for host 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 3 Pins 25 37 should be left not connected on modules with integrated antenna BTM411 BTM421 and BTM431 7 www airdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module OPERATING PARAMETERS 8 www lairdtech com OPERATING PARAMETERS OPERATING CONDITION MIIN MAX VDD USB USB compatibility not required Ja 3 6 VDD_USB USB compatibility required 3 1 30 VDD_IO 127 3 3 VDD IN 3 0 3 3 VOLTAGE SPECIFICATIONS INPUT VOLTAGE LEVELS MIIN dck MAX V 0 7VDD_USB V 2 7 lt VDD_USB lt 3 0 0 4 0 8 1 7 lt VDD_USB lt 1 9 0 4 0 4 OUTPUT VOLTAGE LEVELS 1 7 lt VYDD USB lt 1 9 V out 4mA VDD USB 0 4 V lout 4mA 0 4 OUTROT VOLTAGE LEVELS 2 7 VDDTUSB lt 3 0 V out 4mA VDD_USB 0 2 V lout 4mA 0 2 Note VDD_USB must
24. Specification 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 tor applications where designers need both performance and minimum size For maximum flexibility 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 Profile The modules are fully qualified as Bluetooth End Products allowing designers to integrate them within their own products with no further Bluetooth Qualification They can then list and promote their products on the Bluetooth website free of charge Future releases include support for the Bluetooth Health Device Profile making this module the ideal choice for manufacturers who are developing Continua Health Alliance compliant devices A comprehensive AT command interface is included which simplifies firmware integration Combined with a low cost developers kit this ensures that the choice of Laird Technologies Bluetooth modules guarantees the fastest route to market FEATURES AND BENEFITS Y V RoHs APPLICATION AREAS e Bluetooth v2 1 EDR e Embedded Devices e Adaptive Frequency Hopping to cope with
25. hardware units except GPIO For GPIO Registers please refer to Table 3 13 GPIO S Registers S589 0 8 External codec output gain Table 3 11 S Registers for Hardware Units Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET 3 GPIO REFERENCE On a BTM410 41 1 device a number of digital I Os can be used for general purposes Each GPIO will be assigned to an S Register 651 to 663 which will be capable of both GPIO configuration config mode as well as single pin read write access r w mode The bitmask of the I O pin for direct read write access will be 0x01 All configuration flags are allocated to higher value bits A bitmask for the I O pin will be applied to if S Register 650 is set to 1 This will enable the user to access a GPIO Pin directly by reading writing O or 1 If the GPIO shall be configured S650 must be set to O in order to obtain access to the GPIO configuration flags All logical GPIO lines can be read written in one atomic step by new S Register 670 at any time Some GPIOs can have an alternative function assigned If the alternative function is enabled the appropriate l O Pin is not available as GPIO any more Handshaking functions are generally enabled per default Wi Fi coexistence functions are currently not used But if they should be used or required in the future the appropriate function cannot be moved to another I O Pin Hence it should be considered that no other user function is assigne
26. interference e Phone Accessories from other wireless devices e Security Devices e Secure Simple Pairing support e Medical and Wellness e External or internal antenna options Devices e Comprehensive AT interface for simple programming e Automotive Applications e Bluetooth END Product Qualified e Bluetooth Advertising e Compact size e ePOS e Class 2 output 4dBm e Low power operation e UART interface e PCM and SCO for external codec e GPIO lines under AT control e Support for Serial Port Profile e Support for Health Device Profile later release e Wi Fi co existence 4 www airdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module SPECIFICATIONS am A AA Wireless Specification Bluetooth Version 2 1 EDR Transmit Class Class 2 Frequency 2 402 2 480 GHz algas 79 channels Frequency Hopping Adaptive Frequency Hoppin 4 dBm at antenna pad BTM410 4 dBmi from integrated antenna BTM41 1 27 dBm at antenna pad BTMA10 27 dBmi from integrated antenna BTM411 Max Transmit Power Min Transmit Power Receive Sensitivity 84dBm Range 30m Data Transfer Rate Up to 300 kbps Antenna Modes External Antenna 50 Ohm matched SMT pad BTM410 Integrated Antenna option 0dBi multilayer ceramic BTM411 Ds teca RS 232 bi directional for commands and data 16550 compatible Configurable from 1 200 to 921 600bps Non standard id ids baud rates supported Bits 8 Parity Odd even none Stop bi
27. is sent to the host when a remote device Is initiating a serial port connection The fully qualified string is in the form RING 012345678901 where 012345678901 is a 12 digit hexadecimal number which corresponds to the remote device s 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 CONNECT 123456789012 1101 lt An SPP connection has with Bluetooth device 123456789012 has been established successfully The connection was initiated by the remote device incoming CONNECT 123456789012 1101 gt An SPP connection has with Bluetooth device 123456789012 has been established successfully The connection was initiated by the local device outgoing Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 2 9 SPP S Registers S Registers for SPP are summarized in Table 3 10 SO 0 1 15 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 gt O resets S Register 504 to O and lt 0 forces 504 to 1 If SO lt gt O and S100 lt gt O then SO must be lt 5100 If a value is entered which violates this rule then ERROR 29 is sent in response If 504 1 then this registe
28. lf gt OK lt cr f gt Or Response lt cr If gt ERROR nn lt cr f gt Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 17 www lairdtech com General S Registers Please refer to Appendix Table 4 1 for a list of supported S Registers The main purpose of S Registers is to make the device configuration persistent All S Registers can be saved to non volatile memory by AT amp W In some cases an AT command and an S register exist for one and the same setting In the majority of those cases the AT commande setting will be lost on next power cycle whereas the S register can be saved and is still available after power cycle This rule applies to many but not to all of those cases AT Commands for Inquiry 1 AT BTI lt devclass gt Inquire This will make the device perform an inquiry for delay seconds and max number of unique responses where delay is defined by S register 517 and max is specified by S register 518 The lt devclass gt is an optional parameter where the value specifies either a 6 digit device class code or a 2 digit major device class If it is not specified the value is taken from S register 516 When lt devclass gt is 6 hexadecimal characters long it specifies an AND mask which is used to filter inquiry responses When lt devclass gt is 2 hexadecimal characters long it forces the inquiry to filter responses to devices that match their major device class code to this v
29. message the PIN provided by this command will not be stored in non volatile memory Specifying an empty string deletes the PIN from the non volatile memory The string length must be in the range 0 to 8 otherwise an error will be returned Response cr If OK cr If 3 Legacy Pairing Asynchronous Messages PIN This response is sent to the host during a pairing negotiation The fully qualified 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 does not supply the address in the message exchange then the address is specified as 000000000000 and the pairing will proceed as normal 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 O bd addr MM This response is sent to the host on termination of a successful pairing process The optional MM is sent only if the according S Register 325 328 is set to 1 to automatically save the link key see Section 2 pg 37 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 23 www lairdtech com Laird Technologies
30. profiles and services of the module For SDP service discovery profile security level O is always assigned internally Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 20 www lairdtech com 2 IO Capability S321 S Register 321 defines the IO capability of the device The setting is used for IO capability negotiations prior to SSP in order to identify whether the IO capabilities of both devices are sufficient for MITM protection if required Table 3 4 lists possible values 0 Display only The device has the capability to display or communicate a 6 digit decimal number 1 Display yes no The device has the capability to display or communicate a 6 digit decimal number and at least two buttons that can be easily mapped to yes and no or a mechanism where by the user can indicate either yes or no e g pressing a button within a certain time limit 2 Keyboard only The device has a numeric keyboard that can input numbers 0 through 9 and a confirmation The device has also at least two buttons that can be easily mapped to yes and no or a mechanism whereby the user can indicate either yes or no e g pressing a button within a certain time limit 3 No input no output The device does not have the ability to indicate yes or no and the device does not have the ability to display or communicate a 6 digit decimal number 4 Reject IO Cap requests IO capability
31. rate unchanged amp F1 Minimum power consumption UART baud rate set to 9600 amp F2 Minimum power consumption UART baud rate set to 38400 amp F3 Minimum power consumption UART baud rate set to 115200 amp FA Medium power consumption UART baud rate set to 115200 amp F5 Maximum power consumption UART baud rate set to 115200 The new values are NOT updated in non volatile memory until the AT amp W command is sent to the device Response cr If OK cr If Or Response cr If ERROR nn lt cr f gt AT amp F Clear Non volatile Memory The AT amp F variant of the command installs values in S registers as per command AT amp 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 If OK cr If Or Response lt cr If gt ERROR nn lt cr f gt AT amp F Clear Non volatile Memory 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 If OK cr If OF Response lt cr If gt ERROR nn lt cr f gt AT amp W Write S Registers to Non volatile Memory Writes current S Register values to non volatile memory so that they are retained over a power cycle Response lt cr
32. the DTR from the host is connected to the DSR line of the module and 507 1 The second method assumes that this connection is absent and S507 1 or 2 In the first method it is enough to deassert the DTR line from the host and that will abort the autoconnect cycle No OK is sent in response Hence it is up to the host to send a character regularly e g one per second until the BTM device echoes all buffered characters to the host provided echo is enabled Once the BTM device echoes characters it is in command mode Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 29 www lairdtech com The second method is initiated by resetting the device and then ensuring that the text string AT BT amp BISM amp lt cr gt is sent where lt cr gt 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 confirms to the host of that fact by sending an OK response Response cr If OK cr If AT BTR Delete Outgoing Peer Address This command is used to delete the peer address previously stored using AT BTR lt bd_addr gt Response cr If OK cr If 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 Response lt cr lf gt 12346789012 cr If OK cr If If the location is empty
33. the power consumption of the BTM can be influenced However lower power consumption means longer connection establishment time and longer time until a BTM is discovered by other devices The page scan window defines the time for the module to look out for incoming connection requests paging The inquiry scan window defines the time for the module to look out for incoming inquiry requests device discovery If the module is both connectable and discoverable 512 4 or AT BTP issued it will mutually do page scanning and inquiry scanning as shown in Figure 3 7 If connectable only the module will perform page scanning only repeatedly and if discoverable only then the module will perform page scanning only S register 508 defines the page scan interval in ms range is 11 2250 S register 509 defines the page scan window in ms range is 11 2250 Page Scan Inquiry Scan Window Window F S509 F S511 Page Scan Interval Inquiry Scan Interval Page Scan M s508 3A ssi S register 510 defines the inquiry scan interval in ms range is 11 2250 S register 511 defines the inquiry scan window in ms range is 11 2250 Figure 3 7 Page and Inquiry Scan Intervals and Windows 7 Sniff Mode Bluetooth connections are master slave in nature A master sends packets and a slave has to acknowledge that packet in the next timeslot Timeslots in Bluetooth are 625 microseconds wide This implies that a master wi
34. the response is as follows Response cr If 00000000000 cr If OK cr If Bluetooth Profiles This section covers S Registers and AT Commands that are related to supported Bluetooth Profiles on BTM de Profile Activation In order to activate available profiles and advertise them to potential client devices S Register 102 is used Per default only SPP is activated value 1 Other supported profiles can be activated by setting the appropriate Flag in S Register 102 Once S Register 102 has been written the changed value needs to be saved to non volatile memory AT amp W and subsequently a reset ATZ or power cycle is required Please note that AT amp W saves the content of all S Registers to non volatile memory SPP Serial Port Profile The serial port profile SPP is used for serial data transmission with a remote device in both directions It behaves like a wireless replacement for a serial cable SSP belongs to the group of serial stream oriented profiles SSO so please refer to pg 24 too In order to use SPP the profile must be enabled in 5102 value 1 If it was not enabled earlier set the S register accordingly and issue AT amp W followed by ATZ 2 1 SPP example This section gives an example on how an SPP connection between two Laird BTM devices can be established It is assumed that two devices A and B are connected to a terminal program e g Ezurio Terminal on a PC The example sequence of AT
35. 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 94 is the character Escape sequence guard time in milliseconds with a granularity of 20ms New values are rounded down to the nearest 20ms multiple When set to O 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 be 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 Specifies the mode on connection establishment O 2 Normal that data is exchanged between UART and RF 1 2 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 L
36. 0 Des This register specifies in each 4 bit nibble how the DTR DCD RI output pins are controlled when in a Bluetooth connection Nibble 0 3 specifies the source for DTR 4 7 specifies the source for DCD 8 11 specifies the source for RI Each nibble can take the following value O 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 f 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 bitin 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 specifies in each 4 bit nibble how the DTR DCD RI output pins are controlled when NOT in a Bluetooth connection Nibble 0 3 specifies the source for DTR 4 7 specifies the source for DCD 8 11 specifies 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 O then the relevant pin is an input Each nibble can take the following value O Always deassert 1 Always assert 2 Assert if RING is being sent to the host Post Reset Window If S Register 512 gt 2 and lt 7 then this regis ter specifies a time in seconds for which the device will stay in the 512 mode after power up or rese
37. 1 cr If OK cr If If the device lt bd addr gt cannot be reached or is in non connectable mode then Response lt cr lf gt 2 cr If OK cr If If the SDP database is corrupt or invalid then Response lt cr lf gt 3 cr If OK cr If If the device is not in idle mode then Response lt cr lf gt 4 cr If OK cr If and in this case the command AT BTX may put the device into the correct idle mode ATIn Information This will return the information about the Laird Technologies device and its status Please refer to Table 4 2 Appendix for a complete list of supported ATIn parameters For recognized values of n Response lt cr lf gt As Appropriate lt cr lf gt 0OK lt cr Hz For unrecognized values of n Response lt cr lf gt Laird Technologies Inc UK c 2009 lt cr lf gt AT Commands for S Registers 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 For a list of general S registers please refer to page 17 and Table 4 1 S registers associated with a particular profile or specific functions are described in the appropriate profile section of this document The following AT commands allow the manipulation of S registers 1 ATSn m Set S Register The value part m can be entered as decimal or hexadecimal A hexadecimal value is specified via a leading character For example 1
38. 1 eSCO EV3 EVA EV5 enabled Only one link type can be enabled at one time automatically on each Value bitmask for packet type The link type SCO SPP link eSCO is defined by S584 0 Feature disabled 1 HV1 S584 0 or EV3 S584z1 2 HV2 S584 0 or EVA S584 1 4 HV3 5584 0 or EV5 S584 1 Table 3 14 SCO eSCO AT commands and S Registers 36 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 37 www airdtech com 1 1 SCO eSCO Asynchronous Messages The following asynchronous messages apply to SCO eSCO connections AUDIO ON SCO This response is sent to the host when a SCO channel has been established AUDIO ON eSCO This response is sent to the host when a eSCO channel has been established AUDIO OFF This response is sent to the host when an existing SCO eSCO channel has been closed AUDIO FAIL This response is sent to the host when a SCO channel setup fails This might be caused by the fact that the peer only accepts eSCO connections but a SCO connection was requested or vice versa Please try to initiate the SCO connection with the remaining link type Link Key Management On a BTM device link keys are managed by the AT firmware Appropriate AT commands are described on page 23 There is a ranoe of S Registers defining the behavior of automatic link key storage on incoming outgoing and dedicated general bonding 2 1 2 2 2 3 Dedicated Bondi
39. 234 is a hexadecimal number When S register values are changed the changes are not stored in non volatile memory UNTIL the AT amp W command is used Note that AT amp 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 ATSn Read S Register Value This will return the current value of register n For recognized values of n Response lt cr lf gt As Appropriate cr If OK cr If7 For unrecognized values of n Response cr If ERROR nn lt cr f gt Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 16 www lairdtech com 3 ATSn Read S Register Valid Range This will return the valid range of values for register n For recognized values of n Response lt cr lf gt Sn nnnn mmmm lt cr lf gt OK lt cr lf gt For unrecognized values of n Response lt cr lf gt ERROR nn lt cr f gt AT amp 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 specified then a default value of O is assumed where the baud rate is NOT changed amp FO Default Medium power consumption UART baud
40. 28 www lairdtech com Ze AT BTG lt bd_addr gt Make Device Selectively Connectable Only Make the BTM device connectable for the device with the Bluetooth address lt bd_addr gt only Connection requests from any other devices will be rejected If the specified address is 000000000000 then incoming connections are accepted from any device is as per AT BTP without an address The BTM device is not discoverable The setting remains valid until next reset or power cycle unless not changed by any other AT command subsequently For permanent discoverable connectable settings please refer to S Register 512 and AT BTM lt bd_addr gt Response lt cr lf gt 0OK lt cr If gt AT BTM lt bd_addr gt Set Incoming Peer Address This command is used to store a peer address for incoming connections in non volatile memory Only the device with Bluetooth address bd addr will be permitted to make a connection to the BTM device Connection requests from other devices will be rejected The new setting applies immediately and will retain over a power cycle unless not changed by any other AT command subsequently When S register 512 3 4 6 or 7 then the BTM device will wait for an incoming connection from the peer address specified If bd addr is 000000000000 then incoming connections from any devices are permitted Response cr lIf OK cr If AT BTM Delete Incoming Peer Address This command is used to delete the peer address
41. DUN command 65 UART resource error Table 4 3 BTM Error Responses List of UUIDs Table 4 4 gives a list of selected UUIDs For a complete list refer to the Assigned Numbers Service Discovery SDP document 3 by the Bluetooth SIG 0x1101 0x1102 0x1103 0x1105 0x1106 0x1108 0x110A 0x110B 0x110C 0x110D Ox110E Ox110F 0x1112 Ox111E Ox111F Serial Port Profile SPP LAN access using PPP Dial up Networking DUN OBEX Object Push OBEX File Transfer Headset Profile HSP Headset A2DP Audio Source A2DP Audio Sink AVRCP Remote Target A2DP AVRCP AVRCP Remote Controller Headset Profile Hands free Profile HFP Hands free Profile HFP Table 4 4 Selected UUIDs Audio Gateway Hands free unit Audio Gateway Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET References REFERENCE 1 Bluetooth Specification Version 2 1 EDR vol3 26 July 2007 http www bluetooth com Bluetooth Technology Building Specifications click on Core Specification v2 1 EDR 2 Serial Port Profile Specification http www bluetooth com Bluetooth Technology Works SPP htm link at the bottom of page Need more View the Serial Port Profile SPP 3 Bluetooth Assigned Numbers http www bluetooth com Bluetooth Technology Building Specifications select Items per page ALL go to end of page there click on Assigned Numbers Baseband for a complete list of Profile UU
42. Enable Disable echoes The ATEn command also affects this When set to O 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 O 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 Page Scan Interval in milliseconds Minimum is 11 25ms so 10 11ms will give 11 25ms refer to Section 6 pg 40 Page Scan Window in milliseconds Minimum is 11 25ms so 10 11ms will give 11 25ms refer to Section 6 pg 40 Inquiry Scan Interval in milliseconds Minimum is 11 25ms so 10 11ms will give 11 25ms refer to Section 6 pg 40 Inquiry Scan Window in milliseconds Minimum is 11 25ms so 10 11ms will give 11 25ms refer to Section 6 pg 40 Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET mee EEN ET Ree REFERENCE TE S514 915 5916 5517 5518 5519 45 www lairdtech com 10 001F00 000000 20 500 1 60 000000 FFFFFF 0 2FFFFFF 2 01 0 233 100 3000 Specify power up stat
43. IDs click on Assigned Numbers Service Discovery 4 Class of Device Generator this link might be helpful for creating a particular CoD http bluetooth pentest narod ru software bluetooth class of device service generator html Caution this tool allows selection of more than one minor device classes so make sure that only one minor device class is select and verify the result with 3 anyway 5 Bluecore 4 External Data Sheet Cambridge Silicon Radio CSR http www csrsupport com log in or new account required 6 Winbond 681360 Codec Board User Guide Ezurio Application Note 54 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module FCC REGULATORY STATEMENTS 22 BTM410 FCC and Industry Canada Statements The Final Equipment user manual must show the following statements 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 modifications not expressly approved by the party responsible for compliance could void the user s 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
44. IER Response NO CARRIER Response NO CARRIER If SPP was connected response NO CARRIER 1101 If SPP was not connected response NO CARRIER If A2DP was connected response NO CARRIER 110D If A2DP was not connected response NO CARRIER If AVRCP was connected response NO CARRIER 110E If AVRCP was not connected response NO CARRIER If HS instance was connected response NO CARRIER 110E If HS instance was not connected response NO CARRIER If HSG instance was connected response NO CARRIER 1112 If HSG instance was not connected response NO CARRIER Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE AT HFH ATH111E Response NO CARRIER If HF instance was connected response NO CARRIER 111E If HF instance was not connected response NO CARRIER AT HFGH ATHT11F Response NO CARRIER If HFG instance was connected response NO CARRIER 111F If HFG instance was not connected response NO CARRIER AT DUH ATH1103 Response NO CARRIER If DUN was connected response NO CARRIER 1103 If DUN was not connected response NO CARRIER Table 3 19 Implications of 329 6 Page Scan Inquiry Scan Interval and Window Page scanning means being connectable Inquiry scanning means being discoverable With the following S registers
45. L COMMAND UART input is parsed by the AT inter preter and RF data is discarded 2 REMOTE COMMAND RF input is parsed by the AT interpreter and UART data is discarded If S Register 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 interpret er and incoming RF data is sent to the host using the RX lt string gt asynchronous response 4 LOCAL COMMAND and on the rf side the GPIO is auto matically sent when there is a change in input digital WO cable replacement mode If non zero then on every connection a SCO channel audio will be initiated Bit O for HV1 Bit1 for HV2 and Bit2 for HV3 When the connection is lost the SCO channel disappears along with it Link Supervision Timeout If units go out of range then a NO CAR RIER message will be sent to the host after the time specified 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 gt 2 then reading this register will always return O and writing 1 will result in ERROR 33 When set to 1 in idle mode S51221 UART Rx characters are discarded if DSR is de asserted This sets the power level in dBm when inquiring or paging Read ing this register returns the value stored in non volatile memory As per S541 however reading this register return
46. NO CARRIER If AG HSP connection released response NO CARRIER 1112 If no HSP connection has existed response NO CARRIER Must be enabled by 332 because it would result in a behavior not defined in HSP specification If HS HSP connection released response NO CARRIER 1108 If no HSP connection has existed response NO CARRIER If AG HFP connection released response 2 NO CARRIER 111F If no HSP connection has existed response NO CARRIER If HF HFP connection released response NO CARRIER 11 1E If no HSP connection has existed response NO CARRIER Response NO CARRIER lt ProtileUUID gt for each previously connected profile or NO CARRIER if no existing connection found or HS connected but 332 0 Table 3 17 Profile release commands 5 Legacy Response Format BISM2 Some BISM2 responses have been slightly changed on BTM modules in order to provide enhanced functionality If required a BISM2 compatible response format can be enabled by S Register 329 Table 3 19 shows the implications of enabled disabled legacy response format Enable legacy response format BISM2 compatible AT SPH ATH1101 AT APH ATH110D AT AVH ATH110E AT HSH ATH1 108 AT HSGH ATH1112 329 0 1 O disabled default 1 enabled Table 3 18 Enabling Disabling legacy response format Response NO CARRIER Response NO CARRIER Response NO CARR
47. OCAL COMMAND and on the rf side the gpio is automatically sent when there is a change in input digital I O cable replacement mode 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 gt 2 then reading this register will always return O and writing 1 will result in ERROR 33 Table 3 8 S Registers for SSO profiles AT Commands for a Selected Peer Device This section describes AT commands to make the BTM Bluetooth device connectable for one particular remote device only or to connect to a particular remote device on reset or on power cycle automatically 1 AT BTP lt bd_addr gt Make Device Discoverable and Selectively Connectable Make the BTM device discoverable for all devices and connectable for the device with the Bluetooth address lt bd_addr gt only Connection requests from any other devices will be rejected If lt pd_addr gt is 000000000000 then incoming connections are accepted from any device as per AT BTP without an address The setting remains valid until next reset or power cycle unless not changed by any other AT command subsequently For permanent discoverable connectable settings please refer to S Register 512 and AT BTM lt bd_addr gt Response cr If OK cr If Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE
48. P profile The timeout is specified by S register 505 For backward compatibility the following command fulfils the same purpose ATD lt bd_addr gt Response cr If CONNECT 123456789012 1101 gt lt cr If gt Or cr If NO CARRIER lt cr f gt 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 If CALL LIMIT Or cr If NO CARRIER lt cr f gt In that case issuing an ATZ to reset the device will reset the count to O and more connections are possible 31 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 32 www lairdtech com 2 4 2 5 2 6 2 7 2 8 AT SPDL Remake Connection Make a SPP connection with the same device as that specified in the most recent AT SPD command An error will be returned if the L modifier is specified AND a Bluetooth address For backward compatibility the following command fulfils the same purpose ATDL Response lt cr lf gt CONNECT 12345678901 2 gt lt cr lf gt Or lt cr lf gt NO CARRIER lt cr f gt AT SPDR Make SPP Connection to Peer Specified in AT BTR Make a SPP connection with the device address specified in the most recent AT BTR command An error will be returned if the R modifier is specified AND a
49. USER MANUAL Version 1 0 z S a 2 D CH SE N O 3 Laird TECHNOLOGIES gt Innovative Technology for a Connected World BTM410 411 Bluetooth AT Data Module REVISION REVISION HISTORY HISTORY Revision Description Version 1 0 06 22 10 Initial Release Version 2 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module TABLE OF CONTENTS 3 www lairdtech com CONTENTS BTM410 411 Bluetooth Module 4 A A n 4 BIM410 411 Key Features 4 Specifications 5 Detailed Specifications 5 Pin Definitions 7 Operating Parameters 8 Voltage Specifications 8 AT Command Set Reference 9 Jonge Bree TRO 9 Glossary of Terms 10 Overview of the BTM Product Family 11 BTM AT Command Set 12 le ee 12 General AT Commands 12 AT Commands for S Registers 15 General S Registers 17 AT Commands for Inquiry 17 Secure Simple Pairing 19 AT Commands Managing Trusted Devices 24 AT Commands for Serial Stream Oriented Profiles SSO 24 AT Commands for a Selected Peer Device 27 Bluetooth
50. acter E g the value 1234 can also be entered as 4D2 lt string gt A string delimited by double quotes E g Hello World The character MUST be supplied as delimiters uuid A 4 character UUID number consisting of ASCII characters 0 to 9 A to F and a to f General AT Commands 1 AT Used to check the module is available Response lt cr lf gt OK lt cr f gt 2 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 EO Disable echo E1 Enable echo All other values of n will generate an error Response cr If OK cr If Or Response lt cr If gt ERROR nn lt cr f gt Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 13 www airdtech com 3 ATZ lt n gt Hardware Reset and emerge into boot mode ni 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 non volatile memory to take effect The module will issue an OK response after the reset is complete and it is ready to receive commands once again ATZ and ATZO signify reset and emerge into the current boot mode see command ATI14 ATZ1 to ATZA instructs the module to reset and then emerge into the appropriate boot mode Note that S Register 103 specifies the boot mode from cold Boo
51. ails Bluetooth AT Data Module MECHANICAL BTM410 411 DRAWINGS e bg Q ma c O c O O c D E E o O 10 z aBed NOILO3POYd DLPWIg 0 10d 100 8 d18 Sien ON SMG Aujiqedeo sseooud Jo pue ARAN e Dum ooueuedxe Jeun uo peseq suoisueuJip Used pue god 24 jipoui Aew Joen ay e 0 0 XXX U9I9AN IN Geen npoul eosqnuenta Due p pueluuosey JO episJepun uo sluiod soi o Buoys pioAe oj npoui Jepun 4eddoo p sodx ou aunsuy z lt Seene apinbarem Jeue doo Jo dusoouu WLUYOQS ui GZ uid O I 4 0 euuajuy eEuJ9 X3 Jog uuoo pie S9JON OC 6L El X00 L uoyd uid win 0000000000 s 30N ees ps EM ER Bs youd uid 04 L OL SOU Lon er G8 K d 99 ujbue peq d L OZ O UPIM ped OL zeju seg JNITLOO 3 1130lN SNOISN3NICI TVO3Q NS3 LIVd GNV1 82d AWOS LON Od Se A ee AAA E ae 9 eee eee eee eee es EE O e a 3 O lt lt 59 BTM411 Mechanical Details Bluetooth AT Data Module MECHANICAL BTM410 411 DRAWINGS D i C job oDeg NOI LOd3f OdHd BIC IO See L0 1Oqd 1L007H V a lg Se gt d a qaivis SS31NN WW Sy u N ON SMA aos WW NI SNOISNAWIG UUNH N aoa sev GER EES Se
52. alue which can only be in the range 00 to 1F The response format to AT BTI is defined by S Register 330 by bitmask This is device address device class friendly name receiver strength indicator and extended inquiry data Please refer to Figure 3 1 and Table 3 2 For 5330 1 Response lt cr lf gt 12346789012 lt cr 1f gt 12345678914 lt cr lf gt OK lt cr f gt 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 filled 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 As the inquiry process is driven by randomness it is not guaranteed that each discoverable device is always found on the first attempt Sometimes more than one inquiry processes might be necessary to find a particular device The probability also depends on the inquiry scanning intervals of the device being searched for The inquiry process can be speed up if the friendly name is not required flag not set in 330 as part of the inquir
53. and and data modes This leads to the matrix of states shown below Local Command Mode OK OK Remote Command Mode ILLEGAL OK Data Mode ILLEGAL 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 Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET GLOSSARY OF TERMS REFERENCE 10 www lairdtech com A2DP ACL ADC AGHFP AT AVRCP BISM CoD Codec DAC DSP DUN EIR esco SIP GOEP GPIO HF HFG HFP HID HS HSG HSP WO IO Mic MITM OPP PBAP PT PWM SBC SEO SEE SPP SSO SSP SUI SXXX TDL UART UI Advanced Audio Distribution Profile Asynchronous Connection Oriented Link Analogue to Digital Converter Audio Gateway Hands Free Profile Command prefix Attention Audio Video Remote Control Profile Bluetooth Intelligent Serial Module Class Of Device also referred to as device class Device capable of encoding decoding an analogue digital signal Digital to Analogue Converter Digital Signal Processor Dial Up Network Profile Extended Inquiry Response Enhanced Synchronous Connection Oriented Link used for Audio File Transfer Profile Generic Object Access Exchange Profile General Purpose Input Output Hands free Role of Hands free Profile Hands free Unit
54. as 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 The maximum length of an AT command not including the terminating carriage return Codec Output Maximum Gain Range Codec Input Maximum Gain Range Bluetooth version Audio connection status O off 12 on 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 Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET AAA REFERENCE aa ATI60 ATI61 ATI62 ATI63 ATl64 ATI65 ATI60 ATI61 ATI62 ATI63 ATl64 ATI65 ATI67 ATI101 ATI111 ATI200 ATI333 51 www lairdtech com State information Where the response values are as follows 13 NotOpen 14 Openldle 15 Ringing 16 OnlineCommand 172 to 177 waiting for connectable and or discoverable where the lowest significant digit equates to the value stored in S Register 512 or 555 Note when nz16 ATI9 will return 1 SPP connection status 0 not connected 1 connected identical with ATI9 A2DP connection statu
55. ass gt save the set ting AT amp W and initiate a power cycle ATZ Default Device Class filter to be used with AT BTI when it is not explicitly specified When queried the value is always printed as a hex number The seventh most significant digit can be 0 1 or 2 and is used to specify the type of device class filter When 0 it specifies no filtering When 1 it specifies an AND mask and all 24 bits are relevant When 2 it specifies a filter to look for devices with matching major device class which occupies a 5 bit field from bits 8 to 12 inclusive assuming numbering starts at bit O All other 19 bits MUST be set to 9 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 firmware 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 firmware build When 5507 gt 0 and in a connection DSR can be used to change from data to command state by de asserting the DSR line for less than the time specified in this register This value is rounded down to the nearest 100ms Laird Technologies BTM410 411 Bluetooth AT Data Modu
56. be connected to power the USB and UART interfaces INPUT VOLTAGE LEVELS MIN Wd MAX V 0 7VDD_IO V 27 VDD I0 3 0 0 4 0 8 1 7 lt VDD_10 lt 1 9 0 4 0 4 OUTPUT O IS Ev Po hy DD TO V out 4mA VDD IO 0 4 V lout 4mA 0 4 Dt OUER S 2 7 lt DID iO 5 0 V out 4mA VDD IO 0 2 V lout 4mA 0 2 Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 9 www lairdtech com INTRODUCTION This document describes the protocol used to control and configure the BTM 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 Just like telephony modems Laird Technologies devices power 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 configuration of the device 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 configured 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 comm
57. cable essential requirements of Article 3 of the EU Directive 1995 5 EC when used for its intended purpose Place of Issue Ezurio Ltd dba Laird Technologies Saturn House Mercury Park Wooburn Green HP100HH United Kingdom tel 44 0 1628 858 940 fax 44 0 1628 528 382 Date of Issue October 2009 Name of Authorised Person Tim Wheatley Director of Engineering Signature s 56 BTM410 411 Bluetooth AT Data Module DECLARATIONS OF EU DECLARATION OF CONFORMITY COMPLIANCE Ezurio Ltd BTM411 EU Directive RTTE 1995 5 EC Conformity Assessment Reference standards used for presumption of conformity Article Number Reference standard s Health and Safety EN 60950 1 2006 Protection requirements with EN 301 489 1 V1 8 1 respect to electromagnetic EN 301 489 17 V2 1 1 compatibility Emissions EN55022 2006 A1 2000 A2 2006 ClassB Immunity EN61000 4 2 1995 A1 1998 A2 2001 EN61000 4 3 2002 A1 2002 Du Means of the efficient use of EN 300 328 V1 7 1 2006 10 the radio frequency spectrum Declaration We Ezurio Ltd declare under our sole responsibility that the essential radio test suites have been carried out and that the above product to which this declaration relates is in conformity with all the applicable essential requirements of Article 3 of the EU Directive 1995 5 EC when used for its intended purpose Place of Issue Ezurio Ltd dba Laird Technologies Saturn House Mercury Park Woobu
58. class Other examples of device class codes are follows 0x00 1FOO Unclassified None Unclassified n a 0x200404 Headset Audio Audio Headset There is a tool available in the internet for creating a particular device class code refer to 4 A device class set by AT BTC becomes visible immediately but will be lost on next power cycle Response cr If OK cr If Or for an invalid lt devclass gt value usually a value which is not 6 hexadecimal characters long Response lt cr lf gt ERROR 08 cr If7 ATS515 lt devclass gt Set Device Class Code Permanently S Register 515 is used to set the device class code permanently Use AT amp W to save the setting to non volatile memory The new value will become visible on next power cycle which can be initiated by ATZ Refer to number 4 for more information about the device class code Response cr If OK cr If AT BTC Read Device Class Code This command is used to read the current device class code Response cr If 123456 cr If OK cr If Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 14 www lairdtech com 7 10 11 12 13 AT BTF lt string gt Set Friendly Name Temporarily This sets the friendly name of this device as seen by other devices The new name becomes immediately visible Any name set by this command will be lost on next power cycle Please refer to S register 593 Table 4 1 too Resp
59. commands is listed in Table 3 9 Figure 3 2 through to Figure 3 5 are presenting appropriate screenshots with Ezurio Terminal Preparation A AT amp F Restore factory default settings ATS102 1 Enable Serial Port Profile SPP AT amp W Store settings ATZ Reset Preparation B AT amp F Restore factory default settinos ATS102 1 Enable Serial Port Profile SPP ATS0 1 Automatic response after one RING AT amp W Store settings ATZ Reset AT BTP Make device temporary connectable and discoverable ATIA Query Bluetooth device address of local device lt BdAddr_DevB gt Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET er EC EE REFERENCE Initiate connection Connected A B Enter A or command B mode Disconnect 30 www lairdtech com AT SPD lt BdAddr_DevB gt Initiate SPP connection from device A to device B Asynchronous messages PAIR 0 pairing successful A and B RING B only CONNECT connected A and B data Any character entered on one end is displayed at the other end SAN Response OK Command mode confirmed now AT commands are expected at the UART UART data from host is not sent across to remote device AT SPH Response NO CARRIER A and B disconnection confirmed Table 3 9 SPP Example Command Sequence EJ Ezurio Terminal Yer 6 7 2 mu x CTS DSR OCO RIM RTSIv DTRIv BRKI CAPTURES Echo au Data Transfer Test Open COM24 9600 8 13
60. d 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 Pl4411B or Contains FCC ID PI4411B Any similar wording that expresses the same meaning may be used BTM410 411 Bluetooth AT Data Module DECLARATIONS OF EU DECLARATION OF CONFORMITY COMPLIANCE Ezurio Ltd BTM410 EU Directive RTTE 1995 5 EC Conformity Assessment Reference standards used for presumption of conformity Article Number Reference standard s Health and Safety EN 60950 1 2006 Protection requirements with EN 301 489 1 V1 8 1 respect to electromagnetic EN 301 489 17 V2 1 1 compatibility Emissions EN55022 2006 A1 2000 A2 2006 ClassB Immunity EN61000 4 2 1995 A1 1998 A2 2001 EN61000 4 3 2002 A1 2002 Du Means of the efficient use of EN 300 328 V1 7 1 2006 10 the radio frequency spectrum Declaration We Ezurio Ltd declare under our sole responsibility that the essential radio test suites have been carried out and that the above product to which this declaration relates is in conformity with all the appli
61. d to an WO Pin if the coexistence functions are required The following table lists all GPIOs and their alternative functions GPIO1 RI GPIO2 DCD GPIO3 BT Priority Ch CIk GPIO4 BT_Active BT_ State GPIO5 Wlan_Active GPIO6 Rf_Active GPIO7 DTR GPIO8 DSR GPIO Alternative Functions BTM410 411 P fis fra 13 i2 u o fo se 7 Je 5 ja 3 2 fht Jo Ld Dejo o o o o o o o o o o o o o o lo Figure 3 6 GPIO configuration register 34 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE O PS I O Pin State returns the current state of the I O pin 0 1 when read A write affects the 1 0 pin directly if DIR 1 and FME 0 1 DIR Direction controls if the I O pin is an input or an output O input 1 output 2 INV Inversion controls if the I O pin is inverted or not Applies to both pin directions read and write O not inverted 1 inverted 3 FME Function Mapping Enable Enables function mapping of the pin A function mapping code must be set in GPIO configuration register 8 15 The pin will carry out the assigned operation and is not accessible anymore as GPIO O disable function mapping 1 enable function mapping 4 15 Reserved Table 3 12 GPIO Configuration Register Field Descriptions S650 0 0 1 Mode for GPIO Config Registers O no mask 1 enable i o pin state Mask S651 GPIO1 0x0000 0 0xFFFF GPIO Configuration Regis
62. di h 58 l amp di S f H x Usel x 4 y T Slots S552 me N Slots S551 ms N Slds 561 ms N Slots 5551 me M Slds Negotiated M Slots Negotiated M min 5563 ms M min 563 ms M max 564 ms M max 564 ms Figure 3 8 Sniff Mode Example 8 Maximum RF Tx Power Level The maximum RF transmit power level for all operation states inquiring connecting in connection is controlled by 541 542 9 Manufacturing Info String A string with manufacturing information can be retrieved by ATI200 10 Bluetooth Version The Bluetooth version can be queried by ATI18 11 Legacy Issues BT2 0 There are some special cases if a legacy device BT2 0 or earlier e g BISM2 requests a connection to a BTM device BT2 1 General bonding does not work if initiated by the legacy device Instead the legacy device must initiate dedicated bonding first 2pairing BISM2 AT BTW lt BdAddr gt After successful pairing the connection can be initiated by the legacy device BISM2 ATD BdAddr 41 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 42 www airdtech com 12 15 Factory Default UART Baud Rate BTM 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 As long as the equation BAUDRATE 0 004096 produces an integer value then
63. e When set to 0 AT BTO is required to open the device for Blu etooth 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 o 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 traffic is discarded in absence of a connection while DSR is asserted If DSR is not as serted then it behaves exactly as per mode 2 When set to 6 it will be like 3 but all UART RX traffic is discarded in absence of a connection while DSR is asserted If DSR is not as serted then it behaves exactly as per mode 3 When set to 7 it will be like 4 but all UART RX traffic is discarded in absence of a connection while DSR is asserted If DSR is not as serted 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 amp W is Pairing Timeout in seconds This includes the time a host takes to supply the PIN number when PIN Messages are indicated Default Device Class Code When queried the value is always printed as a hexadecimal number To change the device class of the module temporary and immedi ately without power cycle use the command AT BTC To change the device class of the module permanently write the new value to this S Register ATS515 lt devcl
64. ecimal friendly name printable ASCII character enclosed by rssi signed 2 digits decimal eir data printable ASCII character whenever possible otherwise a byte is displayed as 32 digit hexadecimal with preceding V enclosed by For example the data block 01 41 42 43 44 02 03 45 46 04 OA OD will be presented as 01 ABCD 02 03456 04 0A 0D No validation is performed on incoming EIR data If a higher significant flag is set and a lower significant bit is not set in S 330 for each disabled item a comma is printed Example 330 9 ADDR enabled COD and FN disabled RSSI enabled Inquiry Response cr If 123456789012 5b4 cr If 123456789014 54 cr If OK cr If AT BTIV lt devclass gt Inquire As per AT BTI but the response comprises for all inquiry responses 1 the Bluetooth device address 2 device class code S register 330 Is not referenced AT BTIN lt devclass gt Inquire As per AT BTI but the response comprises for all inquiry responses 1 the Bluetooth device address 2 device class code 3 friendly name S register 330 is not referenced AT BTIR lt devclass gt Inquire As per AT BTI but the response comprises for all inquiry responses 1 the Bluetooth device address 2 device class code 3 friendly name 4 rssi receiver signal strength indicator S register 330 is not referenced AT BTIE lt devclass gt Inquire As per AT BTI but the response co
65. ected 1 SLC connected 2 Audio connected 3 in call SLC 4 in call audio O 2 not connected 1 2 connected Table 3 16 Profile connection status 4 Disconnecting Profiles A connection to a profile can be released by ATH lt Profile UUID gt For A2DP and AVRCP this means a second way of disconnecting The response on a disconnect command is usually NO CARRIER profileUUID if a connection has existed and 329 0 If no connection has existed and 5329 0 no profileUUID is appended If all connections are to be released ATH may be used Please see Table 3 17 38 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 39 www lairdtech com Disconnect SPP Disconnect A2DP Disconnect AVRCP Disconnect HSG Disconnect HS Disconnect HFG Disconnect HF Disconnect all profiles listed in this table ATH1101 or AT SPH or ATH ATH110D or AT APH ATH110E or AT AVH ATHT112 or AT HSGH ATH1108 or AT HSH ATH111F or AT HFGH ATH111E or AT HFH ATH Single ATH retained tor backward compatibility resoonse NO CARRIER or NO CARRIER 1101 depending on S329 and if a SPP connection has existed previously If A2DP connection released response NO CARRIER 110D If no A2DP connection has existed response NO CARRIER If AVRCP connection released response NO CARRIER 110E If no AVRCP connection has existed response
66. er of Bluetooth packets are being lost Manufacturing data e g module serial number manufacturing date Full AT firmware version number Table 4 2 BTM ATI Commands Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET Error Responses mE Pm Description s 01 Register not recognized 02 Value for register is out of range 03 Incoming call NOT pending 04 No call to connect to This error code has meaning for ATO only 05 Syntax Error 06 Empty String 06 Device Class could not be stored 08 Invalid Device Class Code 09 Invalid Bluetooth Address 10 Could not set Service or Friendly name 11 PS Store Write 12 PS Store Read 13 Not Idle 14 Incorrect Mode 15 Already Scanning 16 Pairing is already in progress LE Not USED 18 Not USED 19 Not USED 20 Not safe to write to Non volatile Store Ongoing Bluetooth Connection 21 Link Key Cache is Empty 22 Link Key Database is Full 23 Malloc returned NULL Resource Issue 24 Remote Address same as Local Address 25 Connection Setup Fail DSR Not asserted 26 Unauthenticated licence 27 Max Responses See S Register 518 too high Memory allocation error 28 The length of Pin in AT BTK is too long 29 Invalid Ring count specified for S Register O or 100 If SO lt gt 0 and 5100 lt gt 0 then SO must be lt 5100 30 ADC Error 31 Analogue Value cannot be read as it is set for output 22 Analogue Value cannot be writte
67. g an identical PIN key on both ends If the PIN is required if not set earlier by AT BTK lt PIN gt asynchronous indications will be sent to the host in the form PIN bd addr where the address confirms 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 If S register 325 1 the link key is automatically saved to the non volatile trusted device list Otherwise S325 0 the link key can be added to the trusted device list by AT BTT Please refer to below under AT Commands managing Trusted Devices for further AT commands related to trusted device list 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 lt bd_addr gt If AT BTI or AT BTP or AT BTG or AT BTQ or ATD is issued between the AT BTW command and the subsequent 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 lt cr lf gt OK lt cr f gt 2 AT BTK lt string gt Set Passkey This command is used to provide a PIN passkey The PIN is stored in non volatile memory for future use If this command is used as response to a PIN 12345678 asynchronous
68. hrough the internet provided by the Bluetooth SIG and other companies explaining the mechanisms and backgrounds of SSP They can be found by searching the internet for e g Bluetooth Secure Simple Pairing Please familiarize with those documents to get a better understanding of SSP and the following settings T Security Level S320 The security level is defined in the BT2 1 EDR specification 1 vol3 Generic Access Profile Table 5 7 There are 4 Levels providing different levels of security Level 3 e MITM protection MITM Man in the High security Middle attack e Encryption e User interaction Level 2 e No MITM protection Medium Security e Encryption Level 1 e No MITM protection Low Security e No Encryption 1 e Minimal user interaction Level 0 e No MITM protection Permitted only for service e No Encryption discovery e Minimal user interaction 1 Although encryption is not necessary for security level 1 encryption will always be enabled because this specification mandates encryption for all services other than SDP service discovery Table 3 3 Security Levels The security level is defined by S Register 320 and is referenced at boot time only Hence the register must be saved by AT amp W and the module must be power cycled or ATZ subsequently 5320 3 will overwrite the setting of S Register 322 enable MITM The security level will remain the same until next power cycle and is valid for all
69. ication is believed to be accurate Devices sold by Laird Technologies are covered by the warranty and patent indemnification 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 specifications 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 specifically 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 Techno
70. idle state Ov for more than 125 milliseconds Ezurio Terminal provides a BREAK capability which can be used to reset a connected BTM device by ticking and un ticking the BRK field see Figure 3 9 Etzurno Terminal Ver 6 7 2 i j ell x CTS psR oco RIM ATS DTRF PTUREN I Echo Clea Data Transfer Test Figure 3 9 BREAK capability in Ezurio Terminal 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 Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET Appendix REFERENCE General S Registers The following table lists all general S Registers Please not that this is not a complete listing of S Registers Additional S registers associated with a certain profile or feature are described in the appropriate section above 512 5101 25102 3402 5525 5326 S347 5328 5329 5330 5331 43 www lairdtech com 100 1101 Depending on module variant ZO a 40 5000 0 ffff Depending on supported profiles m i KA EA EA EA E Lo PS Eo Pa ls Escape sequence character It is not by default as a Bluetooth serial link can be used to connect to a mobile phone which ex poses an AT command set which will in turn use as default So if both used
71. le AT COMMAND SET REFERENCE 520 9600 1200 4115200 521 9521 1200 921600 523 1 1 2 5524 0 M 55 5 0 0 1 526 3 1 3 530 1000 100 15000 46 www lairdtech com 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 fol lowing baud rates are accepted 1200 2400 4800 9600 19200 28 800 38400 57600 115200 If S register 52521 then the maximum baud rate is limited to 115200 Change baud rate to non standard value BTM modules support any baud rate The only limitation is the integer arithmetic in volved 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 521 should only be sued for non standard baud rates For stan dard baud rates use 520 The effect is immediate and in fact the OK will be sent at the new baud rate If S Register 525 1 then the max baud rate is limited to 115200 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 BTM device cannot be communicated with If this happens there is a procedure to recover from this situation which is described in section 12 pg 42 Factory Default UART Baud Rate Number of Stop bits See S Register 526 for f
72. ll always know when packets will be sent and received which further means it is able to optimize power usage by switching on power hungry circuitry only when needed A slave on the other hand does NOT have prior knowledge of when a packet will be received and has to assume that a packet will be received from a master on every receive slot This means that it has to leave its receiving circuitry on for most of the receive slot duration The result of this is high power consumption on slave side In general a slave draws about 5 times the current of a master This problem was identified very early in the evolution of Bluetooth especially since headsets spend all their time as a slave in a Bluetooth connection and it was solved by having a mode called Sniff with appropriate lower layer negotiating protocol 40 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET Sniff mode during connection is basically an agreement between the slave and its master that data REFERENCE packets will only be exchanged for N timeslots every M slots The slave can then assume that it will never be contacted during M N slots and so can switch its power hungry circuitry off The specification goes further by also specifying a third parameter called timeout T which specifies extra timeslots that the slave will agree to listen for after receiving a valid data packet Put another way if a data packet is received by the slave the
73. logies be responsible or liable for any damages arising From the use of product From the loss of use revenue or profit 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 66
74. manent discoverable connectable settings please refer to S Register 512 Response cr If OK cr If AT BTQ Make Device Discoverable Make the device discoverable but not connectable Being discoverable implies that this device will respond to inquiries from other devices inquiry scans enabled The setting remains valid until next reset or power cycle unless not changed by any other AT command subsequently For permanent discoverable connectable settings please refer to S Register 512 Use AT BTX to make the device not discoverable Response cr If OK cr If AT BTG Make Device Connectable Make the device connectable but not discoverable and wait for a connection from any device The setting remains valid until next reset or power cycle unless not changed by any other AT command subsequently For permanent discoverable connectable settings please refer to S Register 512 Response lt cr lf gt OK lt cr f gt Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 15 www lairdtech com 14 AT BTV lt bd_addr gt lt uuid gt SDP Query for Service 15 This command is used to interrogate the SDP database of the peer device lt bd_addr gt for the service uuid It results in an ACL connection and then an SDP transaction If the uuid service is present then Response lt cr lf gt 0 cr If OK cr If If the uuid service is not present then Response cr If7
75. mprises for all inquiry responses 1 the Bluetooth device address 2 device class code 3 friendly name 4 rssi receiver signal strength indicator 5 extended inquiry data S register 330 is not referenced Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 19 www lairdtech com 6 AT BTE lt EIR Data gt Set up outgoing EIR Data This command sets up outgoing EIR extended inquiry response data Format EIR Data printable ASCII character whenever possible otherwise a 2 digit hexadecimal with preceding presenting one byte Please note that the given data Is written to baseband as it is raw data and no checks on the data format is performed Hence the user is responsible for writing data that corresponds to the extended inquiry response data format as described in the Bluetooth Specification Version 2 1 EDR 1 vol3 Part C Generic Access Profile 8 Extended Inquiry Response Data Format page 1305 in the pdf file Response cr If OK cr If AT BTE Query outgoing EIR Data This command prints the outgoing EIR data that is currently set up Response cs EIR Data cr If OK cr If Secure Simple Pairing SSP Secure Simple Pairing SSP has been introduced since Bluetooth 2 1 EDR It aims to increase the security provided by a Bluetooth link whilst making the pairing process more user friendly There are white papers about SSP available t
76. n as it is set for input 33 S Register Value is invalid 34 Both L and R modifier cannot be specified in ATD command 35 Invalid Major Device Class valid value in range 0x00 to Ox1F inclusive 36 Pairing in progress Command cannot be actioned try again later 37 Invalid Sniff parameter specified E g new Attempt value greater than MinInterval Solution is to first increase MinInterval and re enter the Attempt value 38 Get Remote Friendly name Failed 39 Failed to change mode to Multipoint 40 7 Bit mode requires parity to be even or odd 41 Stream Error 42 Stream Pending Error 52 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 53 www lairdtech com 43 Unknown Audio Gateway Command 44 Busy try later 45 Command or operation not allowed 46 No A2DP role has been set see S register 300 47 No AVRCP role has been set see S register 301 48 No AVRCP category has been set see S register 302 49 No AVRCP control connection 50 No A2DP or AVRCP connection currently incoming 51 Invalid operation ID AVRCP 92 Wrong AVRCP role 53 Command disabled by S Register 310 54 No manufacturing information available 55 Audio resource error 56 Invalid UUID 57 Maximum gain level reached 58 Minimum gain level reached 59 Profile or role not enabled 60 Profile under construction 61 Unknown Headset command 62 Unknown Hands free command 63 Incorrect state 64 Unknown
77. n it knows that it MUST carry on listening for at least T more slots If within that T slot time period another data packet is received then the timer is restarted This mechanism ensures low power consumption when there is no data transfer at the expense of latency When there is a lot of data to be transferred it acts as if sniff mode were not enabled It is stated above that during sniff mode a slave listens for N slots every M slots The Bluetooth specification states that a master can have up to 7 slaves attached to it with all slaves having requested varying sniff parameters It may therefore be impossible to guarantee that each slave gets the M parameter it requested In light of this the protocol for enabling sniff mode specifies that a requesting peer specify the M parameter as a minimum and maximum value This will allow the master to interleave the sniff modes for all slaves attached For this reason the sniff parameters are specified in the BTM module via four S registers S Register 561 is used to specify N S Register 562 is used to specify T and S Registers 563 564 are used to specify minimum M and maximum M respectively Although the specification defines these parameters in terms of timeslots the S register values have to be specified in units of milliseconds and the firmware does the necessary translation to timeslots High Power Consumption hange amp di Low Power Consum rtion fa B 8
78. ng In BT2 1 specification dedicated bonding is defined as the exchange of link keys between two devices without the intention of establishing a connection immediately Dedicated bonding is initiated by AT BTW lt BdAddr gt initiation of pairing General Bonding In BT2 1 specification general bonding is defined as the exchange of link keys between two devices with the intention of establishing a connection immediately This is the case if a device tries to connect to another device without existing link key Hence pairing authentication and exchange of link keys is initiated automatically prior to the connection General bonding is initiated by a connection requesting AT command if there is no link key for the peer device existing Such AT commands are AT SPD lt BdAddr gt AT APD lt BdAddr gt AT AVD lt BdAddr gt AT HSD lt BdAddr gt AT HSGD lt BdAddr gt AT HFD lt BdAddr gt AT HFGD lt BdAddr gt AT DUD lt BdAdar gt Automatic Storage of Link Keys Four S Registers define the automatic storage of link keys in the trusted device list depending on incoming outgoing and general dedicated bonding Please see Table 3 15 Automatic link key storage on dedi 325 0 1 0 do not store cache only cated bonding outgoing DBO 1 2 store automatically default identical with 538 Automatic link key storage on general 326 0 1 0 2 do not store cache only bonding outgoing
79. non volatile database No confirmation will be asked for So beware WARNING If you make a connection the link key gets cached in the underlying stack So if you subsequently delete the key using AT BTD and immediately request a connection to the same device then the connection will be established To ensure this does not happen send ATZ after the AT BTD Response cr If OK cr If 5 AT BTW List Cached Trusted Device This command is used to list the cached trusted device Response lt cr lf gt 12346789012 cr If OK cr If If the cache is empty the response is as follows Response cr If OK cr If AT Commands for Serial Stream Oriented Profiles SSO The Serial Port Profile SSP and the Dial up Networking Profile DUN belong to the group of Serial Stream Oriented profiles SSO When activated an SSO profile claims one UART for its data stream and assumes all data at the UART to be transmitted over or received from RF 1 1 Hence as there is only one UART available on a BTM device the UART is not available for other profiles services or module control purposes One approach of managing data and control over UART is to configure local command mode with 531 3 In this mode incoming RF data is presented by the asynchronous message RX string Outgoing data is sent by ATX string or ATY string With this approach it is possible to manage several non SSO connections e g A2DP AVRCP and at maximum one
80. ologies 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 find 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 0610 Copyright O 2010 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 modifications 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 specif
81. ommands related to module configuration Bluetooth profiles hardware units and miscellaneous purposes Assumptions 1 All commands are terminated by the carriage return character OxOD which is represented by the string cr in descriptions below this cannot be changed 2 All responses from the BTM device have carriage return and linefeed characters preceding and appending the response These dual character sequences have the values OxOD and Ox0A respectively and shall be represented by the string lt cr lf gt 3 All Bluetooth addresses are represented by a fixed 12 digit hexadecimal string case insensitive 4 All Bluetooth Device Class codes are represented by a fixed 6 digit hexadecimal string case insensitive 5 All profile specific commands are identified by the prefix shown in Table 3 1 Serial Port Profile SPP AT SP Table 3 1 AT Command prefix for profiles Command Syntax The following syntax is employed throughout this document to describe optional or mandatory parameters for AT commands bd addr A 12 character Bluetooth address consisting of ASCII characters 0 to 9 A to F and a to f lt devclass gt A 6 character Bluetooth device class consisting of ASCII characters 0 to 9 A to F and a to f N A positive integer value M An integer value which could be positive or negative which can be entered as a decimal value or in hexadecimal if preceded by the char
82. onse lt cr lf gt 0OK lt cr If gt AT BTN lt string gt Set Friendly Name Permanently This sets the default friendly name of this device as seen by other devices It will be stored in non volatile memory The new name will become visible to other devices on next power cycle Use AT BTF to make the name visible immediately Use AT BTN To read it back An empty string will delete the string from non volatile memory which will force the default name to be used which is Laird BTM 789012 The digits in the default friendly name represent the last 6 digits of the local Bluetooth address Please refer to S register 593 Table 4 1 too If a new value of 593 needs to be retained permanently save it to non volatile memory by AT amp W Response cr lIf OK cr If AT BTN Read Friendly Name from Non volatile Memory Read the default friendly name from non volatile memory Response lt cr lf gt My Friendly Name lt cr If gt lt cr lf gt OK lt cr lf gt AT BTF lt bd_addr gt Get Remote Friendly Name This command oets the remote friendly name of the peer specified Response lt cr If gt lt bd_addr gt Friendly Name lt cr lf gt OK lt cr lf gt AT BTP Make Device Discoverable and Connectable Make the device discoverable and connectable and wait for a connection from any device The setting remains valid until next reset or power cycle unless not changed by any other AT command subsequently For per
83. previously stored using AT BTM lt bd_adar gt If the BTM device was connectable for the selected device before this command it will be connectable for any device immediately after this command Response cr If OK cr If AT BTM Read Incoming Peer Address This command is used to display the peer address stored in non volatile memory used to put the module in pure cable replacement mode Response cr If 12346789012 cr If OK cr If If the location is empty the response is as follows Response lt cr lf gt 00000000000 cr If OK cr If AT BTR lt bd_addr gt Set Outgoing Peer Address This command is used to store a peer address for outbound connections in non volatile memory 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 specified via S register 505 attempt to connect to the peer address specified In this circumstance all data 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 and 5507 1 or 2 the device effectively becomes useless as in this circumstance the module is not listening for commands arriving on the UART In this circumstance a recovery is possible by one of two methods The first method assumes that
84. r Module FCC ID PI4410B or Contains FCC ID PI4410B Any similar wording that expresses the same meaning may be used BTM411 FCC and Industry Canada Statements The user manual must show the following statements 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 modifications not expressly approved by the party responsible for compliance could void the user s 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 certification Designers should note the distinction that the FCC makes regarding portable and mobile devices Mobile devices are defined as products that are not used closer than 20cm to the human body whereas portable devices can be use
85. r 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 file it is going to happen as fast as possible and so the inter character gap is going to be significantly shorter than the Guard time The Esc Chr character can be changed via the S2 register and the Guard time interval can be specified via the S12 register Appendix Table 4 1 7 SSO Asynchronous Messages RX lt string gt 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 O to 31 and ASCII 128 to 255 then those characters are translated into a 3 character escape sequence starting with V For example the embedded lt cr gt lt If gt sequence would be sent as the 6 character string OD OA If the data contains the character then it is sent as 22 If the data contains the character V then it is sent as 5C 26 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 27 www airdtech com 8 SSO S Registers The following table lists S registers for SSO profiles 52 212 5507 29531 5330 94 100 0 0 0 22 1205 40 5000 0 2 0 4 Escape sequence character It is not by default as a Bluetooth serial link can be used to connect
86. r will return 1 regardless of the actual value stored in non volatile memory 100 15 0 15 Number of RING indications before an auto disconnection is initiated A value of 0 disables this feature If SO lt gt 0 and S100 lt gt O then SO must be lt 100 If a value is entered which violates this rule then ERROR 29 is sent in response Table 3 10 S Registers for SPP Hardware Units BTM410 411 This section covers S Registers and AT Commands that are related to hardware units of a BTM410 or BTM411 device For this section please also refer to the bluecore data sheet 5 for further information 1 33 wwwi lairdtech com Codec Gain The BTM410 411 can operate with an external PCM codec Laird provides a number of different codec evaluation boards designed for use with the BTM410 411 development kit For example the ACC 05 is a codec evaluation board based around the Winbond W681360 codec 6 The platform provides flexible support for different codec formats u law A law and 13 bit linear If 13 bit linear format is chosen then the 13 bit sample will be transmitted over the PCM interface as the MS 13 bits of a 16 bit word The LS 3 bits may be used to control the output gain of the codec for example on the Winbond W681 360 and the AT software allows this output gain setting to be controlled using s register 589 as described in Table 3 11 Hardware Units S Registers Table 3 11 below gives an overview on S Registers for
87. requests prior to SSP are rejected Table 3 4 IO capabilities Force Man In The Middle Protection MITM S322 Protection against MITM attacks can be enabled by 332 This S Register only applies if the security level S320 is less than 3 In case of security level S320 3 MITM protection is always enabled and this S 322 is ignored A new value written to 322 applies immediately No power cycle is required A link key created with MITM protection is named authenticated link key A link key created without MITM protection is named unauthenticated link key Disable Legacy Pairing S323 If the remote device is a legacy device BT2 0 or earlier legacy pairing with usage of PIN codes will be initiated Legacy Pairing can be disabled by S Register 323 1 Then pairing with legacy devices will always fail SSP Timeout S324 The SSP timeout s is defined by S Register 324 The timeout must be at least 60s to meet the BT specification requirements 1 This time is required to be sufficient for the user to compare or read and input a 6 digit number A time of 90 seconds is recommended which is the default value SSP Input Commands Table 3 5 lists all AT commands related to SSP input operations AT BTBY Accept pairing request Representing yes input AT BTBN Reject pairing request Representing no input AT BTB012345 Enter 6 digit passkey displayed by remote device Representing keyboard input Table 3 5 SSP Input commands
88. rn Green HP100HH United Kingdom tel 44 0 1628 858 940 fax 44 0 1628 528 382 Date of Issue November 2009 Name of Authorised Person Tim Wheatley Director of Engineering Signature s 57 Bluetooth AT Data Module MECHANICAL BTM410 411 DRAWINGS z10 eBeg NOILLO3POYd OLvINLA 319NV Loaroud 0 10d 100 9 0 18 QuiHL qatvis ssa1Nn ON DMA WW NI SNOISN3MWIG 0 X AINIS ssa INN TN wea mn suoisueuuiq e8exyoeg npolA SQVd LINS MIIA INO LLOS a UI e E q 96 INO d gt E J1VOS LON OQ o d L I BTM410 Mechanical Details i WWW sun pieoq jo ebpe oj ped jo ujbue jeqo o CH H V oDpo pueog 0 ou ped DCS C oDpo pJeog 0 oo ped gc L 4 OCL 13 001 Ld youd eqo 5 OL 9 eL 8L 081 194 3 e9zl gc Z ZL q y pim ped jeqo 5 G9 0 09 0 GG Q q 1uBieH pjeius JH LC Gc ez ev sseuxouu god 0 60 80 LV L ve Le V 0 S9JON lunuuixeyy eoid uunuuiurA uorsueuurq UUW U9lld WW X G Z X 0 84 zIS OLPINIg uonduoseq ON re Ly LL L 3 PATAS E ZI os n Dous 4 uo D yey UOIEIUSUC AA J O EOS 1 Jd m T lt bA m ss j sz 3qIS LNANOdWOD e C MIIA dOL 9c 6c 9 PISIYUS JH S 9 H c 4 28 O a gt O DO BTM410 Mechanical Det
89. s Table 3 7 Asynchronous messages for SSP 10 Known SSP Issues a General Bonding automatic pairing on link setup if devices have not been paired previously does not work with legacy devices BT2 0 and earlier If the remote device is BT2 0 or earlier initiate dedicated bonding AT BTW lt BdAddr gt prior to connection establishment b Outgoing General Bonding automatic pairing on link setup if devices have not been paired previously with MITM does not work with two BTM devices because any UART input on the initiating device is not accepted until the link has been established Workaround initiate dedicated bonding AT BTW lt BdAddr gt prior to connection establishment c If the link key of previously paired devices is not available any more in the remote device but still available in the trusted device list TDL of the local device query by AT BTT pairing will fail In that case remove the device address from the local TDL using AT BTD lt BdAdar gt and reinitiate pairing from the local device AT BTW lt Bd_addr gt Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET AT Commands for Legacy Pairing REFERENCE 1 AT BTW lt bd_addr gt Initiate Pairing Provided the remote device is a Bluetooth 2 0 device or earlier and legacy pairing is not disabled S323 0 this command is used to initiate legacy pairing with the device with lt bd_addr gt Legacy pairing refers to the mechanism of enterin
90. s O not connected 1 connected AVRCP connection status 0 not connected 1 connected HSP Headset connection status O not connected 1 ACL connected 2 audio connected HSP Gateway connection status O not connected 1 ACL connected 2 audio connected HF connection status SPP connection status 0 not connected 1 connected identical with ATI9 A2DP connection status O not connected 1 connected AVRCP connection status O not connected 1 connected HSP Headset connection status O not connected 1 ACL connected 2 audio connected HSP Gateway connection status O not connected 1 ACL connected 2 audio connected HF connection status 0 not connected 1 SLC connected 2 Audio connected 3 in Call SLC 4 in call audio DUN connection status O not connected 1 connected in local command mode 2 connected in remote command mode The RSSI value in dBm If a connection does NOT exist then a value of 32786 is returned A value of O 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 defined 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 numb
91. s 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 ATI2 Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET me SEEN We REFERENCE mm 556 0 562 0 5563 0 564 0 5565 0 S566 1 567 1 5568 1 S569 1 584 0 S588 3392 5593 0 51001 to 0 51010 49 www lairdtech com 15 120 1000 1000 1000 1000 024597 Disconnect timeout in seconds This timer specifies how long to wait for confirmation from the peer device and or the underlying stack that the connection has been successfully torn down There can be instances where a confirmation 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 specified with 15 seconds intervals Sniff Attempt Time in units of milliseconds O means disable See Section 7 pg 40 and Figure 3 8 Sniff Timeout Time in units of milliseconds O means disable See Section 7 pg 40 and Figure 3 8 Sniff Minimum Interval in units of milliseconds O means disable See Section 7 pg 40 and Figure 3 8 Sniff Maximum Interval in units of milliseconds O means disable See Section 7 pg 40 and Figure 3 8 If set to 1 RI Ring Indicate line is configured as an input and forces the start
92. s 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 This register specifies 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 specifies the source for RTC 4 7 specifies the source for RTR 8 11 specifies the source for DV i e DCD 12 15 specifies the source for IC i e RI Each nibble can take the following value O Always set to O 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 O 3 If RI pin 6 is output then always O If RI is input then 1 if RI is asserted otherwise O 4 f DSR pin 10 is asserted then 1 otherwise O In the event that a nibble specifies DSR as the source of its state be aware that if S Register 507 is anything other than 0 a de as sertion of DSR will cause the Bluetooth connection to be dropped If bits 0 3 and 4 7 are set to O then some Bluetooth devices will use that as a signal to stop sending any data back Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET ees pt ange Bip REFERENCE vum 5553 S554 S555 558 559 48 wwwairdtech com 0122 0201 0 fff 0 fff 0 90
93. string is only copied to the output rf buffer Only when an empty string is presented all pending data in the output rf buffer will be flushed out The parameter string is any string not more than 29 characters long whereby a non printable character Mh see below counts 3 characters This restriction results from the maximum AT command length which is 34 query by ATI15 The difference of 5 is caused by ATX 3 characters and the enclosing quotation marks 2 characters If the maximum string length is exceeded ERROR 05 syntax error will occur If a non visual character is to be sent then insert the escape sequence Mh 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 lIf OK cr If Or cr gt ERROR O5 lt cr f gt e g string too long Enter Local Command Mode When in data and connected mode and when S 507 is set to O or 1 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 specified in the S2 register so it can be changed In addition the escape sequence guard time is specified by S Register 12 By default the guard time is set to 100 milliseconds Leaving data mode by has a severe penalty on data throughput because each incoming character needs to be checked for with respect to the guard time Al
94. t On timeout it will abort the discoverable and or connectable and fall back into 551221 mode when it is deaf and dumb not connectable not discoverable 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 defined by 554 window expires the mode will revert to the mode specified in this register This allows for example the device to be discover able 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 firmware builds S Registers 565 to 569 inclu sive 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 config ured 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 defined by S Reg 568 and if de asserted then S Reg 569 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 specifies a mask When Bit O i
95. t modes are required to configure some low level device settings which cannot be configured by S registers and AT commands Currently there are predefined settings defining the PCM data format to be used with certain codec ICs applies mainly to BC04 Response after reset cr If OK cr If AT BTC lt devclass gt Set Device Class Code Temporarily 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 lt devclass gt is a 6 digit hexadecimal number derived as per Bluetooth Assigned Numbers 3 The 24 bits are made of 4 fields briefly described as follows bit O corresponds to the least significant bit Bits 0 1 Format Type This field currently only has a value of 00 i e format type 1 Bits 2 7 Minor Device Class The value of these 6 bits is interpreted differently based on the Major Device Class stored in the next 5 bits Bits 8 12 Major Device Class 5 bits refer to Figure 1 and Table 3 in Bluetooth Assigned Numbers 3 Bits 13 23 Major Service Class 11 bit field used as a mask to define service classes refer to Figure 1 and Table 2 in Bluetooth Assigned Numbers 3 Laird Technologies devices do not map to any predefined Major Service Class or Major Device Class and so the default devclass as shipped is 001F00 which means no Major Service Class and Unclassified Major Device
96. ternatively a de assertion of the DTR DSR line can be used as the only trigger to leave data mode 8507 2 This gives a significant higher data throughput because data is passed directly between UART and RF without character checking Please refer to Section 6 pg 26 for more information In modems this escape sequence is usually is specified to avoid confusion when the module is providing access to a modem Response cr lIf OK cr If I TEnter Remote Command Mode When in data and connected mode the host can force the remote device into a command and connected mode so that AT Commands can be issued to the device remotely The escape sequence guard time is specified 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 mode Refer to 5 For this command to be effective S Register 536 must be set to 1 Response cr lIf OK cr If Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET 5 ATO Enter Data Mode letter o REFERENCE 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 SSO connection Response lt cr lf gt CONNECT 123456789012 cr If if it was an incoming connection lt Cr lf gt CONNECT 123456789012 cr If7 if it was an outgoing connection Or Response cr
97. ters S652 GPIO2 S650 must be set to O to enable configuration access S653 GPIO3 Controls Pin State Pin Direction Pin Inversion Function S654 GPIO4 Mapping Enable Function Mapping Select and Function ee ee Mapping Code av_operation_id S656 GPIO6 S657 GPIO7 5658 GPIOS 5670 GPIO1 8 0x0000 0 0xFF Read Write all GPIOs in one atomic step Write operation only affects GPIOs configured as outputs 0x0001 GPIO1 0x0002 GPIO2 0x0004 GPIO3 0x0008 GPIO4 0x0010 GPIO5 0x0020 GPIO6 0x0040 GPIO7 0x0080 GPIO8 Table 3 13 GPIO S Registers See Table 3 12 GPIO Configuration Register Field Descriptions 35 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET Miscellaneous REFERENCE 1 SCO eSCO Audio Link BTM modules provide an AT command to establish an SCO eSCO audio connection between a pair of BTM modules or BISM2 This enables the user to create bidirectional audio links independently from a particular Bluetooth profile The only prerequisite is the existence of a Rfcomm link serial port profile between the modules If this link doesn t exist it can be created using AT SPD lt BdAddr gt Please refer to pg 29 A SCO eSCO link is intended for bidirectional transmission of speech The sampling rate is fixed to 8 kHz meaning a usable bandwidth of 3 5 kHz For SCO there are 3 packet types defined in the Bluetooth specification 1 HV1 HV2 HV3 Each of them occupies one slot
98. 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 the BTM device will come out of reset using 9600 N 8 1 comms settings for exactly 750 milliseconds and then revert to the communication parameters as per the S Registers If the host sends the string lt BISM gt lt cr gt where cr is the carriage return character within that 750ms period then the module will remain at 9600 N 8 1 and will also configure itself using factory default S Register values If connected to a PC using Ezurio Terminal the module can be reset to the factory default baud rate as follows Right click in the Ezurio Terminal window gt Factory Default gt Via BREAK CMD Q 9600 Tested with version 6 7 2 of Ezurio Terminal RI dependent Start up Mode The UART RI line can be configured as an input and on power up its state can be used to force the device into one of two modes defining discoverability and connectability state 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 Reset via BREAK The module can be reset by sending a BREAK signal A BREAK signal exists when the module s UART RX input is in a non
99. ts 10r2 Default Serial parameters 9600 n 8 1 Levels Set by VDD USB input Modem Control DTR DSR DCD RI RTS CTS General Purpose Interface I O 8 general purpose I O pins Audio Support 1 PCM channel E 64kbps SCO Channels Support SCO and eSCO Configurable as master or slave 8 bit A law PCM Interface 8 bit law 13 bit linear PCM Clock available when in slave mode Protocols and Firmware Bluetooth Stack V2 1 compliant Fully integrated GAP Generic Access Profile SDP Service Discovery Profile Brotes SPP Serial Port Profile HDP Health Device Profile future release Firmware Upgrade Avallable over UART Connection Modes Point to point cable replacement 5 www lairdtech com Laird Technologies BTM410 411 Bluetooth AT Data Module SPECIFICATIONS 6 www lairdtech com Command Interface AT Instructions set Comprehensive control of connection and module operation S Registers for non volatile storage of parameters Current Consumption Data Transfer Low Power Sniff Mode Supply I O USB amp UART WLAN 802 11 Supply Voltage Coexistence Compatibility 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 Interface External Antenna BTM410 Connections Physical Dimensions Weight Environmental Operating Temperature Surface Mount Pads Pad for 50
100. up mode SReg512 and post timeout on Start up mode SReg555 to be dependent on the state of RI The RI condi tional modes are defined by S Registers 566 to 569 inclusive If S565z1 and RI is asserted then this is the mode the device will start up in If S565z1 and RI is de asserted 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 defined in SReg 554 instead of mode defined in SReg555 If S565 1 and RI is de asserted then this is the mode the device will assume after the post start up timeout defined in SReg 554 instead of mode defined in SReg555 Enable Disable eSCO After a disconnection there will be a cold reset Set this to 1 to reduce the trusted device database to just 1 record when auto saving of pairing is enabled via S reg 538 Automatically append last 6 digits of local Bluetooth address to the Friendly name which was set via AT BTN or AT BTF 10 General Purpose 32 bit Registers for use by host These are stored in non volatile memory Table 4 1 BTM General S Registers Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET ATI Commands REFERENCE 50 www lairdtech com The following table lists all ATIn parameters supported by a BTM device ATI commands provide general infor mation about the BTM device and status information ATIO ATIT ATI2 ATI3 ATI4 ATI5 ATI6 ATI7 ATIS
101. urther information Parity O None 1 Odd 2 Even For the Go blue Activator variant of the module this register is read only See S Register 526 for further information Apply multiplier of 8 to baud rate internally This is set to O dis abled by default If S Register 521 gt 115200 then this register cannot be set to 1 See S Register 526 for further information This register specifies a 2 bit mask used to qualify how S Registers 520 to 525 are actioned If bit O is 1 the new communication parameters affect the UART immediately If bit 1 is 1 the new communication parameters are stored in non volatile memory So for example to change communication 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 configured as master in pure cable replace ment mode This value is rounded down to the nearest 100ms See S Register 505 also Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET me EIEN ET Re REFERENCE T 532 5555 5530 5 S541 S542 551 47 www airdtech com 20 20 3211 0 7 0 41 43 20 43 20 0 ffff Specifies the mode on connection establishment 0 Normal that data is exchanged between UART and RF 1 LOCA
102. uunmoooozsxoo XOL JN N E S 7900332320000 mt von en MSQ 8 Old9 F Y10 Oldo RETO O s moc OI 99A DUU Old z T x God Old cu S5 GES mg 219 Tar ER o s 3 E SD las z B 19 IdS oz ON es ISOW ldS ISOW ids Ol 99 OU 99 SCVZSZON ENE DIA zz ON E OSIN de OSIN IdS ONS pee gz ON i aso IdS SO IdS ac ON o NT _ aNd _ _ usd en n to HOI ld o ON gt XI 1uvn L XL einpow SLO eInpow lt lt el ino N gt siW gen Su Le ON m 5 sla lavn L SLY einpow OIN XH LV gt x enpon 30 gt gt Ni lala a O N 9o 225 S19 LY VA 5 S19 9Inpow ei 99 S19 gsn gt zo gt gt SI einpow GEN 258 ges EE la a e 9 om s SN S a SE T ly u0O0b A DOA ory 9 ass ice A3 cc 22222 30200333 i BET EE ET mms A 99 A DIA SZLZSZON ENE DIA ano Le OLIN fp o voy x0L O xe einpow lt lt ei 100 Mrs gt gt xr asn S ave NESNA aM e E gt A A 8 geg NIOLA z g 30 N3 1013 r POR T 3 09 r uo 9 ae ie De 1 S 201 MOL 2 On AA y e ERD JL O xO es Lv uooL A DOA Hs Or O 99 X 99 507 E ly ery A 2 39 ae 3 om S19 ENE 99 2 zz E 8 oS o 8 el 3 EA DIN EA DIA EAE DIN e oF m ENE DIA Development Kit Schematic Bluetooth AT Data Module MECHANICAL BTM410 411 DRAWINGS 63 Development Kit Schematic Bluetooth AT Data Module MECHANICAL BTM410 411 DRAWINGS
103. w class of device 4 show friendly name 8 show extended inquiry data Values can be ORed Direction indication style for CONNECT messages O disabled 1 character style append I to incoming and O to outgoing CONNECT message separated by a comma 2 symbol style append to incoming and gt to outgoing CONNECT message separated by a comma applies only to role indicating UUID e g HSP HFP and if 3290 Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET SE SEEN ET Re REFERENCE mem 5504 505 5506 5507 5508 5509 5510 5511 44 wwwairdtech com 640 160 640 160 2 120 0 1 Ber 11 2550 11 2550 115 2350 11 2550 Enable Extended Sdp Error Codes O disable 1 enable Enable silent operation Setting to 1 will force SO 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 configured 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 specified in the ATD command the NO CARRIER response will be immediate See S register 560 for specifying dis connect max timeout
104. y response or if a dev class filter is used eit 7 je s a B P h jo Reserved for future usage EIRD RSS FN COD ADR Defaut o jo jo jo jo jo Jo II Figure 3 1 S Register 330 controlling inquiry response format O ADR 1 display Bluetooth device address on inquiry result 0 do not display Bluetooth device address on inquiry result if any further bit is set a comma is inserted as separator 1 COD 1 display class of device on inquiry result 0 do not display class of device on inquiry result if any further bit is set a comma is inserted as separator 2 FN 1 display friendly name on inquiry result 0 do not display friendly name on inquiry result if any further bit is set a comma is inserted as separator 3 RSSI 1 display RSSI value on inquiry result 0 do not display RSSI value on inquiry result if any further bit is set a comma is inserted as separator 4 EIRD 1 display eird on inquiry result 0 do not display eird on inquiry result Table 3 2 Field Descriptions for S Register 330 f f Laird Technologies BTM410 411 Bluetooth AT Data Module AT COMMAND SET REFERENCE 18 www lairdtech com Inquiry Response format The format of an inquiry result will be lt cr lf gt lt bd_addr gt lt dev_class gt lt friendly_name gt lt rssi gt lt eir_data gt lt cr f gt lt bd_addr gt 12 digit hexadecimal lt dev_class gt 6 digit hexad

Download Pdf Manuals

image

Related Search

Related Contents

user manual  TAFCO WINDOWS NU2-129S-W Installation Guide  Samsung 713N Lietotāja rokasgrāmata  

Copyright © All rights reserved.
Failed to retrieve file