Home

Data Sheet - RF Design

image

Contents

1. Z 15 1 ESL II eS ERO 10 10 HOS 100 3 0MWa L8 2 SES a Games eze suuoo pieog req uW 9 amp woor E en P 889 ALU odo 4 3 de 853 1no Wd E x 23 y 22 ONAS W2d 312v NV WS Ou ad da Ze We H RN A MOMO Y ws NNos OQA aoo EE 8 z OL AN H Iu Old amp am aN NES USO Oldo Y a 24 ap K Almond Lac oun AY EN M 8 zue Y 3 2 MOL JN E dos x la do Ge oon El E zz000833239 55 ofan n S6682822226588 A R cous moz eee 3 PIA sa 283 Bog 3huov dis olas K 3uv1s LEAN 19 ora da 8 E Et 23 vue noes WSA Y Uva DECH SE 88 son es vu EN H i ano E TOW Ki IN a EEN Lap 3 ams xiv SS 4 WE zer Sian SIN enpow EH E SELON 9o xu fan S 33 Xe aron KO om og 982 sio en PS so npe ON ez EES ONO vel 933 N IN 09 SN se EFI SCH t ON RET az se ZER 823 322 cc 2 y BA 89888 xii ee 22222 992052323 aow gsn gt gt T K woeren TT 55585235699 mm LES E LLL Sar nu nu wen mr oun 3359 b E uo wo Eu wu men r Kanon al aod esn 29 avaz ouo ao Se LE 29 UA EREIN 93 REH L gi S Ot e cgo Ce EZE DIS BG 88 28 30322 xo oLaN S o 0L JN OLIN MOL AN 0L AN MOL dN XOL AN MOL AN AOL AN Er F F ECH ve MOL AN OH Sun Silu vun GH GI un oun ma you von m Loos L L L m E e went Sp e
2. ON OMG uunH N aa osdav uu n H i N REEREISR USIeAV IN judo 0 X G3lvIS SSI NA SONSHSIOI sajon Uoneoiddy am Ayjiqedeo sseoojd 10 pue eoueuedxe J19y uo peseq suoisu w p Ulaped puel god ey Ajlpow Aew Jesn eu e npoui y JO episJepun ay uo sjulod 3sa ay o Buoys piore o pJeoq 9d JSOY uo ajnpou ay Japun Jeddoo pesodxe ou s Jiay aunsuy p uonenjeAe eoueuuojied euuajue pue juauidojanap ajnpou JO pesn sem yolym pJeog 1M Jedoje eq s a npou ay wo seuioo uoniuiep ease no daa euuajuy e JeuJoo ay urey euuajue ay UM JauJos y ul qeJojeJd pue pseog o d 1sou y jo eDpe ay uo peoejd aq pinoys ajnpou ay ssuewJojled euuajue 1seq 103 Z uoneipeJ euuajue JedoJd Bulyoaye 1ueA aJd oj eale SIU jo Jeajo jejaw Aue Jo eJewpJeu Bununouiy Je deey os v p eoq o d soy eui jo sJeKe Aue uo eave mo dee euuajue y ui Joddo ou s 1134 eunsu3 AVIS LON OU SALON NOILVOI IddV BTM431 Mechanical Details 8 G y H BTM430 431 Bluetooth AT Data Module MECHANICAL DRAWINGS 70 Bluetooth AT Data Module MECHANICAL BTM430 431 DRAWINGS Development Kit Schematic
3. Typically 32mA Low Power Sniff Mode Less than 2 5mA Supply Voltage Supply 3 0V 3 3V DC WO 1 7V 3 3V DC independent of Supply USB amp UART 1 7V 3 6V DC independent of Supply ZU 2 wire and 3 wire hardware coexistence Coexistence Compatibility WLAN 802 11 schemes supported Connections nterface Surface Mount Pads External Antenna BTM430 Pad for 50 Ohm antenna Physical Dimensions 12 5mm x 18 0 x 3 4mm BTM430 12 5mm x 24 0mm x 3 4mm BTM431 Weight 3 grams Environmental Operating Temperature 30 C to 70 C Storage Temperature 40 C to 85 C Approvals Bluetooth Qualified as an END product FCC Limited Modular Approval BTM430 Full Modular Approval BTM431 CE amp R amp TTE Meets CE and R amp TTE requirements Miscellaneous Lead free Lead free and RoHS compliant Warranty 12 Months Development Tools Development Kit Development board and software tools DVK BTM430 Dev Kit with BTM430 module fitted DVK BTM431 Dev Kit with BTM431 module fitted Laird Technologies BTM430 431 Bluetooth AT Data Module 1 Unused 2 GND 3 UART_CTS Clear to Send I P VUSB 4 UART_RXD Receive data I P VUSB 5 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
4. 051 Server sent unexpected information in obex packet 052 Obex connection fail because it is unauthor ized 053 Memory allocation failure Please contact Laird Technologies with details 055 Unicode File Folder name length cannot be an odd value 056 Command not recognized 090 An XML parsing error occurred while pro cessing responsed to DIR command 099 The Bluetooth connection has unexpected been dropped For example remote out of range etc 250 GET procedure was aborted 4 1 nnnFTP This ftp response is used when the connection was opened using AT FTP to convey the outcome of a subcommand to the host where nnn is a fixed 3 digit decimal number as defined in the irDA specification and map to HTTP status codes For example a value of n2200 implies successful operation any other value usually conveys an error as described in the irDA specification except the range 050 to 099 inclusive and 250 to 299 inclusive Note When a Bluetooth OBEX session is established we will be specifying v1 0 in the header packets by default as that is what the Widcomm stack seems to be using and the ftp specifies 4 2 nnn OBX This has the same meaning as nnn FTP and is used when AT OFT command was used to open an FTP connection 4 3 nnn GET This ftp response is used during a GET file operation See appropriate message sequence charts for more details See above for nnn values 5 FTP line multiplexing commands When transferring a
5. 0 to 9 A to F and a to f 9 www airdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 10 www lairdtech com MODULE CONFIGURATION COMMANDS This section describes AT commands associated with module configuration and control 1 AT Used to check the module is available Response lt cr If 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 lt cr lf gt OK lt cr lf gt Or Response lt cr If gt ERROR nn lt cr f gt 3 ATIn Information This will return the following information about the Laird Technologies device IO The product name variant 1 The CSR firmware build number 12 The Laird Technologies firmware build number For internal use only I3 The Laird Technologies firmware revision 14 A 12 digit hexadecimal number corresponding to the Bluetooth address of the Laird Technologies device I5 The manufacturer of this device l6 The maximum size of trusted device database I7 The manufacturer of the Bluetooth chipset I8 The chipset part number I9 Oif not in a connect state and 1 if in a connect state 111 The reason why a NO CARRIER resulted in the most recent attempt at making an outgoing connection Where the response value
6. 37 General Comment aa 73 OBEX Profile Commands 53 Unsolicited Responses 61 Error Responses assessed 62 3 www airdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module OVERVIEW AND The BTM430 and BTM431 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 With physical sizes as small as 12 5 x 18 0mm and best of class low power operation these modules are the ideal choice for applications where designers need both performance and minimum size For maximum 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
7. Bluetooth address lt bd_addr gt When a connection is successfully established the host shall assume that the current folder is the root folder This root folder is always relative to the host It is NOT necessarily the absolute root folder of the host machine 2 2 AT OFT lt bd_addr gt 37 www lairdtech com This command is used to establish a connection to an FTP server profile in a peer device with Bluetooth address lt bd_addr gt and functions similarly to AT FTP but instead of the responses being r nNNN FTP r n it will be AnNNN OBX r n where NNN is a decimal number This capability of choosing the response type is to allow a host to cater generically a connection which is either FTP or ObexPush Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 38 www lairdtech com 2 3 ATSn m The following values of n are relevant to FTP operation 582 A description of these values is given on page 19 FTP related Subcommands This section describes FTP related subcommands that the host can use to control the ftp session 3 1 3 2 3 3 3 4 3 5 PUT lt filename gt lt length gt Send file This ftp subcommand is used to send a file to the ftp server The length of filename shall not exceed 24 characters The optional length value is inserted into the OBEX length header field This is optional for FTP There is some ambiguity as to how the first obex PU
8. 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 BTM430 431 rev3 0310 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 specification 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
9. The Bluetooth Obex Push server profile specification describes the profile as one built on Obex Exchange OBEX which is in turn built on SPP The Object Push Profile 3 describes the profile as having 3 features as follows 1 Object Push Mandatory 2 Business Card Pull Optional 3 Business Card Exchange Optional This implementation only offers the Mandatory Object Push feature The implementation on BTM430 431 allows a host attached to the module to send and receive files and in addition to manipulate files and folders The format used in this document for describing this protocol is a series of message sequence charts with accompanying notes as appropriate which unambiguously convey how a host and the module shall interact to perform the task 1 Generic Notes and Guidance In the message sequence charts the following abbreviations apply e lt crlf gt shall mean a two character sequence made up of the ascii characters OxOD carriage return and OxOA line feed e cr shall mean a one character sequence made up of the ascii character OxOD e f shall mean a one character sequence made up of the ascii character Ox0A e bd addr shall mean a 12 digit string consisting of only hexadecimal digits 0 9 A F and a f e filename shall mean a string delimited by the character For example hello txt e lt foldername gt shall mean a string delimited by the character nnn shall be a decimal number with at least one
10. 1 but in addition when not in a connec tion if the device is connectable or discoverable then the led will blink This register will not necessarily be effective immediately after changing the value It must be saved to non volatile store using AT amp W and will operate as expected after an ATZ or a power cycle Link Supervision Timeout If units go out of range then a NO CARRIER message will be sent to the host after the time 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 If 1 then when a successful pairing occurs it is automatically saved in the trusted device database if it has room to store it When set to 1 in idle mode 851221 UART Rx characters are discarded if DSR is deasserted Sets the MTU in L2CAP configuration negotiations The value of O is a special value which is taken to mean that the current value should remain This sets the power level in dBm when inquiring or paging Reading this register returns the value stored in non volatile memory As per 541 however reading this register returns the current power level as set in the base band The read can be different from 541because the actual power is set using a lookup table and the base b
11. 12346789012 cr lf gt OK lt cr If gt If the location is empty the response is as follows Response lt cr If gt 00000000000 lt cr lf gt OK lt cr If gt 31 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 39 AT BTS lt string gt This writes the name to non volatile memory It will be used after ATZ or power cycle Use AT BTS to read it back from non volatile memory An empty string will delete the string from non volatile memory which will force the default SPP service name to be used Set Service Name Response lt cr lf gt OK lt cr f gt If the service name cannot be set for any reason then an error response ERROR 11 is returned 40 AT BTS Read Service Name from Non volatile Memory Reads the default service name from non volatile memory Response lt cr lf gt My ServiceName lt cr f gt lt cr lf gt OK cr If gt 41 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 OK lt cr f gt or Response lt cr lf gt ERROR lt cr f gt 42 AT BTT List Trusted Device This command is used to list
12. 515 Ox001FOO O OxFFFFFF Default Device Class Code to be used with AT BTO when it is not explicitly specified When queried the value is always printed as a hexadecimal number To change the device class of the module after AT BTO use the command AT BTC S516 0x000000 0 0x2FFFFFF 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 0 All other 19 bits MUST be set to 0 S517 20 2 61 Inquiry Length in units of seconds This parameter is referenced by the AT BTI command 14 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 5518 0 255 519 500 100 6000 520 Depends 1200 115200 on device see comments S521 See 1200 921600 Comment 524 0 0 2 526 3 1 3 S530 1000 100 15000 15 www lairdtech com 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 revisio
13. Laird Technologies device is more versatile than that available in a standard 16550 UART commonly available in PCs In fact as long as the equation BAUDRATE 0 004096 produces an integer value then there will be 0 error in clocking for that baud rate So it is possible to set a baud rate that a PC cannot cope with and in that circumstance it is virtually impossible to communicate with it To cater for this circumstance if the DSR input is de asserted on reset the Laird Technologies device will come out of reset using 9600 N 8 1 comms settings for approximately 750 milliseconds and then revert to the comms 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 In practice due to timing variations while coming out of reset the best practice is to send the lt BISM gt command about 300 ms after reset and repeat it every 200 ms for about 1500ms until a response is received Miscellaneous Features 13 1 RI dependent Start up Mode The UART RI line can be configured as an input and on power its state can be used to force the device into one of two modes See description for S Registers 565 to 569 inclusive for more details For example the feature could allow a device to make an outgoing connection if RI is in one stat
14. REFERENCE 47 wwwW airdtech com 6 13 Usage Delete File Long Filename UNICODE BLUETOOTH HOST MODULE FTP OBEX Connection Established DELETE FILE Long Filename DEL nnn lt cr gt lt lt orlt gt lt crif gt 21 lt cr gt gt Repeated until nn bytes have been transferred lt crif gt gt crif Filename 21 chrs long Le crif2200 FTP lt crlf gt Obex PUT Obex PUT RESPONSE OK L 6 14 Usage Put File Short Filename HOST RAS AAA RARA PUT FileName cr eer erlf gt BLUETOOTH MODULE Obex PUT NN lt cr gt mg erlf gt lt crlf gt NN bytes of Data p lt _ 0 krFrlf gt lt erlf gt CR _ lt erlf gt erlf gt NN bytes of Data The first NN value SHALL be 1 Subsequent NN value SHALL be less than value returned to MAX command Obex PUT Obex PUT be x crif gt lt crif gt 123456 illegal value 4 erIf gt Le crif gt NN lt cr gt p lt c rlf gt lt erlf gt NN bytes of Data p amp a rlf gt lt crif gt Ker pH erlf gt 200 F TP lt crlf gt Obex PUT Obex PUT End of Body Obex PUT RESPONSE OK Loss sss Ologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET Note REFERENCE The first NN from the host shall specify a value of 1 Subsequent NN values shall be less than the value returned to
15. RFCOMM connection Connection Fail F lt crlf gt NO CARRIER lt crif gt Notes Reason for connection failure could be Device is not in range Device is not connectable Device does not support Obex Push server profile 60 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET UNSOLICITED RESPONSES REFERENCE 61 www lairdtech com The AT Protocol is a command response type of protocol This means that the Laird Technologies device will normally only respond to AT commands Under special circumstances unsolicited responses will be sent to the host They are described in the following subsections 1 RING This string 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 2 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 address does not supply the address in the message exchange then the address
16. as one built on Obex Exchange OBEX which is in turn built on SPP The FTP implementation allows a host attached to the module to send and receive files and in addition to manipulate files and folders The forma t used for describing this protocol is a series of message sequence charts with accompanying notes as appropriate which unambiguously convey how a host and the module shall interact to perform the task 1 Ge neric Notes and Guidance In the message sequence charts the following abbreviations apply filename shall mean a string delimited by the character For example hello txt lt foldername gt shall mean a string delimited by the character nnn shall be a decimal number with at least one digit The backspace character is not supported All FTP commands are case sensitive FTP Commands shall not exceed 32 characters in total While an FTP session is open the host shall not deassert the modules UART_CTS line and conversely the host MUST always be ready to accept data When Unicode data is transmitted it shall be assumed that the most significant byte is transmitted first If an FTP command is expecting a Unicode string as a parameter and the host has an ascii string the string shall be expanded with a 0 byte in the most significant position 2 FTP related AT Commands 2 1 AT FTP lt bd_addr gt This command is used to establish a connection to an FTP server profile in a peer device with
17. as responses and prompts from the module to the host Command responses shown in BLACK are associated with non obex related states Apart from OBEX connection and disconnection scenarios to avoid repetition all message sequence charts shall assume that the module is in an Obex connected state 6 1 Usage Make OBEX PUSH connection No Authentication BLUETOOTH HOST MODULE AT OPS lt bd_addr gt lt cr gt 1 Establish RFCOMM connection Connection Established LT e Obex CONNECT fip lt crlf gt CONNECT lt bd_addr gt 1105 lt crif gt Obex CONNEC Tifip SUCCESS lt 200 OBX lt crif gt 6 2 Usage OBEX Push Disconnection BLUETOOTH HOST MODULE OBEX Connection Established Le lt crif gt 200 OBX lt crif gt QUIT lt cr gt T Obex DISCONNECT Obex DISCONNECT OK lt lt crif gt 200 OBX lt crif gt c Rfcomm DISCONNECT me Rfcomm DISCONNECT OK ke crif NO CARRIER lt crlf gt 57 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 58 www lairdtech com HOST 6 3 Usage Put File Short Filename BLUETOOTH MODULE A sZ pussy Pa PUT FileName cr lt crlf gt lt crif gt NN lt cr gt crif crif gt NN bytes of Data The first NN value SHALL be 1 crif gt lt crif gt CR crif gt lt crif gt NN bytes of Dat
18. 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 asserted 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 asserted then it behaves exactly as per mode 4 Note that by implication a change to this can only be seen after a power cycle AND if AT amp W is actioned prior to the power cycle If S Reg 554 is non zero and this register is between 2 and 7 inclusive then the value of 554 specifies the time in seconds that the device will remain in the specified mode after power up On timeout the device will fall back to the mode specified in S Register 555 In some firmware builds S Registers 565 to 569 inclusive are visible which allows the start up mode to depend on the state of RI line Setting S Reg 565 forces the RI pin to be configured 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 566 and if deasserted then S Reg 567 be connectable but not discoverable e g be connectable and discoverable e g 513 1 0 1 Pairing Authentication 1 Enable S514 10 1 60 Pairing Timeout in seconds This includes the time a host takes to supply the PIN number when PIN messages are indicated
19. cold Response lt cr lf gt OK lt cr If gt and OK is returned after the RESET 8 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 rate unchanged Left LED off Right LED DCD amp F1 Minimum power consumption UART baud rate set to 9600 Left and Right LED off amp F2 Minimum power consumption UART baud rate set to 38400 Left and Right LED off amp F3 Minimum power consumption UART baud rate set to 115200 Left and Right LED off amp F4 Medium power consumption UART baud rate set to 115200 Left LED off Right LED DCD amp F5 Maximum power consumption UART baud rate set to 115200 Left LED DSR Right LED DCD amp F6 Maximum power consumption UART baud rate set to 115200 Left LED DSR Right LED DCD Explicitly set higher baud rates using ATS521 n The new values are NOT updated in non volatile memory until the AT amp W command is sent to the Laird Technologies device Response lt cr lf gt OK lt cr f gt Or Response lt cr lf gt ERRO
20. f gt Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 4 ATSn m REFERENCE 12 www lairdtech com Set S Register As with modems the Laird Technologies Bluetooth module employs a concept of registers which are used to store parameters such as escape sequence character inquiry delay time etc as listed in detail below The value part m can be entered as decimal or hexadecimal A hexadecimal value is specified via a leading character For example 1234 is a hexadecimal number When S register values are changed the changes are not stored in non volatile memory UNTIL the AT8W 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 S2 S12 S100 S101 S102 S103 S500 501 502 5503 Ox5E 100 15 1101 41 15 0x20 0x7E 40 5000 0 15 0 ffff 1 7F 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 0 resets S Register 504 to 0 and lt 0 forces 504 to 1 If SO lt gt 0 and 100 lt gt 0 then SO must be lt S100 If a value is entered which violates this rule then ERROR 29 is sent in response If 5504 1 then this r
21. file the single serial interface between the host and the module is used to send and receive data and commands This means a scheme is required to unambiguously determine when a byte on the line corresponds to a command or data belonging to a file The module uses negotiated multiplexing to achieve this and commands are used to toggle the line between command and data mode This scheme is symmetrical and the commands for toggling the state of the line are relevant for both direction The only difference being that the terminator is cr in the host to module direction and crif in the reverse direction The commands are described in the following sub sections 5 1 This command is used to ask the other end how many bytes of a filename or foldername it will send next 41 www airdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 42 www lairdtech com 5 2 gt This command is used to inform the other end that it is safe to send the number of bytes belonging to a filename or foldername as indicated in the most recent command 5 21 This command is used to ask the module host how many bytes of data it will send next If the module host sends a length value too big to cope with then it can be rejected by sending the command again This is because accepting a value implies this end should send a prompt to trigger the data phase see next section 5 3 This command is
22. 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 o RoHS APPLICATION AREAS e Bluetooth v2 0 EDR e Embedded Devices e Adaptive Frequency Hopping to cope with interference Phone Accessories from other wireless devices e Security Devices e External or internal antenna options Medical and Wellness Comprehensive AT interface for simple programming Devices e Bluetooth END Product Qualified e Automotive Applications e Compact size e Bluetooth Advertising e Class 2 output 4dBm e ePOS 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 BTM430 431 Bluetooth AT Data Module SPECIFICATIONS reem Regg eem Wireless Specification Bluetooth Version 2 0 EDR Transmit Class Class 2 Frequency 2 402 2 480 GHz Channels 79 channels Frequency Hopping Adaptive Frequency Hoppin 4 dBm at antenna pad BTM430 4 dBmi from integrated antenna BTM431 27 dBm at antenna pad BTM430 27 dBmi from integrated antenna B
23. is specified as 000000000000 and the paring will proceed as normal 3 PAIR n lt bd_addr gt 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 lt bd_addr gt is the address of the peer device if available 4 PAIR 0 lt bd_addr gt MM This response is sent to the host on termination of a successful pairing process The optional MM is sent only if S Register 538 is set to 1 to automatically save the link key The value MM indicates the result of the save operation and a value of 00 implies success otherwise the value corresponds to an error code 5 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 lf 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 then it is sent as 5C Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET ERROR RESPONSES REFERENCE 62 www lairdtech com All error res
24. jeqo s 0L 9 Jeg H E9 ZZ Occ LEZ 3 9I Sci ZEZ q yjpim ped oo S9 0 09 0 SS 0 q 1uBieH Diaiue qe Le Gz EZ zV ss uyolul god 0L 6 0 8 0 LV Le ve LE V S9JON wunuwixeyy IB9Id unwiuiy Uoisu uuiq uu Yd uulez X S zL X O ZZ 8ZIS LLFW18 uonduosag LV VM E d q Se SINO Uld LL L pp 1 i zL ps n PISIUS JH uo Di yen uole UsUCO e j PEA zl i lun m m AA E Sc Zt 3018 LN3NOdWOO savd LNS MIIA dOL MIIA WOLLOG ree e 2 LINY PISIUS JH euuajuy AWOS LON OG 8 1 9 Y Z L 68 BTM431 Mechanical Details Bluetooth AT Data Module MECHANICAL BTM430 431 DRAWINGS JO z obey NOLLO3POYA Geff L0 10d L00 Y W08 pend Eesen ON OMG WW NI SNOISN3WIG Qcexx da oudav no102 dud 0 0 XXX O X oan HSINIA yo 12M N GilvIs ssa Nn NMYYG KEE SONSUSTOI e9aq u1eyed pue pepueuiuooes 09 22 c d GO L ujBue1 ped d 070 UIPIM Ped EY uc 3 gt Aiii adaini Lu Mi Lp a e ey sono os OOOO A os youd uid DEL y OL X00 1 gg poe et 0L z ajou ees x Gg Deeg 3NMLNO 31nGON El X00 l ajou ees eaJly mo dasy euuajuy E SNOISNAWIG 1V23Q NH3 LLVd GNV1 ddd L 8 Ll 747 l 98 l S BH4l kv hLD e l 2 69 40 abeg NOLLO3POYd L0 10d 100 Y VdL8 O
25. of the save operation When a connection attempt requires a link key the trusted device database will be searched automatically and if one exists will be provided without host interaction If the link key is not present then the connection attempt will be terminated and a NO CARRIER response will be given to the ATD command A typical session to pair say an Ericsson T68i to a serial module would be e Make the T68i discoverable and send AT BTI to the serial module This will result in inquiry responses from all devices Make a note of the Bluetooth address of the phone e g 123456789012 On the T68i start pairing procedure by selecting Phone accepts in the relevant Bluetooth menu e Send command AT BTW123456789012 to the serial module Confirm that you get an OK response and then PIN responses on a 2 second interval Enter a pin code on the phone Say it is 12345768 e Then enter the command AT BTKz 12345678 The phone will confirm success and likewise the serial module will respond with OK On success the serial module will send an unsolicited message in the form of PAIR O bd addr e Send AT BTT to the serial module so that the pairing information is stored in the non volatile database e Confirm that the link key has been stored by sending the command AT BTT This will result in a list of all devices paired with the module Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET f two Lai
26. power cycle reset via BREAK or ATZ is required to see effects of a change In some firmware builds S Registers 565 to 569 inclusive are visible which allows the start up mode to depend on the state of RI line Setting S Reg 565 forces the RI pin to be configured 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 deasserted then S Reg 569 Allows GPIO values to be read via the minor class field in an inquiry response When this value is non zero bits2 to 7 contain information as follow 1 Unused 2 Unused 3 GPIO1 to GPIO6 Set to 0 to disable this feature This allows i o information to be conveyed without a connection Specified in seconds the update interval for the feature enabled via S Reg 556 When 1 the following responses RING NO CARRIER and CONNECT are replaced by BTIN BTDOWN and BTUP respectively This will eliminate ambiguity when the module has a Bluetooth connection to an AT modem which also gives these responses Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET CEET SE e REFERENCE REO S560 5561 5562 S563 S564 S565 S566 S567 S568 S569 582 583 19 www lairdtech com 15 OxB 15 120 0 1000 0 1000 0 1000 0 1000 O Ox1F This specifies a mask When Bit 0 is 1
27. 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 used closer that 20cm to the body In the case where the BTM431 module is used in a portable device additional SAR testing must be performed on the complete product FCC Labelling requirement If the FCC I
28. the escape sequence is as follows Guard time gt lt Esc Chr gt lt Guard time Esc Chr gt lt Guard time Esc Chr gt lt Guard time This means that even when a file transfer is occurring and it happens to be full of Esc Chr characters then it is not going to drop into command mode because when transferring a 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 12 register Pairing and Trusted Devices When authentication is enabled via S register 500 or when using the u modifier in the ATD and AT BTP commands a connection attempt will require a link key for the peer device The link key can be obtained prior to connection by invoking the AT BTW and AT BTK commands A new link key can be obtained as often as required and is stored in a volatile cache At any time this cached link key can be added to the trusted devices database using the AT BTT command A trusted device can be deleted using the AT BTD command To view a list of trusted device issue the command AT BTT In addition if S Register 538 is set to 1 then on a successful pairing the link key will be automatically saved to the trusted device database In that case the asynchronous message PAIR 0 bd addr has an error code appended at the end to convey the result
29. 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 OGBi 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 BTM430 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 PI4410B or Contains FCC ID PI4410B Any similar wording that expresses the same meaning may be used BTM431 FCC and Industry Canada Statements The user manual must show the following
30. this is a Laird Technologies device which utilizes the RFCOMM layer as described in the Bluetooth specification it necessarily implies that only profiles based on RFCOMM can be accessed If lt U gt is not specified then authentication is as per register 500 otherwise the connection will be authenticated If lt Y gt is not specified then encryption is as per register 501 otherwise the connection will have encryption enabled The timeout is specified by S register 505 Response lt cr lf gt CONNECT 12345678901 2 lt cr f gt Or lt cr If gt NO CARRIER lt cr lf 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 lt cr lf gt CALL LIMIT Or lt cr If gt NO CARRIER lt cr lf gt In that case issuing an ATZ to reset the device will reset the count to O and more connections are possible Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 26 www lairdtech com RFCOMM based UUIDs are defined in the Bluetooth Specification and some are reproduced below Serial Port 1101 LAN Access Using PPP 1102 Dialup Networking 1103 IrMC Sync 1104 OBEX Object Push 1105 OBEX File Transfer 1106 IrMC Sync Command 1107 Headset 1108 Audio Gateway 1112 WAP 1113 WAP CLIENT 1114 ATD lt U gt l
31. used to inform the other end that it is safe to send the number of bytes belonging to data phase indicated in the most recent command Message Sequence Charts In the following sections the color scheme uses RED text as commands from a host to the module and BLUE text as responses and prompts from the module to the host Command responses shown in BLACK are associated with non ftp related states Apart from FTP connection and disconnection scenarios to avoid repetition all message sequence charts shall assume that the module is in a FTP connected state It also assumes that where nnn FTP occurs it can be read as nnn OBX if the command AT OFT was used to initiate the command 6 1 Usage Make FTP connection No Authentication p cif CONNECT lt bd_addr gt 1106 lt crlf gt BLUETOOTH HOST MODULE AT FTP lt bd_addr gt lt cr gt or gt AT OFT lt bd_addr gt Establish RFCOMM connection Connection Established acm Obex CONNECT fip 200 FTP lt crif gt Obex CONNECT ftp SUCCESS or 200 OBX lt crlf gt 6 2 Usage FTP Disconnection BLUETOOTH HOST MODULE FTP OBEX Connection Established lt crlf gt 200 FTP lt crlf gt QUIT lt cr gt gt Obex DISCONNECT Obex DISCONNECT OK Le lt crif gt 200 FTP lt crlf gt Rfcomm DISCONNECT Ge Rfcomm DISCONNECT OK lt crlf gt NO CARRIER lt crlf gt Laird Technologies BTM430 431 Blu
32. without notice Laird Technologies products are intended for use in normal commercial and industrial applications Applications requiring unusual environmental requirements such as mi 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 wil 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 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 Tech itary medical life not honor this technician This nologies control or claim by other than the original purchaser In no event shall Laird Technologies be responsible or liable for any damages arising From the use of product From the loss of use revenue or 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 p
33. 0 431 Bluetooth AT Data Module AT COMMAND SET 6 19 Usage Get File ABORT REFERENCE BLUETOOTH HOST MODULE GET A s Obex GET crlf gt 200 GE T lt crif gt ker crlf gt NN lt ecrlf gt RL o NN bytes of Data Here BISM expects but is in a state where kept will check for ABORT as well lt crif gt NN lt crif gt lt crxy i NN bytes of Data Here BISM expects but is in a state where it will check for ABORT as well ABORT lt cr gt lt crlf gt 200 FTP lt crlf gt or lt crlf gt 250 FTP lt crlf gt Notes If 200 FTP is received after submitting an ABORT command then it implies that the entire file was transferred before the abort had been received 6 20 Usage Unsuccessful FTP connection BLUETOOTH HOST MODULE AT FTP lt bd_addr gt lt cr gt Te Establish RECOMM connection Connection Fail e erlf gt NO CARRIER lt crif gt Notes Reason for connection failure could be Device is not in range Device is not connectable Device does not support FTP server profile 51 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 6 21 Usage ABORT a DIR request REFERENCE BLUETOOTH HOST MODULE ke FTP lt erif gt DIRECTORY LISTING DIR lt cr gt rea Obex GET folder Listing Name 1 DIR crIf Name 2 DIR lt crlf gt e Name 3 12345 cr
34. 00 71 z iQ AE Development Kit Schematic seg 10 Ire a EN zouenen sas am det un onu DER onpa ia zas sa Wu n Bunun aloy Bununi Bunun lpH Bununi El 48d DEN en nen DEEN en nen 255 222 A 3208 2 666 E E L C O q 4 m ESE ze ps oleae aan ws W wy an D sang aaasn 0980 Les Sn tan oso BE 113538 Hyr SEREEN E ia en ga Ly God esn DN DE LEE Sr K uecreen oi e Hr olaa sen ans men ae x En V Wen 7 STE axy amp x asn sia 7 Fe nso ou E XL esn b E ES Sis sn Sha enso ep A Seen ER Wna 0 O n gsn aa Ce ji d i b Di e Lem BI EN iod ver vis ts 9 w aura M uu 2 ype iod 9r 06 s m u ito wo NNOD OOA mu e a aow asn P e MOJN ren sasn LLASLON om 3 P ao zs p een zia ano Te oss sn lt S EN L5 r r Tai e ye Mis BOOT T ao e sar Di oes i L i aW asn YA CR F oms arak io aow sen MON mu i wo Di aN 2 szo aum Den xor F EN lt 3 T pr aiNsizzedswna x sn PEIES ANIOS 1531 HL an ANIOd 153178 ai Vi omg enen sa Er D sri aan vis epo ent DON aWarav ozuiaoW 4 E d NNOD OOA Blue
35. 202 Accepted 0x23 0xA3 203 Non Authoritative Information 0x24 0xA4 204 No Content 0x25 0xA5 205 Reset Content 0x26 0xA6 206 Partial Content 0x30 OxBO 300 Multiple Choices 0x31 0xB1 301 Moved Permanently 0x32 OxB2 302 Moved temporarily 0x33 0xB3 303 See Other 0x34 0xB4 304 Not modified 0x35 0xB5 305 Use Proxy 0x40 0xC0 400 Bad Request server couldn t understand request 0x41 OxC1 401 Unauthorized 0x42 0xC2 402 Payment required 0x43 0xC3 403 Forbidden operation is understood but refused 0x44 0xC4 404 Not Found 0x45 0xC5 405 Method not allowed 0x46 0xC6 406 Not Acceptable 0x47 OxC7 407 Proxy Authentication required 0x48 0xC8 408 Request Time Out 0x49 0xC9 409 Conflict 0x4A OxCA 410 Gone 0x4B OxCB 411 Length Required 0x4C OxCC 412 Precondition failed 0x4D OxCD 413 Requested entity too large Ox4E OxCE 414 Request URL too large Ox4F OxCF 415 Unsupported media type 0x50 OxDO 500 Internal Server Error 0x51 OxD1 501 Not Implemented 0x52 0xD2 502 Bad Gateway 0x53 0xD3 503 Service Unavailable 0x54 0xD4 504 Gateway Timeout 0x55 OxD5 505 HTTP version not supported 0x60 OxEO Database Full 0x61 OxE1 Database Locked Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 56 www lairdtech com For more details of these values please refer to the irDA specification which can be freely downloaded from www irda o
36. D is not visible when the module is installed inside another device then the outside of the device into which the module is installed must also display a label referring to the enclosed module This exterior label can use wording such as the following Contains Transmitter Module FCC ID PI4411B or Contains FCC ID PI4411B Any similar wording that expresses the same meaning may be used BTM430 431 Bluetooth AT Data Module DECLARATIONS OF COMPLIANCE 64 EU DECLARATION OF CONFORMITY Ezurio Ltd BTM410 BTM430 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 3 2 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 Wooburn Gre
37. OK re lt crlf gt 200 FTP lt crif gt Notes nn is the size of folder name in bytes The folder name is supplied in unicode 6 10 Usage Remove Folder Short Folder name BLUETOOTH HOST MODULE FTP OBEX Connection Established DELETE FILE 8 3 Filename RD name ext lt cr gt gt Obex PUT ae Obex PUT RESPONSE OK p lt lt crif gt 200 FTP lt crlf gt 45 www airdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 6 11 Usage Remove Folder Long Folder name UNICODE REFERENCE BLUETOOTH HOST MODULE DELETE FILE Long Filename RD nnn lt cr gt gt ES crit lt crif gt 211231 2 lt cr gt is sent it means send the illegal value lenght parameter again Repeated until nn bytes have been transferred pe lt crlf gt e lt crif gt 21 lt cr gt gt i crif crif Filename 21 chrs long Y V Obex PUT Nd Obex PUT RESPONSE OK Le crlf2200 FTP lt crlf gt Notes nn is the size of folder name in bytes The folder name is supplied in unicode 6 12 Usage Delete File Short Filename HOST DELETE FILE 8 3 Filename DEL name ext cr BLUETOOTH MODULE gt Obex PUT Obex PUT RESPONSE OK lt lt crlf gt 200 FTP lt crif gt 46 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET
38. R nn lt cr f gt 22 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 23 www lairdtech com 9 10 11 12 13 AT amp F Clear Non volatile Memory The AT amp F variant of the command installs values in S registers as per command AT SEA 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 lt cr lf gt OK lt cr If gt Or Response lt cr lf 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 the comms related S Registers for example 520 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 lt cr lf gt OK lt cr f gt Or Response lt cr lf 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 lf gt OK lt cr f gt Or Response lt cr lf gt ERROR nn lt cr f gt Factory Default Mode Laird Technologies devices are capable of operating at a very wide range of baud rates S Registers 520 and 521 allow the baud rate to be set very easily The baud rate clock generator in the
39. T packet is formed with respect to the Body header The Obex specification does not prohibit the first Body header to be empty neither does it say that it must NOT be empty If the first body is NOT empty when sending a file to a Nokia 6820 phone then it seems to confuse it Hence Laird Technologies have taken to sending out an empty Body header by default which is also what the Windows PC based Widcomm Bluetooth stack does To cater for future devices which NEED the first Body header to be non empty a new S Register 582 has been added to allow a host to have control over how the first body header is constructed The new S register 582 takes values in the range 0 to 1 The default value is O which implies that the first Body header in the PUT obex packet will be empty A value of 1 forces that Body header to have 1 byte of data and in this case when the module prompts the host for a length value it shall respond accordingly Laird Technologies hope that the default value of O will suffice for all occasions but provide the control to modify the packet as required PUT nnn length Send file This ftp subcommand is used to send a file to the ftp server where the filename is in UNICODE text and the filename is nnn bytes long The optional length value is inserted into the OBEX length header field This is optional for FTP See comment above with regards to S Reg 582 GET filename Retrieve a file This ftp subcomma
40. TM431 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 BTM430 Integrated Antenna option 0dBi multilayer ceramic BTM431 RS 232 bi directional for commands and data UART Interface Serial Interface 16550 compatible Configurable from 1 200 to 921 600bps Non standard Baud Rate baud rates supported Bits 8 Parity Odd even none Stop bits 1 Default Serial parameters 9600 n 8 1 Levels Set by VDD USB input Modem Control DTR DSR DCD RI RTS CTS General Purpose Interface 1 0 8 general purpose I O pins Audio Support 1 PCM channel 64kbps SCO Channels Support SCO and eSCO Configurable as master or slave 8 bit A law PCM Interface 8 bit p law 13 bit linear PCM Clock available when in slave mode 1 1 Protocols and Firmware Bluetooth Stack V2 0 compliant Fully integrated GAP Generic Access Profile SDP Service Discovery Profile Profiles SPP Serial Port Profile FTP Client OBEX push client Firmware Upgrade Available over UART Connection Modes Point to point cable replacement 5 www lairdtech com Laird Technologies BTM430 431 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
41. USER MANUAL z s gt a D rn Eom e E Laird TECHNOLOGIES gt Innovative Technology for a Connected World BTM430 431 Bluetooth AT Data Module REVISION REVISION HISTORY HISTORY Revision Description 2 www airdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module TABLE OF CONTENTS CONTENTS BTM430 431 Bluetooth Module 4 FCC Regulatory Statements 63 Overview cococcccconcoconnonncononononaconorinonnninos 4 BTM430 FCC and Industry BTM430 431 Key Features 4 Canada Statements 63 BTM431 FCC and Industry Specifications 5 Canada Statements a 93 Detailed Specifications 5 Pin Definitions a 7 Declarations of Compliance 64 BTM430 EU Declaration OBeratinq Parameters onn 8 of Conformity a 64 pid es pneu 8 apos Ge GEES Of CONTON aaa lists 65 AT Command Set Reference 9 a p MEN HEINE iie 9 Mechanical Drawings 66 Module Configuration Commands 10 BTM430 Mechanical Details 66 Connection Management BTM431 Mechanical Details 68 Commande 25 Development Kit Schematic 71 Audio Link Management Command 2 tuos tees bv vba te dereud 35 Ordering Information 73 SPP Profile Commande 36 Product Part Number 73 FTP Client Profile Commands
42. VDD USB USB amp UART supply voltage 13 VDD IO VO 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 GPIO4 BT_ACTIVE BT_STATE VIO 22 GPIO2 UART_DCD V 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 BTM430 Antenna connection 50 ohm matched See note 3 30 GND 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 1 0 for host VIO 43 GPIO7 UART_DTR VIO 44 GPIO8 UART_DSR VIO 45 GND 46 D Not used for AT module variants VUSB 47 D Not used for AT module variants VUSB 48 GPIO6 RF_ACTIVE VIO 49 GPIO5 WLAN_ACTIVE VIO 50 GPIO3 BT_PRIORITY 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 BTM430 431 Bluetooth AT Data Module OPERATING PARAMETERS 8 www lairdtech com OPERATING PARAMETERS OPERATING CONDITION MIN MAX VDD USB USB com
43. a Subsequent NN value SHALL be less than value returned to MAX command crif gt lt crif gt 123456 illegal value crif gt lt crlf gt NN lt cr gt x crif gt lt crif gt NN bytes of Data lt crif gt lt crif gt crif 200 OBX crif Note The first NN from the host shall specify a value of 1 Subsequent NN values shall be less than the value returned to command MAX Obex PUT Obex PUT Obex PUT Obex PUT Obex PUT End of Body Obex PUT RESPONSE OK Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 59 www lairdtech com 6 4 Usage Put File Long Filename UNICODE HOST PUT nnn cr cris he crif gt 21 erf lt crlf gt Filename 21 chrs long crif gt lt crif gt NN lt cr gt crif gt lt crif gt NN bytes of Data crif gt lt crif gt CR gt crif gt lt crif gt NN bytes of Data crif gt lt crif gt 123456 illegal value crif gt lt crif gt NN lt cr gt erlf gt 2 lt crlf gt NN bytes of Data crif gt lt crif gt U lt cr crif gt 200 OB X lt crif gt BLUETOOTH MODULE Obex PUT Obex PUT Obex PUT Obex PUT Obex PUT End of Body Obex PUT RESPONSE OK Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 6 5 Usage Unsuccessful OBEX Push connection REFERENCE BLUETOOTH HOST MODULE AT OPS lt bd_addr gt lt cr gt Establish
44. advert only No other values for this register are currently approved Number of times this module has gone through a reset cycle This feature is enabled by S Reg 601 Writing any value to this register will initialise it to a certain value If this is 1 then on reset S Reg 600 value will be incremented Set direction of digital I O lines This is a mask made up of 8 bits Setting a bit to 1 makes that I O line an output GPIO1 is bit 0 GPIO2 is bit 1 up to bit 7 for GPIO8 Set to 1 to invert the logic of GPIO outputs For example ATS621 1 will set the output pin to low and vice versa Read Write to all 8 Digital lines in one atomic step The value is returned as a 4 digit hexadecimal value with trailing Os Read Write to GPIO1 Read Write to GPIO2 Read Write to GPIO3 Read Write to GPIO4 Read Write to GPIO5 Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET o Soen em Gm REFERENCE eem S627 5628 5631 5632 S641 5642 51001 to 51010 21 www lairdtech com n a n a n a n a n a n a D 0 0 0 65535 05535 65535 65535 2432 Read Write to GPIO6 Read Write to GPIO7 Read Write to GPIO8 When GPIO1 is configured as an input low to high transitions are counted There is no software debouncing External RC circuit may be required The counter wraps to O when it overflows beyond 65535 When GPIO2 is configured as an input low to high transitions are
45. and is used to abort a file transfer where appropriate To abort a PUT session please send O when the module prompts for a length value QUIT Terminate the Obex Push session This obex subcommand is used to terminate the obex push session and will also result in the Bluetooth connection being terminated MAX Max outgoing obex packet size This obex subcommand is used to get the maximum obex packet size tolerated by server and can be used by the host to optimize the data throughput WHO Identify current profile This obex subcommand is used to identify the current profile O shall mean ObexPush and 1 shall mean FTP Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 55 www lairdtech com 4 OBEX Push Related Subresponses All Obex Push related sub responses sent from the module to the host SHALL be 11 characters long in the format lt cr gt lt lfsnnn AAA lt cr gt lt lf gt The characters nnn shall be decimal digits 0 to 9 then there is a space character and finally a 3 character word followed by lt cr gt lt lf gt The lt cr gt lt If gt envelope plus the fixed length will hopefully make the parsing task in the host much simpler Values for nnn are as specified for HTTP status codes and reproduced from the OBEX specification as follows 0x00 to OxOF None Reserved 0x10 0x90 100 Continue 0x20 OxA0 200 OK Success 0x21 OxA1 201 Created 0x22 OxA2
46. and rounds down to the nearest value in the table Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET TEE SE E REFERENCE 5543 If this is set to 1 then incoming pairing attempts will be accepted if a pin code has been pre entered using AT BTK while in the wait phase of auto connect cycle initiated by the AT BTR com mand In addition to accepting pairing attempts if the pairing is successful then the new device is automatically set as the peer address for automatic connections as if an explicit AT BTR command was entered See S Register 505 and 530 also S544 1 0 1 Configure the UART for either low latency or maximum throughput A setting of 1 gives maximum throughput 551 0x3211 OxFFFF 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 RF COMM 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 0 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 0 3 If RI pin 6 is output then always O If RI is input then 1 if RI is asserted otherwise O 4 If DSR pin 10 is asserted then 1 otherwise O In the event that a nib
47. biguity as to how the first obex PUT packet is formed with respect to the Body header The Obex specification does not prohibit the first Body header to be empty neither does it say that it must NOT be empty If the first body is NOT empty when sending a file to a Nokia 6820 phone then it seems to confuse it Hence Laird Technologies have taken to sending out an empty Body header by default which is also what the Windows PC based Widcomm Bluetooth stack does To cater for future devices which NEED the first Body header to be non empty a new S Register 582 has been added to allow a host to have control over how the first body header is constructed The new S register 582 takes values in the range 0 to 1 The default value is O which implies that the first Body header in the PUT obex packet will be empty A value of 1 forces that Body header to have 1 byte of data and in this case when the module prompts the host for a length value it shall respond accordingly Laird Technologies hope that the default value of O will suffice for all occasions but provide the control to modify the packet as required PUT nnn length Send file This obex subcommand is used to send a file to the obex push server where the filename is in UNICODE text and the filename is nnn bytes long The length value is inserted into the OBEX length header field See comment above with regards to S Reg 582 ABORT Abort current obex command This obex subcomm
48. ble specifies DSR as the source of its state be aware that if S Register 507 is anything other than 0 a de assertion of DSR will cause the Bluetooth connection to be dropped If bits 0 3 and 4 7 are set to 0 then some Bluetooth devices will use that as a signal to stop sending any data back For example Nokia 6310 stops responding If this register is changed while in command and connected mode then on going back online using the ATO command a fresh signal will be sent to the peer to update the bits S552 0x0122 OxOFFF 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 Do NOT touch the I O Always deassert Always assert If RTC bit in CONTROL IND is 1 then assert otherwise deassert If RTR bit in CONTROL IND is 1 then assert otherwise deassert If DV bit in CONTROL IND is 1 then assert otherwise deassert If IC bitin CONTROL IND is 1 then assert otherwise deassert Ou P A OH 17 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET reet BES REFERENCE npr S554 S555 S556 557 S558 18 www lairdtech com 0x0201 32 OxOFFF 0 900 1 7 0 3 4 900 This register specifies in each 4 bit nibble how the DTR DCD RI output pins are
49. ce class stored in the next 5 bits Bits 8 12 These 5 bits define the Major Device Class as per Table 1 3 in Bluetooth Assigned Numbers Bits 13 23 This is an 11 bit field used as a mask to define the Major Service Class as per Table 1 2 in Bluetooth Assigned Number Laird Technologies devices do not map to any predefined Major Service Class or Major Device Class and so the default devclass as shipped is 001F00 which means no Major Service Class and Unclassified Major Device class Other examples of device class codes are follows 001F00 Unclassified None Unclassified 200404 Headset Audio Audio Headset Response lt cr lf gt OK lt cr If gt Or for an invalid lt devclass gt value usually a value which is not 6 hexadecimal characters long Response lt cr lf gt ERROR O8 lt cr f gt AT BTC Read Device Class Code This command is used to read the current device class code Response lt cr lf gt 123456 lt cr lf gt 0K lt cr If gt AT BTD lt bd_addr gt 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 If gt AT BTD Remove All Trusted Devices This command is used to remove all devices from the list of trusted devices in the non volatile database No confirmation will be asked for So beware WARNING If
50. ch com 20 0 7 0 2 0 2 0 41 0 48 127 50 6 50 6 Specifies the mode on connection establishment 0 Normal that data is exchanged between UART and RF 1 LOCAL_COMMAND UART input is parsed by the AT interpreter and RF data is discarded 2 REMOTE_COMMAND PF 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 lt string gt asynchronous response 4 LOCAL_COMMAND and on the rf side the gpio is automatically sent when there is a change in input See section 9 5 for more details 5 DEAMON mode Reserved for future use 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 If set to 1 then GPIO5 follows RI state if set to 2 then it follows the state of DSR and if 0 it is not driven and GPIOS is available as a user I O This register will not necessarily be effective immediately after changing the value It must be saved to non volatile memory using AT amp W and will operate as expected after an ATZ or a power cycle When set to 0 GPIO4 is available as user i o If set to 1 then right LED follows DCD state If set to 2 then the led behaves as per setting
51. command MAX 6 15 Usage Put File Long Filename UNICODE BLUETOOTH HOST MODULE DEET PUT nnn cr N o amp lt crit Fh crif gt 21 F enit 2 crif Filename 21 chrs Oe Obex PUT IAU ll VU Ee NN er gt O 3M4 lt crif gt lt crif gt NN bytes of B M Obex PUT 4 rlf gt lt crif gt I M RA e a A E NN bytes of Data i m Obex PUT p amp _ n mP Fcrilf gt lt crif gt 123456 illegal value nn V 3 M4 Crrlf gt 1 lt crif gt NN lt er gt AAA crif cf NN bytes of pim Obex PUT p amp lt m rilf gt lt crif gt Obex PUT End of Body Obex PUT RESPONSE OK hu crif gt 200 FTP lt crif gt 48 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 49 www lairdtech com 6 16 Usage Get File Short Filename BLUETOOTH HOST MODULE FTP OBEX Connection Established GET FileName lt cr gt Y Obex GET lt cnf gt 200 GET gt lt crf gt Ker z lt crlf gt NN lt crif gt lt cr gt A Y NN bytes of Data a ker gt lt crif gt NN lt crf gt 2 lt cr gt gt NN bytes of Data Obex GET RESPONSE End of Body Li ker
52. controlled when NOT in a Bluetooth connection 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 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 The default for the Universal RS 232 Adaptor is 0200 If S Register 512 gt 2 and lt 7 then this register specifies a time in seconds for which the device will stay in the 5512 mode after power up or reset On timeout it will abort the discoverable and or connectable and fall back into S512 1 mode when it is deaf and dumb Note that if AT BTR has been used to specify a peer device then on reverting to mode 1 it will attempt to make a connection to that peer device A power cycle reset via BREAK or ATZ is required to see the effects of change If S Register 554 is nonzero then after the post reset window expires the mode will revert to the mode specified in this register This allows for example the device to be discoverable and connectable on power up mode 4 or 7 and on window timer expiry to revert to connectable only mode 3 or 6 A
53. counted There is no software debouncing External RC circuit may be required The counter wraps to 0 when it overflows beyond 65535 As per 631 but the action of reading the value will reset the count to 0 As per 632 but the action of reading the value will reset the count to 0 10 General Purpose 32 bit Registers for use by host These are stored in non volatile memory Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 5 ATSn Read S Register Value REFERENCE This will return the current value of register n For recognized values of n Response lt cr If gt As Appropriate 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 6 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 If gt Sn nnnn mmmm lt cr lf gt OK lt cr If gt For unrecognized values of n Response lt cr lf gt ERROR nn lt cr f gt 7 ATZ lt n gt Hardware Reset and emerge into mode n Forces the device through a hardware reset which means it will eventually come alive in the local command and unconnected mode This allows changes to the PS store to take effect ATZ and ATZO signify reset and emerge into the current mode see command ATI14 ATZ1 to ATZ4 instructs the module to reset and then emerge into the appropriate boot mode Note that S Reg 103 specifies the boot mode from
54. d to send data to the remote device when in local command and connected mode The parameter lt string gt is any string not more than 24 characters long If a non visual character is to be sent then insert the escape sequence hh where hh are two hexadecimal digits The 3 character sequence hh will be converted into a single byte before transmission to the peer Response lt cr lf gt OK lt cr f gt 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 string is only copied to the output rf buffer Only when an empty string is presented will all pending data in the output rf buffer be flushed out The parameter lt string gt is any string not more than 24 characters long If a non visual character is to be sent then insert the escape sequence hh where hh are two hexadecimal digits The 3 character sequence hh will be converted into a single byte before transmission to the peer Response lt cr lf gt OK lt cr f gt ATIn The following values of n are relevant to SPP operation 9 11 13 101 111 A description of these values is given in Section 2 3 ATSn m The following values of n are relevant to SPP operation 0 2 12 100 102 500 501 502 503 504 505 507 519 530 531 551 552 553 561 562 563 564 583 A description of these values is given in Section 2 4 Digital UO Cable Replacement The module has a number of general
55. digit The backspace character is not supported All Obex commands are case sensitive e Obex Commands shall not exceed 32 characters in total e While an Obex session is open the host shall not deassert the modules UART CTS line and conversely the host MUST always be ready to accept data When Unicode data is transmitted it shall be assumed that the most significant byte is transmitted first f an Obex command is expecting a Unicode string as a parameter and the host has an ascii string the string shall be expanded with a O byte in the most significant position Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 54 www lairdtech com 2 OBEX Push related AT Commands 2 1 2 2 AT OPS lt bd_addr gt This command is used to establish a connection to an Obex Push server profile in a peer device with Bluetooth address lt bd_addr gt ATSn m The following values of n are relevant to OBEX operation 582 A description of these values is given on page 19 Obex Push related Subcommands This section describes Obex Push related subcommanas that the host can use to control the obex push session 3 1 3 2 3 3 3 4 3 5 3 6 PUT filename length Send file This obex subcommand is used to send a file to the obex server The length of filename shall not exceed 24 characters The length value is inserted into the OBEX length header field There is some am
56. e and be ready for an incoming connection in the other 13 2 Pulse a GPIO pin To flash a GPIO pin set it as an output using S reg 610 and then use S reg 585 to 587 inclusive to set the pin period and duty cycle respectively Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 13 3 Flash LED on Connectable Mode REFERENCE S reg 534 now takes a value up to 2 A value of 2 configures it so that it will blink when the module is in connectable mode 13 4 Reset via BREAK The module can be reset by sending a BREAK signal A BREAK signal exists when the modules UART_RX input is in a non idle state Ov for more that 125 milliseconds 13 5 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 neighborhood to be differentiated 24 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET CONNECTION MANAGEMENT COMMANDS REFERENCE 25 www lairdtech com 1 4 AAA Enter Local Command Mode When in data and connected mode the host can force the device into a command and connected mode so that AT Commands can be issued to the device The character in this escape sequence is specified in the S2 register so can be changed In addition the escape sequence guard time is specified by S Register 12 By default
57. e sent in the rf buffer when a connection is up 133 Version number of Multipoint application Note ATI is provided for compatibility in multipoint mode other AT commands are not available 142 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 n 16 ATI9 will return 1 1101 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 1111 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 O is best and larger values are worse As the value approaches 1000 BER 0 1 it is an indication that the link is very bad and a large number of Bluetooth packets are being lost 110435 The value of the PCM CONFIG32 parameter in the chipset database 110438 The value of the PCM FORMAT parameter in the chipset database For recognized values of n All other values of n will generate an error Response lt cr lf gt As Appropriate lt cr If OK cr If2 or Response lt cr If gt ERROR nn lt cr
58. e specified then an error will be returned Response cr If CONNECT 123456789012 AE lt cr If gt Or lt cr If gt NO CARRIER cr If ATH Drop Connection Drop an existing connection or reject an incoming connection indicated by unsolicited RING messages Response cr If NO CARRIER cr If Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 27 www lairdtech com 9 10 11 12 13 ATO Enter Data Mode letter o Return to data mode Assume that the module is in data mode after OK is received Responds with an error if there is no Bluetooth connection Response lt cr lf gt CONNECT 12345678901 2 lt cr f gt or Response lt cr lf gt ERROR nn lt cr f gt AT BTC lt devclass gt Set Device Class Code This command is used to set the device class code which will be sent in subsequent inquiry responses It can be read back using the AT BTC Command as described below lt devclass gt is a 6 digit hexadecimal number derived as per section 1 2 The Class of Device Service Field of the Bluetooth specification Bluetooth Assigned Numbers The 24 bits are made of 4 fields briefly described as follows bit 0 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 These 6 bits define the Minor Device Class and the value is interpreted differently based on the Major Devi
59. ed for HTTP status codes and reproduced from the OBEX specification as follows 0x00 to OxOF Ox10 0x90 0x61 OxE1 None 100 200 201 202 203 204 205 206 300 301 302 303 304 305 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 500 501 502 503 504 505 Reserved Continue OK Success Created Accepted Non Authoritative Information No Content Reset Content Partial Content Multiple Choices Moved Permanently Moved temporarily See Other Not modified Use Proxy Bad Request server couldn t understand request Unauthorized Payment required Forbidden operation is understood but refused Not Found Method not allowed Not Acceptable Proxy Authentication required Request Time Out Conflict Gone Length Required Precondition failed Requested entity too large Request URL too large Unsupported media type Internal Server Error Not Implemented Bad Gateway Service Unavailable Gateway Timeout HTTP version not supported Database Full Database Locked Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET For more details of these values please refer to the irDA specification which can be freely downloaded REFERENCE from www irda org In addition values in the range 050 to 099 and 250 to 299 inclusive are specific to this Laird Technologies application and are defined as per the table below 050 Syntax Error Command Unrecognized
60. egister will return 1 regardless of the actual value stored in non volatile memory Escape sequence character It is not by default as a Bluetooth serial link can be used to connect to a mobile phone which exposes an AT command set which will in turn use as default So if both used there will be confusion Ox5e is the character Escape sequence guard time in milliseconds with a granularity of 20ms New values are rounded down to the nearest 20ms multiple Number of RING indications before an auto disconnection is initiated A value of O disables this feature If SO lt gt O and 100 lt gt O then SO must be lt S100 If a value is entered which violates this rule then ERROR 29 is sent in response UUID of default SPP based profile when not specified explicitly in the ATD command Defines a set of bits masks for enabling profile server support With the exception of Serial Port Profile implementation of the profile servers below requires implementation in the external host processor and Bluetooth qualification of the completed server implementation Values can be ORed 1 is Serial Port Profile 2 is Headset S Reg 580 allows remote volume control bit to be adjusted 4 is DUN 8 is Audio Gateway Headset 16 is Handsfree S Reg 581 allows supported feature field to be adjusted 32 is OBEX FTP 64 is Audio Gateway Handsfree It is recommended that due to memory resource issues not more than 2 p
61. en 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 ET T MN MERERI BTM430 431 Bluetooth AT Data Module DECLARATIONS OF COMPLIANCE 65 EU DECLARATION OF CONFORMITY Ezurio Ltd BTM411 BTM431 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 3 2 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 Wooburn 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 I L f r
62. ent 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 Laird Technologies device cannot be communicated with If this happens there is a procedure to recover from this situation which is described in section titled Factory Default Mode The default is 9600 for the Laird Technologies Module and 115200 for other Laird Technologies devices See S Register 526 for further information Parity O None 1 Odd 2 Even See S Register 526 for further information This register specifies a 2 bit mask used to qualify how S Registers 520 to 524 are actioned When bit 0 is 1 the new comms parameter affects the UART immediately When bit 1 is 1 the new comms parameter is stored in non volatile memory So for example to change comms parameters but have them come into effect only after subsequent power cycles then this register should be set to 2 and likewise to affect immediately and yet not have it persist over a power cycle the value should be set to 1 Must be set before the baud rate change Reconnect delay when configured as master in pure cable replacement mode This value is rounded down to the nearest 100ms See S Register 505 and 543 also Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET SE UR SE SS REFERENCE T 5532 533 534 535 536 538 539 540 541 542 16 www lairdte
63. erson 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 a the product is replaced it may be a new or refurbished product 74 their discretion If
64. etooth AT Data Module AT COMMAND SET 6 3 Usage Folder Listing REFERENCE BLUETOOTH HOST MODULE FTP OBEX Connection Established re lt crlf gt 200 FTP lt crlf gt DIRECTORY LISTING DIR lt cr gt Obex GET folder Listing Name 1 DIR lt crf gt Name 2 DIR lt crf gt Name 3 12345 lt crlf gt Name 4 2303 lt crlf gt La Obex GET folder Listing RESPONSE HOST lt lt crlf gt 200 FTP lt crlf gt Notes If a number follows a name then that implies a file 6 4 Usage Folder Listing Raw Output lt crif gt 200 FTP gt lt crif gt BLUETOOTH MODULE DIRECTORY LISTING DIR RAW cr lt XML version 1 0 gt lt IDOCTYPE folder listing SYSTEM obex folder4isiting dtd gt folder4isting version 1 0 gt lt paren folder gt folder namez System created 19961103T1415002 gt file namez Ezurio txt created 20050105T090300Z size 41042 lt ffolder listing gt lt crlf gt Obex GET folder Listing Obex GET folder Listing RESPONSE sss L lt crlf gt 200 FTP gt lt crlf gt HOST Notes The raw output is ascii text and is in XML format 6 5 Usage Create Folder Short Folder name CREATE FOLDER Short Name MD name ext lt cr gt lt crlf gt 200 FTP lt crif gt d BLUETOOTH MODULE 3 Obex SETPATH Obex SETPATH RESPONSE OK 43 www lairdtech com Laird Technologies BTM430 431 Blueto
65. h a device whose Bluetooth address is lt bd_addr gt An OK response is sent and when the PIN is required asynchronous indications will be sent to the host in the form PIN lt bd_addr gt 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 The link key can be stored in a non volatile database within the device The list of trusted devices is managed using commands AT BTT AT BTT and AT BTD The AT BTT command produces a list of trusted Bluetooth addresses link key is NEVER displayed and AT BTT is used to store the cached link key The command AT BTD123456789012 is used to remove the specified device from the database The OK response is sent immediately on receipt of the AT BTW command On pairing completion an unsolicited message will be sent to the host which will be in the form PAIR n lt bd_addr gt See section 3 7 for more details If AT BTI or AT BTP or AT BTG or AT BTQ or ATD is issued between the AT BTW command and the subsequence PAIR asynchronous response then an ERROR response will be sent to those commands as the device is not in a mode from where such commands can be actioned Response lt cr lf gt OK lt cr f gt 45 AT BTW List Cached Trusted Device This command is used to list the cached trusted de
66. id Major Device Class valid value in range 0x00 to Ox1F inclusive Pairing in progress Command cannot be actioned try again later Invalid Sniff parameter specified E g new Attempt value greater than MinInterval Solution is to first increase MinInterval and re enter the Attempt value Get Remote Friendly name Failed Failed to change mode to Multipoint 7 Bit mode requires parity to be even or odd Laird Technologies BTM430 431 Bluetooth AT Data Module FCC REGULATORY STATEMENTS 63 BTM430 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 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
67. inated by the carriage return character OxOD which is represented by the string lt cr gt in descriptions below this cannot be changed 2 All responses from the Laird Technologies device have carriage return and linefeed characters preceding and appending the response These dual character sequences have the values OxOD and OxOA respectively and shall be represented by the string lt cr lf gt 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 All new Bluetooth specific commands are identified by the string BTx where x is generally a mnemonic of the intended functionality AT Command Set Syntax lt bd_addr gt 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 character 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 lt uuid gt A 4 character UUID number consisting of ASCII characters
68. ine corresponds to a command or data belonging to a file The module uses negotiated multiplexing to achieve this and commands are used to toggle the line between command and data mode This scheme is symmetrical and the commands for toggling the state of the line are relevant for both direction The only difference being that the terminator is cr in the host to module direction and lt crlf gt in the reverse direction The commands are described in the following sub sections 5 1 A This command is used to ask the other end how many bytes of a filename or object it will send next 52 This command is used to inform the other end that it is safe to send the number of bytes belonging to a filename or object as indicated in the most recent command 5 3 1 This command is used to ask the module host how many bytes of data it will send next If the module host sends a length value too big to cope with then it can be rejected by sending the command again This is because accepting a value implies this end should send a prompt to trigger the data phase see next section 5 4 This command is used to inform the other end that it is safe to send the number of bytes belonging to data phase indicated in the most recent command Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 6 Message Sequence Charts REFERENCE The color scheme uses RED text as commands from a host to the module and BLUE text
69. ing is also enabled Authentication is enabled and encryption is disabled Response lt cr lf gt OK lt cr f gt 33 AT BTPY Enable Promiscuous Page Inquiry Scanning Enable page scanning and wait for a connection from any device Inquiry scanning is also enabled Authentication is disabled and encryption is enabled Response lt cr lf gt OK lt cr f gt 34 AT BTPUY Enable Promiscuous Page Inquiry Scanning Enable page scanning and wait for a connection from any device Inquiry scanning is also enabled Authentication and encryption are both enabled The order of U and Y is not significant Response lt cr lf gt OK lt cr f gt 35 AT BTQ Enable Inquiry Scans ONLY When inquiry scan is enabled it implies that this device will respond to inquiries from other devices Use AT BTX to disable inquiries Response lt cr lf gt OK lt cr f gt 36 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 A value of 000000000000 has the special meaning of invalid peer address This command is used to set up a module in pure cable replacement mode If S register 512 1 and the peer address is NOT 000000000000 then it will periodically time specified via S register 505 attempt to connect to the peer address specified In this circumstance all commands from the host are buffered in the receive buffer until a Bluetooth connection is establi
70. initiated 33 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 34 www lairdtech com 48 49 Dropping 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 Bluetooth modules 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 deasserting the DTR DSR from the modules viewpoint handshaking line Being able to drop a connection using the escape sequence has a severe penalty on data throughput in fact the data rate is of the order of 85kbps instead of about 200kbps To cater for this performance hit the 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 former mode This mode is selected using the S507 register See S register table described in an earlier section To reiterate
71. isible to other devices 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 Response lt cr lf gt OK lt cr f gt AT BTN Read Friendly Name from Non volatile Memory Read the default friendly name from non volatile memory Response lt cr lf gt My FriendlyName lt cr lf gt lt cr lf gt OK lt cr If gt AT BTP lt bd_addr gt Enable Cautious Page Inquiry Scanning Enable page scanning and wait for a connection from device with Bluetooth address lt bd_addr gt If the specified address is 000000000000 then incoming connections are accepted from any device is as per AT BTP without an address Inquiry scanning is also enabled This command also has variants which allow authentication and encryption to be explicitly specified For example AT BTPU123456789012 AT BTPY 123456789012 AT BTPUY 123456789012 AT BTPYU123456789012 Response lt cr lf gt OK lt cr f gt AT BTP Enable Promiscuous Page Inquiry Scanning Enable page scanning and wait for a connection from any device Inquiry scanning is also enabled Authentication and Encryption is as per S registers 502 and 503 Response lt cr lf gt OK lt cr f gt Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 32 AT BTPU Enable Promiscuous Page Inquiry Scanning REFERENCE Enable page scanning and wait for a connection from any device Inquiry scann
72. lf Obex GET folder Listing RESPONSE Name 4 2303 lt crlf gt Name 5 DIR lt crIf gt Obex GET folder Listing RESPONSE Name 6 12345 lt crlf gt Le Le Obex GET folder Listing RESPONSE ABORT cr M Name 7 12345 crlf Name 8 2303 lt crlf gt lt pe n Hh h 0 FTP lt erlf gt Notes The host may get more file folder names after submitting an ABORT request because the device could have received a folder data obex packet at the same time but slightly earlier so it may have started processing it Hence the host must look out for a 200 FTP lt crlf gt to be sure that the DIR operation has terminated Some ftp servers like widcomm stack will return a 500 response code 52 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 53 www lairdtech com OBEX PROFILE COMMANDS This section describes the OBEX implementation on BTM430 431 which allows to perform the role of Obex Push Client as illustrated in the diagram below OBEX Push Client OBEX Push Server blu2i L7 Bluetooth Enabled ser SE OBEX server e g Mobile Phone New functionality added here The Obex Push profile implementation provides the capability to a host to act as a Obex Push client to a peer device providing an obex push server profile An Obex Push client capability implies the ability to send and optionally receive a default file
73. lt crif gt 200 FTP lt crif gt Notes After each command if a NN response is not received after 2 seconds the host can repeat that command The response to is NN instead of just NN to make easier for the host to predict the command since on completion the standard response is 200 FTP which also happens to start with a number The shall be early warning to the host that the procedure is not complete 6 17 Usage Get File Empty file in server BLUETOOTH HOST MODULE GET FileName lt cr gt Obex GET Lee lt crlf gt 200 FTP gt lt crlf gt Notes If the file size is O then the host shall receive 200 FTP instead of 200 GET The latter is invitation to the host that data needs to be marshalled across Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 6 18 Usage Get File Long Filename UNICODE BLUETOOTH REFERENCE HOST MODULE GET nn lt cr gt lt crip HE cnf gt 21 cr gt cri D crife Filename 21 chrs o Obex GET Le lt crlf gt 200 GET crlf gt ker Le lt crif gt NN lt crf gt lt cr gt vY L NN bytes of Data ker Zei Le lt crlf gt NN lt cnf gt lt cr gt 3 pu NN bytes of Data L Obex GET RESPONSE End of Body ker gt Le 200 FTP lt crif gt 50 www lairdtech com Laird Technologies BTM43
74. n 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 50750 and in a connection DSR can be used to change from data to command state by deasserting the DSR line for less than the time specified in this register This value is rounded down to the nearest 100ms Change to a standard baud rate The effect is immediate and in fact the OK will be sent at the new baud rate Only one of the following baud rates are accepted 1200 2400 4800 9600 19200 2 8800 38400 57600 115200 If S register 525 1 then the maximum baud rate is limited to 115200 The default is 9600 for Laird Technologies BISM Embedded Modules and BTM43X devices and 115200 for other Laird Technologies Bluetooth devices Change baud rate to non standard value Laird Technologies modules support any baud rate The only limitation is the integer arithmetic involved which may adjust the applied rate slightly If the internally computed baud rate is more than 2 offset from the desired input value then an ERROR will be returned and the old baud rate will prevail To inspect the actual baud rate do ATS521 521 should only be used 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 In the ev
75. nd is used to retrieve a file from the ftp server The length of filename shall not exceed 24 characters GET nnn Retrieve a file This ftp subcommand is used to retrieve a file from the ftp server where the filename is in UNICODE and the filename is nnn bytes long DIR Get folder listing This ftp subcommand is used to retrieve the folder listing The Bluetooth ftp specification requires a server to transmit a folder listing as a properly formed XML document In a properly formed document the character amp is supposed to be escaped into a 5 character string amp amp Testing has shown that the Widcomm Bluetooth stack and also the Microsoft Windows CE Bluetooth stack do not comply with that requirement and send the amp unescaped This means that if a folder contains filenames with amp characters it will result in a failed parsing of the xml document and this command will fail with the response 090 FTP In this circumstance the only way for the host to extract the folder listing from the server is to request the folder listing in raw xml form This is expedited using the command described next Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 39 www lairdtech com 3 6 3 7 3 8 3 9 3 10 3 12 3 13 3 14 3 45 3 16 3 17 3 18 3 19 DIR RAW Get folder listing XML document This ftp subcommand is used to retrieve the folder listing In this
76. o mq m Ayliqedeo sseooud Jo pue UUDH N aou weg eoueuedxe Jeu uo peseq suoisueuuip ujeyed pue god 24 Ajipoui Aew Jesn eu YUNH N sos weu 007 7 USAN ainpow EE JO apisiepun uo sjurod eet o Buoys pioAE 0 ajnpow Japun seddoo pesodxe ou eunsu3 z lt sssomox apinBenem Jaue doo Jo duso WYOQS Uu ez uid O I 4Y o euu luv euJe X3 129uu02 pale SOJON 0c 6l L X00 L youd uid Sc la Lc HOBRABORAORAOE So l E SS ajon ees LNO 38 zm i ES EN 62 tE LE EE j j CO x N E j E Q 1 58 O i o7 EST BBDBDBDDHDBUDI i Ze los i d Got yy6ue7 ped d L OZ O UPIM Ped OLE Z ajou aag AWoOS LON OG JNITLOO FINGOW SNOISNAWIG TVO3Q NSH3 LIVd NV 1 ddd BTM430 Mechanical Details OL 6 9 S y id L Bluetooth AT Data Module MECHANICAL BTM430 431 DRAWINGS 67 BTM431 Mechanical Details Bluetooth AT Data Module MECHANICAL BTM430 431 DRAWINGS L 9 Y Jo aBed NOLLO3POYA aealg L0 10d 100 YW018 gt Ee ww spun UUNHN uus E yox pueoq jo abpa o ped jo ujbue ego 9 SEN H UEN E ae eDpe pieog 0 Jajuag ped Wl 9 TNN a3A03H9 HSINI3 obpa pieog 0 Jejue23 ped GL 3 suolsu uuiq eBexoeg ainpoy a oz 13 H 0 01 Ld lt 2SSIDOTONHDSL youd
77. oth AT Data Module AT COMMAND SET 6 6 Usage Create Folder Long Folder name UNICODE REFERENCE BLUETOOTH HOST MODULE CREATE FOLDER Long FolderName MD nnn lt cr gt gt crit FF lt crif gt 23 lt cr gt Repeated until lt cri crif Metier Foldername 23 chrs long eg 0 A 0 B 0 C 0 0 t 0 5 0 t A Obex SETPATH RESPONSE OK lt lt crif gt 200 FTP lt crif gt Obex SETPATH Notes nn is the size of folder name in bytes The folder name is supplied in unicode 6 7 Usage Create Folder Unsuccessful BLUETOOTH HOST MODULE FTP OBEX Connection Established CREATE FOLDER Short Name MD name ext lt cr gt gt Obex SETPATH ee Obex SETPATH RESPONSE re lt crlf gt 401 FTP lt crlf gt 6 8 Usage Change Folder Short Folder name BLUETOOTH HOST MODULE FTP OBEX Connection Established CHANGE DIRECTORY Short Name CD name ext lt cr gt CD voe 2 Obex SETPATH 6 Obex SETPATH RESPONSE OK Le lt crlf gt 200 FTP lt crif gt 44 www airdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 6 9 Usage Change Folder Long Folder name UNICODE REFERENCE BLUETOOTH HOST MODULE CHANGE DIRECTORY Long FolderName CD nnn lt cr gt el cit emt tii Repeated until I sn fone Foldername 23 chrs long Obex SETPATH La Obex SETPATH RESPONSE
78. patibility not required 1 7 3 6 VDD_USB USB compatibility required 3 1 3 6 VDD IO 17 zs VDD IN 30 33 VOLTAGE SPECIFICATIONS INPUT VOLTAGE LEVELS MIN TYP MAX V 0 7VDD_USB V 27 VDD USB 3 0 0 4 40 8 1 7 lt VDD_USB lt 1 9 0 4 0 4 OUTPUT VOLTAGE LEVELS 1 7 lt VDD_USB lt 1 9 V lout 4mA VDD_USB 0 4 V lout 4mA 0 4 OUTPUT VOLTAGE LEVELS 2 7 lt VDD_USB lt 3 0 V lout 4mA VDD_USB 0 2 V lout 4mA 0 2 Note VDD_USB must be connected to power the USB and UART interfaces INPUT VOLTAGE LEVELS MIN IAP MAX V 0 7VDD_IO V 2 7 lt VDD_I0 lt 3 0 0 4 0 8 1 7 lt VDD_I0 lt 1 9 0 4 40 4 OUTPUT VOLTAGE LEVELS 1 7 lt VDD IO lt 1 9 V lout 4mA VDD IO 0 4 V lout 4mA 04 OUTPUT VOLTAGE LEVELS 2 7 VDD IO 3 0 V lout 4mA VDD IO 0 2 V lout 4mA 0 2 Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET This document describes the protocol used to control and configure the BTM430 and BTM431 Bluetooth Data REFERENCE Modules The protocol is similar to the industry standard Hayes AT protocol used in telephony modems which is appropriate for cable replacement scenarios as both types of devices are connection oriented The telephony commands have been extended to make the Laird Technologies device perform the two core actions of a Bluetooth device which is make break a connection and Inquiry Many other AT commands are al
79. ponses from the Laird Technologies device will be in the form lt cr If gt ERROR nn lt cr f gt where nn will be a number in the range 00 to 99 01 02 03 04 05 06 06 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Register not recognized Value for register is out of range Incoming call NOT pending No call to connect to This error code has meaning for ATO only Syntax Error Empty String Device Class could not be stored Invalid Device Class Code Invalid Bluetooth Address Could not set Service or Friendly name PS Store Write PS Store Read Not Idle Incorrect Mode Already Scanning Pairing is already in progress Not USED Not USED Not USED Not safe to write to Non volatile Store Ongoing Bluetooth Connection Link Key Cache is Empty Link Key Database is Full Malloc returned NULL Resource Issue Remote Address same as Local Address Connection Setup Fail DSR Not asserted Unauthenticated licence Max Responses See S Register 518 too high Memory allocation error The length of Pin in AT BTK is too long Invalid Ring count specified for S Register O or 100 If SO lt gt 0 and S100 lt gt 0 then SO must be lt 100 ADC Error Analogue Value cannot be read as it is set for output Analogue Value cannot be written as it is set for input S Register Value is invalid Both L and R modifier cannot be specified in ATD command Inval
80. purpose digital i o pins The direction of these are specified via S Reg 610 When S Reg 531 is set to 4 at both ends of the connection then on connection any changes in the states of the inputs at one end will be transmitted to the peer which will then reflect those states on the appropriate i o pins if they have been configured as outputs It is recommended that the value of S Reg 610 at one end be the one s complement of the other end That way inputs at one end are mirrored at the other end and vice versa In addition S Reg 506 MUST be set to 0 which disables echos Note that due to inherent latency of Bluetooth transmission expect the change of state to be delayed This value is typically 100ms and can be much more if the quality of the link is bad which results in many retries It is assumed that an audio channel is not active at any time Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET FTP CLIENT PROFILE COMMANDS REFERENCE The FTP profile provides a capability allowing a host to act as an ftp client to a peer device providing an ftp server profile as shown in the diagram below FTP Client FTP Server BTM43 22 77 Bluetooth Enabled x nn ee Module Lo FTP server e g Mobile Phone An FTP client capability implies the ability to send and receive files and also to manipulate file objects in the remote device The Bluetooth FTP server profile specification describes the profile
81. r r rr r f OL 6 I 8 L 9 P y id I L BTM430 Mechanical Details NOLLO3FOYd OLvIA LG miii cm av EUM wu SHUN UunH N e E SEC UT pueoq jo e pe oj ped jo ujBue jeqojo G80 H UUnH N aus ema 0014 XX SEN Bp pieog 0 u O ped KE 9 VMN mt E puni oDpe pueog 0 eue ped ge L 3 SuolIsu uulq oBexyoed lnpolN 0 El ka 0 0L ia lt S3IDOT0NH23L yoyd 1eqo 9 OL a p 1187 ELL 0 84 184L 3 9 L FZL LEZI a UIPIM ped Ieqolo S9 0 090 SS 0 q 1uBieH plelys qe Le sz ez ov ss uyolul god DL 6 0 80 IN Ze ve Ve V SOION unuxejy eoid un uoisu uuiq uu yid utu X S X 0 9L E OLvINLS uonduos q V LN Y q S nO Uld A Lb k l AAA Si OP os d en Plelys Je uo on ye UOIEIUaUO ME d 5 poem 3 m m lt j in i m AA 4 sz AGIS LNINOdWOD Le MIIA dO1 1 9c 6c 9 Date AY a o AWOS LON OG D 6 8 H 9 P y H i Bluetooth AT Data Module MECHANICAL BTM430 431 DRAWINGS 66 QL 6 8 9 jeoeguidigeg pue p pueuiuoodx y I z L Z 10 z eBeqd NOLLO3POYd OLvIALS dii
82. rd Technologies devices need to be paired then it can be accomplished as follows REFERENCE e To device 1 send ATI4 it will respond with the local Bluetooth address E g 123456789001 e To device 1 send AT BTP It will become discoverable and connectable e To device 2 send AT BTW123456789001 and it will respond with OK e Then on both devices you will see PIN asynchronous responses e To both modules send AT BTK 12345678 e On success the serial module will send an unsolicited message in the form of PAIR O bd addr e The pairing link key is at this stage in volatile memory so send AT BTT to both The two units now have pairing information which will survive a power cycle AUDIO LINK MANAGEMENT COMMANDS 1 AT BTAn Control Audio Channel Once a Bluetooth connection is active and assuming the peer device is a Laird Technologies device this command is used to start stop a SCO channel which will connect the PCM interfaces of the two peer devices This means that if a codec is attached to the PCM pins then 2 way audio can be established BTAO Switch off the channel BTAn Switch on the sco channel using HV1 HV2 HV3 packets n is a bit mask Where bit O is used to specify HV1 bit 1 for HV2 and bit 2 for HV3 It is usually best to specify 7 and let the underlying stack select the best packet for the prevailing rf conditions If the value of n is offset by 1000 ie 1001 to 1007 then eSCO channels are established On receipt of
83. rg In addition values in the range 050 to 099 and 250 to 299 inclusive are specific to this Laird Technologies application and are defined as per the table below 050 Syntax Error Command Unrecognized 051 Server sent unexpected information in obex packet 052 Obex connection fail because it is unauthorized 053 Memory allocation failure Please contact Ezurio with details 055 Unicode File Folder name length cannot be an odd value 056 Command not recognized 090 An XML parsing error occurred while processing responsed to DIR com mand 099 The Bluetooth connection has unexpected been dropped For example remote out of range etc 250 GET procedure was aborted 4 1 nnn OBX This obex response is used to convey the outcome of a subcommand to the host where nnn is a fixed 3 digit decimal number as defined in the irDA specification and map to HTTP status codes For example a value of n2200 implies successful operation any other value usually conveys an error as described in the irDA specification except the range 050 to 099 inclusive and 250 to 299 inclusive Note When a Bluetooth OBEX session is established we will be specifying v1 0 in the header packets by default 5 OBEX Push Line Multiplexing Commands When transferring an object the single serial interface between the host and the module is used to send and receive data and commands This means a scheme is required to unambiguously determine when a byte on the l
84. rned Response lt cr lf gt OK lt cr f gt Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 30 www lairdtech com 25 26 27 28 29 30 31 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 A value of 000000000000 has the special meaning of invalid peer address When S register 512 3 4 6 or 7 then it will wait for an incoming connection from the peer address specified If the peer address is not 000000000000 then it waits for a connection from the specified master otherwise will connect to anyone Response lt cr lf gt OK lt cr If gt AT BTM Delete Incoming Peer Address This command is used to delete the peer address previously stored using AT BTR lt bd_addr gt Response lt cr lf gt OK lt cr If gt 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 lt cr lf gt 12346789012 lt cr lf gt OK cr If gt If the location is empty the response is as follows Response lt cr lf gt O00000000000 lt cr lf gt OK cr If gt AT BTN lt string gt Set Friendly Name in Non volatile Memory This sets the default friendly name of this device as seen by other devices It will be stored in non volatile memory Use AT BTF to make the name v
85. rofiles are activated at the same time Boot Mode on cold boot Authentication for outgoing connections Set to 1 to Enable Authentication Encryption for outgoing connections Set to 1 to Enable Encryption Authentication for incoming connections Set to 1 to Enable Authentication Encryption for incoming connections Set to 1 to Enable Encryption Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET EE UR SE SS REFERENCE m S505 S506 S507 S508 S509 510 511 13 www lairdtech com 10 0 640 320 640 320 2 120 0 1 0 2 10 2550 10 2550 10 2550 10 2550 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 Laird Technologies 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 disconnect max timeout Enable Disable echoes The ATEn command also affects this When set to 0 a connection can be dropped using AAA escape sequence only and the
86. s are as follows 0 No prior connection 1 Connection timeout 2 Connection attempt cancelled 3 Normal disconnection 4 Peer device has refused connection 5 Service profile lt uuid gt 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 Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 11 www lairdtech com 112 The last ERROR response number 113 The Sniff status is returned as follows Response lt cr lf gt a b c d e lt cr lf gt OK lt cr lf gt Where a 0 when not online and 1 when online and Sniff has been enabled b is the Sniff Attempt parameter c is the Sniff timeout parameter d is the minimum sniff interval and e is the maximum sniff interval All parameters b c d and e are given as Bluetooth slots which are 625 microseconds long converted from values of S Registers 561 562 563 and 564 respectively 114 The current boot mode 115 The maximum length of an AT command including the terminating carriage return 116 The codec output gain range 117 The codec input gain range 120 Returns the number of bytes pending to b
87. s return it Response lt cr lf gt ERROR 27 lt cr f gt 22 AT BTIV devclass Inquire As per AT BTI but the response includes the device class code for all inquiry responses Please refer to the ERROR RESPONSE note in the description for AT BTl lt devclass gt Response lt cr lf gt 12346789012 123456 lt cr If gt 12345678914 123456 lt cr lf gt OK cr If gt 23 AT BTIN lt devclass gt Inquire As per AT BTI but the response includes the device class code and friendly name for all inquiry responses Please refer to the ERROR RESPONSE note in the description for AT BTl lt devclass gt The friendly name strings are in UTF 8 format as per the Bluetooth specification Response lt cr lf gt 12346789012 123456 Laird 012345 lt cr lf gt 12345678914 123456 Laird123456 lt cr lf gt OK lt cr If gt We strongly recommend that any software implementation that uses this command to find Laird Technologies modules should check for LAIRD EZURIO and TDK SYSTEMS in the friendly name to ensure backwards and forwards compatibility 24 AT BTK lt string gt Set Passkey This command is used to provide a passkey when PIN 12345678 indications are received asynchronously If a pairing is not in progress then the pin is written to non volatile memory for future use Specifying an empty string deletes the key from the non volatile memory The string length must be in the range 0 to 16 otherwise an error will be retu
88. sed to delete the folder specified where the foldername is specified in unicode DEL filename Delete a file This ftp subcommand is used to delete the file specified DEL nnn Delete a file This ftp subcommand is used to delete the file specified where the filename is specified in Unicode ABORT Abort current ftp command This ftp subcommand is used to abort a file transfer where appropriate To abort a PUT session please send O when the module prompts for a length value QUIT Terminate the FTP session This ftp subcommand is used to terminate the ftp session and will also result in the Bluetooth connection being terminated MAX Max outgoing obex packet size This ftp subcommand is used to get the maximum obex packet size tolerated by server and can be used by the host to optimize the data throughput Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 40 www lairdtech com 4 FTP related subresponses All FTP related sub responses sent from the module to the host SHALL be 11 characters long in the format lt cr gt lt lf gt nnn AAA lt cr gt lt lf gt The characters nnn shall be decimal digits 0 to 9 then there is a space character and finally a 3 character word followed by lt cr gt lt lf gt The lt cr gt lt lf gt envelope plus the fixed length will hopefully make the parsing task in the host much simpler Values for nnn are as specifi
89. shed with the peer device and it then sendsO the buffer across This means that if the peer device is not in the vicinity and will never be there the device effectively becomes useless as in this circumstance a host would want to get attention of the AT parser to send it new commands probably one to delete the peer device In this circumstance a recovery is possible by one of two methods The first method assumes that the DTR from the host is connected to the DSR line of the module and the second method assumes that this connection is absent In the first method it is enough to deassert the DTR line from the host and that will abort the autoconnect cycle The second method is initiated by resetting the device and then ensuring that the text string AT BT amp BISM amp lt cr gt is sent where cr is the carriage return character There is special code which looks out for this magic command and terminates the autoconnect cycle if it sees it and confirms to the host of that fact by sending an OK response Response lt cr lf gt OK lt cr If gt 37 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 lt cr lf gt OK lt cr If gt 38 AT BTR Read Outgoing Peer Address This command is used to display the peer address stored in non volatile memory used to put the Laird Technologies device in pure cable replacement mode Response lt cr lf gt
90. so provided to perform ancillary functions such as pairing trusted device database management and S Register maintenance Just like telephony modems the Laird Technologies device powers up in an unconnected state and will only respond via the serial interface In this state the Laird Technologies device will not even respond to Bluetooth Inquiries Then just like controlling a modem the host can issue AT commands which map to various Bluetooth activities The command set is extensive enough to allow a host to make connections which are authenticated and or encrypted or not authenticated and or encrypted or any combination of these Commands can be saved so that on a subsequent power up the device is discoverable or automatically connects The device has a serial interface which can be configured for baud rates from 1200 up to 921600 and an RF communications end point The latter has a concept of connected and unconnected modes and the former will have a concept of command and data modes This leads to the matrix of states shown below 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 Assumptions The following assumptions are made 1 All commands are term
91. specifies either a 6 digit device class code or a 2 digit major device class If it is not specified then 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 value which can only be in the range 00 to 1F Response lt cr lf gt 12346789012 lt cr lf gt 12345678914 lt cr lf gt OK cr If gt If the module is waiting for an incoming connection entered via AT BTP AT BTG AT BTQ then it will respond with ERROR 14 To perform the inquiry send AT BTX to put the module back into idle mode Response lt cr lf gt ERROR 14 lt cr If gt ERROR RESPONSE A Bluetooth inquiry process is such that for a single inquiry request a device could respond many times To ensure that an address is sent to the host only once for a particular AT BTI an array of addresses is created at the start of each AT BTI and is 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 alway
92. state of DSR line is ignored When set to 1 a connection can be dropped using EITHER the escape sequence OR the DSR handshaking line When set to 2 a connection can only dropped using a deassertion of DSR Mode 2 provides for the highest data transfer rate If the status of the DSR line is to be conveyed to the remote device as a low bandwidth signal then this register MUST be set to 0 otherwise a deassertion of DSR will be seen as a request to drop the Bluetooth connection This register affects S Register 536 see details of 536 Page Scan Interval in milliseconds Minimum is 11 25ms so 10 11ms will give 11 25ms Page Scan Window in milliseconds Minimum is 11 25ms so 10 11ms will give 11 25ms Inquiry Scan Interval in milliseconds Minimum is 11 25ms so 10 11ms will give 11 25ms Inquiry Scan Window in milliseconds Minimum is 11 25ms so 10 11ms will give 11 25ms Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET ESE UE SE SS REFERENCE 512 1 Specify power up state When set to 0 AT BTO is required to open the device for Bluetooth activity When set to 1 it proceeds to a state as if AT BTO was entered When set to 2 it will be discoverable only similar to issuing AT BTQ When set to 3 it wi AT BTG When set to 4 it wi 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 asserted then it
93. t Y gt lt bd_addr gt lt ServiceName gt Make Connection Make a connection to device with Bluetooth address bd addr and profile specified via S Reg 101 AND which has a service name starting with the string ServiceName The ServiceName parameter is a string delimited by If U is not specified then authentication is as per register 500 otherwise the connection will be authenticated If Y is not specified then encryption is as per register 501 otherwise the connection will have encryption enabled The timeout is specified by S register 505 Response cr If CONNECT 12345678901 2 lt cr If gt Or lt cr If gt NO CARRIER lt cr lf gt ATD lt U gt lt Y gt L Remake Connection Make a connection with the same device and service as that specified in the most recent ATD command The lt UY gt modifiers are optional An error will be returned if the L modifier is specified AND a Bluetooth address If both L and R modifiers are specified then an error will be returned Response cr If CONNECT 123456789012 AE cr If Or lt cr If gt NO CARRIER cr If ATD lt U gt lt Y gt R Make Connection to peer specified in AT BTR Make a connection with the device address specified in the most recent AT BTR command The service is as specified in S Register 101 The UY modifiers are optional An error will be returned if the R modifier is specified AND a Bluetooth address If both R and L modifiers ar
94. t cr f gt 17 AT BTG Enable Promiscuous Page Scanning ONLY Enable page scanning only and wait for a connection from any device Inquiry scans are disabled Authentication and Encryption is as per S registers 502 and 503 Response lt cr lf gt OK lt cr f gt 18 AT BTGU Enable Promiscuous Page Scanning ONLY Enable page scanning only and wait for a connection from any device Inquiry scans are disabled Authentication is enabled and encryption is disabled Response lt cr lf gt OK lt cr f gt 19 AT BTGY Enable Promiscuous Page Scanning ONLY Enable page scanning only and wait for a connection from any device Inquiry scans disabled Authentication is disabled and encryption is enabled Response lt cr lf gt OK lt cr f gt 20 AT BTGUY Enable Promiscuous Page Scanning ONLY Enable page scanning only and wait for a connection from any device Inquiry scans are disabled Authentication and encryption are both enabled The order of U and Y is not significant Response lt cr lf gt OK lt cr f gt Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 29 www lairdtech com 21 AT BTI lt devclass gt Inquire This will make the device perform an inquiry for device class code for delay milliseconds and max number of unique responses where delay is specified by S register 517 and max is specified by S register 518 The lt devclass gt is an optional parameter where the value
95. the command the following response immediately follows Response lt cr lf gt OK lt cr f gt The lower layers then go through the process of setting up the SCO channel and as soon as a SCO link is established the following response is asynchronously sent to the host Response lt cr lf gt AUDIO ON lt cr f gt Or if the SCO failed to be established Response cr If AUDIO FAlL cr If On the peer device the host will asynchronously get Response cr If2 AUDIO ON cr If 2 ATSn m The following values of n are relevant to audio operation 589 590 A description of these values is given in Section 2 4 3 Unsolicited Responses The AT Protocol is a command response type of protocol This means that the Laird Technologies device will normally only respond to AT commands Under special circumstances unsolicited responses will be sent to the host They are described in the following subsections 3 1 AUDIO ON This response is sent to the host when a SCO channel has been established 3 2 AUDIO OFF This response is sent to the host when an existing SCO channel has been closed 3 3 AUDIO FAIL This response is sent to the host when a SCO channel setup fails 35 www lairdtech com Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET SPP PROFILE COMMANDS REFERENCE 36 www lairdtech com 1 4 ATX lt string gt Send Data in Local Command and Connected Mode This command is use
96. 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 cr If 12345678913 cr If 12345678914 lt cr lf gt OK lt cr lf gt 43 AT BTV lt U gt lt Y gt lt bd_addr gt lt uuid gt SDP Query for Service This command is used to interrogate the SDP database of the peer device lt bd_addr gt for the service lt uuid gt It results in an ACL connection and then a SDP transaction If the lt uuid gt service is present then Response lt cr If gt 0 32 www lairdtech com lt cr If the lt uuid gt se Response lt cr lt cr If the device lt b Response lt cr lt cr If the SDP datab Response lt cr lt cr If the device is n Response lt cr cr and in this case OK cr If rvice is not present then gt 1 OK cr If d addr cannot be reached or is in non connectable mode then 22 OK cr If ase is corrupt or invalid then 23 OK cr If ot in idle mode then gt 4 OK cr If the command AT BTX may put the device into the correct idle mode Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET 44 AT BTW bd addr Initiate Pairing REFERENCE This initiates pairing wit
97. the guard time is set to 100 milliseconds Please refer to Section 5 Dropping Connections for more related information In modems this escape sequence is usually is specified to avoid confusion when the module is providing access to a modem Response lt cr lf gt OK lt cr f gt n Enter 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 2 2 12 For this command to be effective S Register 536 must be set to 1 Response lt cr lf gt OK lt cr If gt ATA Answer Call Accept an incoming connection which is indicated by the unsolicited string lt cr f gt RING 123456789012 cr If every second 123456789012 is the Bluetooth address of the connecting device Response lt cr lf gt CONNECT 12345678901 2 lt cr If gt ATD lt U gt lt Y gt lt bd_addr gt lt uuid gt Make Outgoing Connection Make a connection to device with Bluetooth address lt bd_addr gt and profile lt uuid gt The lt uuid gt is an optional parameter which specifies the UUID of the profile server to attach to and if not supplied then the default UUID from S Register 101 is used As
98. the response word ERROR is replaced by BTERR and OK is replaced by ok When Bit 1 is 1 then error responses do not include the error number and instead the error number can be retrieved using ATI12 Disconnect timeout in seconds This timer 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 Power Consumption and Reset in the user guide for more details Sniff timeout Time in units of milliseconds 0 means disable See section Power Consumption and Reset in the user guide for more details Sniff Minimum Interval in units of milliseconds 0 means disable See section Power Consumption and Reset in the user guide for more details Sniff Maximum Interval in units of milliseconds See section Power Consumption and Reset in the user guide for more details If set to 1 RI Ring Indicate line is configured as an input and forces the start up mode SReg512 and post timeout on Start up mode SReg555 to be dependent on the state of RI The RI condi tional modes are defined by SRegs 566 to 569 incl
99. then issue the command AT BTX and then set the new value and for the latter issue the command AT BTX prior to setting the register Enable disable GPIO PWM feature on specified GPIO pin Set to O to disable the feature on all GPIO pins PWM pulse width and repetition are controlled by S registers 586 and 587 Pulse period in milliseconds rounded down to nearest multiple of 50 Duty cycle in percent rounded to the nearest multiple of 4 After a disconnection there will be a cold reset Codec output gain Codec input gain Default GPIO output states when not in a connection This is used when virtual digital i o cable replacement mode is in operation Set this to 1 to reduce the trusted device database to just 1 record when autosaving of pairing is enabled via S reg 538 Automatically append last 6 digits of local bluetooth address to the friendlyname which was set via AT BTN or AT BTF Set handsfree profile version in sdp record Set to O for 1 1 and to 1 for 1 5 Allows SDP record to be manipulated when host implements handsfree profile Set handsfree gateway profile version in sdp record Set to O for 1 1 and to 1 for 1 5 Allows SDP record to be manipulated when host implements handsfree profile Audio Gateway features to be advertised in SDP record See handsfree profile specification for exact bit mapping Allows SDP record to be manipulated when host implements handsfree profile Audio gateway Mode set to O for SDP record
100. tooth AT Data Module MECHANICAL BTM430 431 DRAWINGS 72 BTM430 431 Bluetooth AT Data Module ORDERING ORDERING INFORMATION INFORMATION paR NuMBER BESCHIFTION BTM430 Bluetooth AT Data Module external antenna BTM431 Bluetooth AT Data Module with integrated antenna DVK BTM430 Development board with BTM430 module soldered in place DVK BTM431 Development board with BTM431 module soldered in place GENERAL COMMENTS This is a preliminary datasheet Please check with Laird Technologies for the latest information before commencing a design If in doubt ask Refer to the schematic BTDMD R 001 pdf for the Development Kit on the following two pages for examples of typical pin connections A pdf of the schematic can be downloaded from the product web page global solutions local support USA 1 800 492 2320 Europe 44 1628 858 940 Asia 852 2268 6567 wirelessinfo lairdtech com www lairdtech com wireless 73 Laird TECHNOLOGIES Innovative Technology for a Connected World Laird Technologies is the world leader in the design and manufacture of customized performance critical products for wireless and other advanced electronics applications Laird Technologies partners with its customers to find solutions for applications in various industries such as Network Equipment Telecommunications Data Communications Automotive Electronics Computers Aerospace Military
101. u ol Ge OND Lar e esu eng oido m dal ot E E 4 bm Odo Ison as SI sy SE OO oe Dm ann I DN 489 Oldo 2 ai fe K oq sowa 3ALDV WINS Odd _ wegl so eee Al 19 3AL19V ar oe veuve y 3 u od nods goud 8 0 Odo Sue ra L qoqz Odo St o Zx Ia oi af vor dm x dm dm 0 yo 3 yo I aN am dann Qi dam Qo dm Q2 cuu zon or osu L L L L L b E an sel od OSM IAS El E od na las 9 Ee ids i Ae 3 3 u 32 vo d SE E E S C569 zeo E ED KO 9538 KO a A ge s RS fe n e 28 S na en BR ee Ek I ewen encon Edo Y E woot ou m eto DEEN ds usas ouer yino w gt gt aisen T a PR 790 H Y nas LZ ue KU apen 29 DESS 99 5 xe enon u 13534 E ON zzogomazs33908 DE o S19 Steet SLY Sr H WEE mai k 3 Di S Sae Odo Y aigu odo Eliae oan ES E EE SA S53 2 8 uo er az Ke 3 noes B F E D I 88 e PP suzss m EN g s ora Sc 3N la ve gen X sooo 8i E LLL re y SN 3 DE yino w gt gt sisrasn MA H 9 a Ba Se 30 gt naa EAEN 29 288 S12 lava 29 sio sn e 3 ei ap ON 933 22 QNO al aor SN 338 gis ON Ha zn WO on sean ose goa ips Lon o ON ore 9 2 82 53 colli 233 giae ao E zzz29 90955225 5665628269 Sams EAE 50 EAE SOA SZLZSLON ENTO EEN LELBERERS m qo E mm oo o Xu am d yino M gt gt x7asn B sn Naumd8sn Ss EE MCI 30 gt o E AEX MN S E 29A T un b To 4 ao ESIIARAS la 8 ED in OL uo 3 ivH wool A SOA ova n S elebn i eni 535152 3 Pags 23 sio DH i E 86 33 BB 33 SA Don SAC Don DECH E v m ene O
102. usive If S565 1 and RI is asserted then this is the mode the device will start up in If S565 1 and RI is deasserted then this is the mode the device will start up in If S565 1 and RI is asserted then this is the mode the device will assume after the post start up timeout defined in SReg 554 instead of mode defined in SReg555 If S565 1 and RI is deasserted 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 FTP Related O BodyLen in PUT obex packet 0 1 BodyLen in PUT obex packet 1 This specifies the initial state of the following modem control lines sent to the peer Bit O RTC DTR DSR Bit 1 RTR RTS CTS Bit 2 IC Ring Indicate RI Bit 3 2 DV DCD Bit 4 FC Reserved Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET EE UE SE Si REFERENCE geng 585 5586 5587 5588 5589 590 591 592 593 S594 595 5596 S597 S600 S601 5610 S611 5620 5621 5622 5623 5624 5625 20 www lairdtech com 1000 Oj jo o o n a n a n a n a n a n a 0 8 100 5000 100 ololofofo ae 0 65535 0 7FFF o e e e zx ml Enable Disable eSCO When changing the unit returns ERROR 14 it implies the device is either in a connection or waiting for a connection and so the new value cannot be accepted For the former drop the connection
103. variant the obex response packet which is in ascii XML format is sent to the host verbatim WARNING Be aware the that the Widcomm stack seems to append 2 null characters at the end of the XML document This means extra care if the host stores data as null terminated strings because the final 200 FTP prompt will seem to be corrupted when it is not MD lt foldername gt Create a folder This ftp subcommand is used to create make a subfolder The length of lt foldername gt shall not exceed 24 characters MD nnn Create a folder This ftp subcommand is used to create make a subfolder which is specified in unicode CD lt foldername gt Change folder This ftp subcommand is used to navigate to the subfolder specified The length of lt foldername gt shall not exceed 24 characters CD nnn Change folder This ftp subcommand is used to navigate to the subfolder specified in unicode CD Change folder to root This ftp subcommand is used to navigate to the root folder CD Change folder to parent This ftp subcommand is used to navigate to the parent folder RD foldername Delete a folder This ftp subcommand is used to delete the folder specified Some FTP servers do not allow non empty folders to be deleted In that case an appropriate error response shall be returned to the host The length of foldername shall not exceed 24 characters RD nnn Delete a folder This ftp subcommand is u
104. vice Response lt cr lf gt 12346789012 cr If OK cr If2 If the cache is empty the response is as follows Response lt cr lf gt OK lt cr If gt 46 AT BTX Disable Page Inquiry Scanning Disable page inquiry scanning This means it will not accept incoming connections or inquiry requests In fact this negates the effect of AT BTQ AT BTG and AT BTP commands Response lt cr lf gt OK lt cr If gt 47 Incoming Connections The Laird Technologies 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 configured via S Register 512 to be in this mode by default on power up When the lower layers detect an incoming call a RING 123456789012 string is sent to the host every second The command ATA is used to accept the connection and ATH to reject it On connection if the SO Register is gt 0 then confirmation to the host is in the form CONNECT 123456789012 CONNECT 123456789012 A CONNECT 123456789012 E CONNECT 123456789012 AE Where A means authenticated connection and E means encryption has been enabled 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
105. you make an authenticated connection the link key gets cached in the underlying stack So if you subsequently delete the key using AT BTD and immediately request an authenticated connection to the same device then the connection will be established To ensure this does not happen either send ATZ after the AT BTD OR send AT BTD lt bd_addr gt for each item in the trusted device database Response lt cr lf gt OK lt cr f gt Laird Technologies BTM430 431 Bluetooth AT Data Module AT COMMAND SET REFERENCE 28 www lairdtech com 14 AT BTF lt string gt Set Friendly Name This sets the friendly name of this device as seen by other devices Response lt cr lf gt OK lt cr f gt 15 AT BTF lt bd_addr gt Get Remote Friendly Name This command gets the remote friendly name of the peer specified Response lt cr lf gt lt bd_addr gt Friendly Name cr If OK cr If2 16 AT BTG lt bd_addr gt Enable Cautious Page Scanning ONLY Enable page scanning and wait for a connection from device with Bluetooth address lt bd_addr gt If the specified address is 000000000000 then incoming connections are accepted from any device is as per AT BTP without an address Inquiry Scans are disabled This command also has variants which allow authentication and encryption to be explicitly specified For example AT BTGU123456789012 AT BTGY 123456789012 AT BTGUY 123456789012 AT BTGYU123456789012 Response lt cr lf gt OK l

Download Pdf Manuals

image

Related Search

Related Contents

32DF9T15 - Ricon Corporation  誰かと話してみませんか、伝の心で。  Ewent EW3558 mobile headset  Installer  1029 Lidco Rapid user manual  Samsung YP-D1Z Kullanıcı Klavuzu  Seabreeze 7500-1 Use and Care Manual  Bedienungsanleitung PCE-MA 110  Installation and user manuals  descargar la hoja de especificaciones técnicas - Sea-Doo  

Copyright © All rights reserved.
Failed to retrieve file