Page 1
LM Technologies Ltd. AT Command Manual Applicable for Firmware version 4.52, 4.53, 4.60, 4.61, 6.12, 6.13 Revision Date Name Description v1.0 21-07-2009 Kanwal Initial Draft version v1.1 24-09-2009 Kanwal New AT command added v1.2 15-06-2010 Kanwal Applicable to firmware v4.53, v4.61...
1 Introduction This document describes the configuration commands to control the operation of following LM Bluetooth devices: 1) LM048 adapter 2) LM058 adapter 3) LM048 SPA adapter 4) LM400 module 5) LM780 module 6) LM071 module 7) LM072 module 2 AT command Set 2.1 History...
AT Command Manual v1.2 <parameters> - The parameters are required for most of the commands. The parameter may be character, integer and character sequence (BD address, Pin code, Name etc) depending on the command operation. <cr> - This character terminates the command packet and signals the device to proceed with command execution.
AT Command Manual v1.2 Command Type Parameter Command Device Information Test Firmware Version AT+VER Settings AT+ENQ Reset Restore Factory AT+RESET Settings Serial Port Baud Rate AT+BAUD Stop Bits AT+STOP Parity bits AT+PAR Flow Control AT+FLOW Character Echo AT+ECHO Command Response AT+RESP Bluetooth Type...
AT Command Manual v1.2 2.8.2.1 Syntax AT+VER<cr> 2.8.2.2 Response <cr,lf>FW VERSION: vX.YZ<command_response> Where X: Major release of device firmware YZ: Minor release/updates of device firmware e.g. FW VERSION: v4.50 2.8.3 AT+ENQ List all the device information and all the settings along with their brief description. The settings include serial port, Bluetooth related and other misc settings.
AT Command Manual v1.2 115200 230400 460800 921600 2.8.5.1.1 Response <command_response> 2.8.5.2 AT+BAUD?<cr> 2.8.5.2.1 Response <cr,lf>BAUDb<command_response> if the command is successful. Here, b- current baud rate setting. E.g on default setup, the response will be <cr,lf>BAUD14<command_response> 2.8.6 AT+STOP The command is used to specify one or two stop bits for serial port communication. The current setting can also be retrieved by using the sending this command in query format.
E.g on default setup, the response will be <cr,lf>FLOW+<command_response> Note: In LM048 SPA adapter with firmware series 4.6x, AT+FLOW refers to DTR/DSR flow control and no RTS/CTS handling is supported. For all other products, AT+FLOW refers to RTS/CTS flow control.
AT Command Manual v1.2 2.8.9.2 AT+ECHO?<cr> 2.8.9.2.1 Response <cr,lf>ECHOc<command_response> if the command is successful. Here, c- current echo back setting. E.g on default setup, the response will be <cr,lf>ECHO+<command_response> 2.8.10 AT+RESP The command is used to enable/disable the command response from the Bluetooth device. Different types of command response may be received by Host device and are listed in Command Response .
AT Command Manual v1.2 2.8.12.1 AT+ADDR?<cr> 2.8.12.1.1 Response <cr,lf><XXXX-XX-XXXX>< command_response> if the command is successful. Here, XXXX-XX-XXXX is the Bluetooth address of local device. 2.8.13 AT+FIND This command is used to search for any Bluetooth device in the neighborhood within one minute. If any device is found, its name and address will be listed.
AT Command Manual v1.2 2.8.15.2 AT+NAME?<cr> 2.8.15.2.1 Response <cr,lf><NAME><command_response> if the command is successful. Here, <NAME> is the device name . E.g on default setup, the response will be <cr,lf>Serial Adapter<command_response> 2.8.16 AT+PIN This command is used to specify a PIN code for a secured bluetooth connection. The default PIN is "1234".
AT Command Manual v1.2 2.8.17.2 AT+DCOV?<cr> 2.8.17.2.1 Response <cr,lf>DCOVc<command_response> if the command is successful. Here, c- current discoverability status setting. E.g on default setup, the response will be <cr,lf>DCOV+<command_response> 2.8.18 AT+CONN This command is used to establish a connection. It is available only when the local Bluetooth device is in the manual master role.
AT Command Manual v1.2 2.8.20.1 AT+BOND=XXXXXXXXXXXX<cr> 2.8.20.1.1 Response <command_response> 2.8.20.2 AT+BOND-<cr> Restore the status in which the local Bluetooth device can connect with any remote device. There is no device bonded with local device. 2.8.20.2.1 Response <command_response> 2.8.20.3 AT+BOND?<cr> 2.8.20.3.1 Response <cr,lf><XXXX-XX-XXXX><command_response>...
AT Command Manual v1.2 Status ‘+’ Enable ‘-‘ Disable Note: When the device is in data mode (connected state), it can be forced into online Command mode during active connection to the remote device. The "+++" escape sequence must be sent with guard time of 1000msec. The next AT command must be sent after waiting for the response "<cr,lf>OK<cr,lf>"...
AT Command Manual v1.2 2.8.25 AT+SLEEP This command is used to enable/disable auto-power saving feature of RS232 driver as well as low power modes of Bluetooth device. The current setting can also be retrieved by sending this command in query format. 2.8.25.1 AT+SLEEPc<cr>...