Laird BTM430 User Manual

Data module
Hide thumbs Also See for BTM430:

Advertisement

Quick Links

BTM430/431
DATA MODULE
USER MANUAL
Innovative Technology
for a Connected World
This datasheet has been downloaded from
http://www.digchip.com
at this
page

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BTM430 and is the answer not in the manual?

Questions and answers

Summary of Contents for Laird BTM430

  • Page 1 BTM430/431 DATA MODULE USER MANUAL Innovative Technology for a Connected World This datasheet has been downloaded from http://www.digchip.com at this page...
  • Page 2 BTM430/431 Bluetooth AT Data Module ® REVISION REVISION HISTORY HISTORY Revision Description www.lairdtech.com Laird Technologies...
  • Page 3: Table Of Contents

    BTM430/431 Bluetooth Module ..4 ® BTM430 FCC and Industry Overview ..........4 Canada Statements ......63 BTM430/431 Key Features ....4 BTM431 FCC and Industry Canada Statements ......63 Specifications ........5 Detailed Specifications ......5 Declarations of Compliance ..64 Pin Definitions ........7 BTM430 EU Declaration of Conformity ........
  • Page 4: Module

    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.
  • Page 5: Specifications

    Frequency 2.402 – 2.480 GHz 79 channels Frequency Hopping Channels Adaptive Frequency Hopping +4 dBm at antenna pad – BTM430 Max Transmit Power +4 dBmi from integrated antenna – BTM431 -27 dBm at antenna pad – BTM430 Min Transmit Power -27 dBmi from integrated antenna –...
  • Page 6 Meets CE and R&TTE requirements Miscellaneous Lead free Lead-free and RoHS compliant Warranty 12 Months Development board and software tools Development Tools Development Kit DVK-BTM430 Dev Kit with BTM430 module fitted DVK-BTM431 Dev Kit with BTM431 module fitted www.lairdtech.com Laird Technologies...
  • Page 7 I/O for host Unused Unused See note 3 Unused See note 3 Unused See note 3 See note 3 ANT (BTM430) Antenna connection (50 ohm matched) See note 3 See note 3 Unused See note 3 Unused See note 3 Unused...
  • Page 8: Operating Parameters

    BTM430/431 Bluetooth AT Data Module ® OPERATINg OPERATINg PARAMETERS PARAMETERS Recommended Operating Conditions OPERATING CONDITION VDD_USB (USB compatibility not required) VDD_USB (USB compatibility required) VDD_IO VDD_IN VOLTAgE SPECIFICATIONS Logic Levels (VUSB) INPUT VOLTAGE LEVELS 0.7VDD_USB 2.7<VDD_USB<3.0 -0.4 +0.8 1.7<VDD_USB<1.9 -0.4 +0.4...
  • Page 9: At Command Set Reference

    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 also provided to perform ancillary functions, such as, pairing, trusted device database management and S Register maintenance.
  • Page 10: Module Configuration Commands

    I2 The Laird Technologies firmware build number. For internal use only. I3 The Laird Technologies firmware revision. I4 A 12 digit hexadecimal number corresponding to the Bluetooth address of the Laird Technologies device. I5 The manufacturer of this device. I6 The maximum size of trusted device database.
  • Page 11 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET I12 The last ERROR response number. REFERENCE I13 The Sniff status is returned as follows:- Response: <cr,lf>a:b,c,d,e<cr,lf>OK<cr,lf> Where ‘a’ = 0 when not online and 1 when online and Sniff has been enabled, ‘b’ is the Sniff Attempt parameter, ‘c’...
  • Page 12 {Set S Register} REFERENCE 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 ‘$’...
  • Page 13 Setting to 1 will force S0 to -1 and will suppress messages arising from connections or pairing. E.g. CONNECT, NO CARRIER, RING, PAIR etc. Suppressing connection based messaged allows the Laird Technologies device to be configured in cable replacement mode. S505 2..120...
  • Page 14 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET Register Default Range Comment REFERENCE S512 0..7 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.
  • Page 15 In the event that a non-standard baud rate is requested, it is entirely possible that the host is not capable of generating such a baud rate. In this case the 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”...
  • Page 16 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET Register Default Range Comment REFERENCE S531 0..5 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.
  • Page 17 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET Register Default Range Comment REFERENCE S543 0..1 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.
  • Page 18 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET Register Default Range Comment REFERENCE S553 0x0201 0x0FFF This register specifies in each 4 bit nibble, how the DTR,DCD,RI output pins are 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.
  • Page 19 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET Register Default Range Comment REFERENCE S559 0..3 This specifies a mask. When Bit 0 is 1, the response word “ERROR“ is replaced by “BTERR” and “OK” is replaced by “ok”. When Bit 1 is 1, then error responses do not include the error number and instead the error number can be retrieved using ATI12.
  • Page 20 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET Register Default Range Comment REFERENCE S584 0..1 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.
  • Page 21 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET Register Default Range Comment REFERENCE S626 0..1 Read/Write to GPIO6 S627 0..1 Read/Write to GPIO7 S628 0..1 Read/Write to GPIO8 S631 0..65535 When GPIO1 is configured as an input, low to high transitions are counted.
  • Page 22 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&W command is sent to the Laird Technologies device. Response: <cr,lf>OK<cr,lf> Response: <cr,lf>ERROR nn<cr,lf> 22 www.lairdtech.com...
  • Page 23 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 Laird Technologies device is more versatile than that available in a standard 16550 UART commonly available in PCs.
  • Page 24 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.
  • Page 25: Connection Management Commands

    UUID of the profile server to attach to, and if not supplied then the default UUID from S Register 101 is used. As 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.
  • Page 26 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET RFCOMM based UUIDs are defined in the Bluetooth Specification and some are reproduced below:- REFERENCE Profile Name UUID Serial Port 1101 LAN Access Using PPP 1102 Dialup Networking 1103 IrMC Sync...
  • Page 27 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”...
  • Page 28 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 14. AT+BTF=<string> {Set Friendly Name} REFERENCE This sets the friendly name of this device as seen by other devices Response: <cr,lf>OK<cr,lf> 15. AT+BTF<bd_addr> {Get Remote Friendly Name} This command gets the remote friendly name of the peer specified.
  • Page 29 <cr,lf>12345678914,123456, “Laird123456” <cr,lf>OK<cr,lf> 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=<string> {Set Passkey} This command is used to provide a passkey when PIN? 12345678 indications are received asynchronously.
  • Page 30 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 25. AT+BTM<bd_addr> {Set Incoming Peer Address} REFERENCE 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.
  • Page 31 This command is used to delete the peer address previously stored using AT+BTR<bd_addr>. Response: <cr,lf>OK<cr,lf> 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: <cr,lf>12346789012 <cr,lf>OK<cr,lf>...
  • Page 32 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 39. AT+BTS=<string> {Set Service Name} REFERENCE 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.
  • Page 33 Response: <cr,lf>OK<cr,lf> 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.
  • Page 34 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...
  • Page 35: 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.
  • Page 36: Spp Profile Commands

    BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET SPP PROFILE COMMANDS REFERENCE 1. ATX<string> {Send Data in Local Command and Connected Mode} This command is used to send data to the remote device when in local command and connected mode.
  • Page 37: Ftp Client Profile Commands

    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.
  • Page 38 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.
  • Page 39 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 3.6 DIR -RAW (Get folder listing, XML document) REFERENCE This ftp subcommand is used to retrieve the folder listing. In this variant the obex response packet, which is in ascii XML format, is sent to the host verbatim.
  • Page 40 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 4. FTP related subresponses REFERENCE All FTP related sub responses sent from the module to the host SHALL be 11 characters long in the format: <cr><lf>nnn AAA<cr><lf>. The characters nnn shall be decimal digits ‘0’ to ‘9’, then there is a space character and finally a 3 character word followed by <cr><lf>.
  • Page 41 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. Response Code (Laird Technologies Specific) ‘nnn’...
  • Page 42 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET > REFERENCE 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.
  • Page 43 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.3 Usage: Folder Listing REFERENCE Notes: If a number follows a name then that implies a file. 6.4 Usage: Folder Listing (Raw Output) Notes: The raw output is ascii text and is in XML format. 6.5 Usage: Create Folder (Short Folder name) 43 www.lairdtech.com...
  • Page 44 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.6 Usage: Create Folder (Long Folder name - UNICODE) REFERENCE Notes: ‘nn’ is the size of folder name in bytes. The folder name is supplied in unicode. 6.7 Usage: Create Folder (Unsuccessful) 6.8 Usage: Change Folder (Short Folder name) 44 www.lairdtech.com Laird Technologies...
  • Page 45 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.9 Usage: Change Folder (Long Folder name - UNICODE) REFERENCE 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) 45 www.lairdtech.com Laird Technologies...
  • Page 46 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.11 Usage: Remove Folder (Long Folder name - UNICODE) REFERENCE Notes: ‘nn’ is the size of folder name in bytes. The folder name is supplied in unicode. 6.12 Usage: Delete File (Short Filename) 46 www.lairdtech.com Laird Technologies...
  • Page 47 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.13 Usage: Delete File (Long Filename - UNICODE) REFERENCE 6.14 Usage: Put File (Short Filename) 47 www.lairdtech.com Laird Technologies...
  • Page 48 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 command MAX 6.15 Usage: Put File (Long Filename - UNICODE) 48 www.lairdtech.com...
  • Page 49 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.16 Usage: Get File (Short Filename) REFERENCE 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”...
  • Page 50 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.18 Usage: Get File (Long Filename - UNICODE) REFERENCE 50 www.lairdtech.com Laird Technologies...
  • Page 51 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.19 Usage: Get File - ABORT REFERENCE 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...
  • Page 52 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.21 Usage: ABORT a DIR request REFERENCE 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.
  • Page 53: Obex Profile Commands

    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.
  • Page 54 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.
  • Page 55 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 4. OBEX Push Related Subresponses REFERENCE All Obex Push related sub responses sent from the module to the host SHALL be 11 characters long in the format: <cr><lf>nnn AAA<cr><lf>. The characters nnn shall be decimal digits ‘0’ to ‘9’, then there is a space character and finally a 3 character word followed by <cr><lf>.
  • Page 56 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. Response Code (Laird Technologies Specific) ‘nnn’...
  • Page 57 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 as responses and prompts from the module to the host. Command/responses shown in BLACK are associated with non-obex related states.
  • Page 58 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.3 Usage: Put File (Short Filename) REFERENCE 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 58 www.lairdtech.com...
  • Page 59 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.4 Usage: Put File (Long Filename - UNICODE) REFERENCE 59 www.lairdtech.com Laird Technologies...
  • Page 60 BTM430/431 Bluetooth AT Data Module ® AT COMMAND SET 6.5 Usage: Unsuccessful OBEX Push connection REFERENCE 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...
  • Page 61: Unsolicited Responses

    UNSOLICITED RESPONSES REFERENCE 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.
  • Page 62: Error Responses

    AT Data Module ® AT COMMAND SET ERROR RESPONSES REFERENCE All error responses from the Laird Technologies device will be in the form <cr,lf>ERROR nn<cr,lf>, where nn will be a number in the range 00 to 99. Error Description Register not recognized...
  • Page 63: Fcc Regulatory Statements

    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.
  • Page 64: Declarations Of Compliance

    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,...
  • Page 65: Of Conformity

    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,...
  • Page 66: Mechanical Drawings

    BTM430/431 Bluetooth AT Data Module ® MECHANICAL DRAWINgS BTM430 Mechanical Details...
  • Page 67 BTM430/431 Bluetooth AT Data Module ® MECHANICAL DRAWINgS BTM430 Mechanical Details...
  • Page 68: Btm431 Mechanical Details

    BTM430/431 Bluetooth AT Data Module ® MECHANICAL DRAWINgS BTM431 Mechanical Details...
  • Page 69 BTM430/431 Bluetooth AT Data Module ® MECHANICAL DRAWINgS BTM431 Mechanical Details...
  • Page 70 BTM430/431 Bluetooth AT Data Module ® MECHANICAL DRAWINgS BTM431 Mechanical Details...
  • Page 71: Development Kit Schematic

    BTM430/431 Bluetooth AT Data Module ® MECHANICAL DRAWINgS Development Kit Schematic...
  • Page 72 BTM430/431 Bluetooth AT Data Module ® MECHANICAL DRAWINgS Development Kit Schematic...
  • Page 73: Ordering Information

    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.
  • Page 74 Laird Technologies will not be liable for, any damage or failure caused by misuse, abuse, acts of God, accidents, electrical irregularity, or other causes beyond Laird Technologies’ control, or claim by other than the original purchaser. In no event shall Laird Technologies be responsible or liable for any damages arising: From the use of product; From the loss of use, revenue or profit of the product; or As a result of any event, circumstance, action, or abuse beyond the control of Laird Technologies, whether such damages be direct, indirect, consequential, special or otherwise and whether such damages are incurred by the person to whom this warranty extends or third party.

This manual is also suitable for:

Btm431

Table of Contents