background image

 

AT Command Manual 

v1.5 

©2013 LM Technologies Ltd  

www.lm-technologies.com 

Page 26 of 26 

 

 

2.11

 

Default Factory Settings 

 

Parameter  Default Value 

(v4.xx 

firmware) 

Default Value 

(v6.5x 

firmware) 

Default 

Value (v6.1x 

firmware) 

Description 

BAUD 

14 

14 

14 

19200 bps 

STOP 

1 stop bit 

PAR 

None 

FLOW 

+: Hardware,                          

- : Disabled 

ECHO 

Enabled 

RESP 

Enabled 

MODEM 

Not supported 

Disabled 

ROLE 

Slave device 

NAME 

Serial Adapter 

SerialAdapterXX 

SerialAdapter  Device name. XX is 

last 2 digits of 

Bluetooth Address 

PIN 

1234 

1234 

1234 

Enabled 

DCOV 

Discoverable 

BOND 

0000-00-

000000 

0000-00-000000 

0000-00-

000000 

No Bonding 

ACON 

Auto-Connect 

ESC 

Enabled 

RCFG 

Enabled 

SLEEP 

Disabled 

DPIN

1

 

 

 

Disabled 

IOTYPE

1

 

 

 

No Display 

no keyboard 

MITM

1

 

 

 

Disabled 

RICD

2

 

 

Enabled/Disabled 

 

 

1

 

Parameters only used in firmware v6.17 running on LM780/LM400/LM072 modules 

2

 

Parameters only used in firmware v6.18 and v4.56 running on LM780/LM400/LM072 

modules 

Summary of Contents for LM048

Page 1: ...n 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 v1 3 22 03 2011 Sumeet Updates for firmware v6 51 v1 4 10 06 2011 Kanwal Commands added for v6 17 firmware new sections added v1 5 13 03 2013 Sumeet Add AT RICD description ...

Page 2: ...ommand format 4 2 4 Command Response 5 2 5 Host Events 5 2 6 Operation Mode 5 2 7 Command Types 5 2 8 Command Description 6 2 8 1 AT 6 2 8 2 AT VER 6 2 8 3 AT ENQ 7 2 8 4 AT RESET 7 2 8 5 AT BAUD 7 2 8 6 AT STOP 8 2 8 7 AT PAR 8 2 8 8 AT FLOW 9 2 8 9 AT ECHO 9 2 8 10 AT RESP 10 2 8 11 AT MODEM 10 2 8 12 AT RICD 12 2 8 13 AT ROLE 12 2 8 14 AT ADDR 13 2 8 15 AT FIND 13 ...

Page 3: ...8 24 AT ESC 17 2 8 25 AT AUTO 17 2 8 26 AT RCFG 18 2 8 27 AT SLEEP 18 2 8 28 AT DPIN 18 2 8 29 AT IOTYPE 19 2 8 30 AT MITM 20 2 8 31 AT PASSCFM 20 2 8 32 AT PASSKEY 21 2 9 Host Events Description 21 2 9 1 Connection Events 21 2 9 2 Dynamic Pin Code Event 21 2 9 3 Bluetooth 2 1 Security events 22 2 10 Bluetooth Security Changes 23 2 10 1 Bluetooth 2 1 Security Methods 23 2 10 2 Security Options 23 ...

Page 4: ...able to control the serial port setup and other user friendly features The Bluetooth device powers up in unconnected state and can be configured using UART interface similar to telephony modems The device will act as Bluetooth slave by default and can be inquired connect from other Bluetooth master device in neighborhood The AT commands can be used to change the default behavior and settings for t...

Page 5: ...r lf If the command has been sent to Bluetooth device in correct format and is applicable in current device operating mode cr lf ERROR cr lf If the command has been sent in wrong format command is invalid command is not applicable in current device operating mode cr lf If the command response has been disabled 2 5 Host Events Host device connected to Bluetooth device will receive an event sequence...

Page 6: ... protection 1 AT MITM Passkey Confirmation 1 AT PASSCFM Passkeys Input 1 AT PASSKEY Misc Escape Sequence Escape Sequence handling AT ESC Mode switch AT AUTO Remote Configuration AT RCFG Low power Mode AT SLEEP 1 Commands only available in v6 17 firmware onwards version running on LM780 LM400 LM072 module hardware 2 Command available in v4 56 and v6 18 firmware onwards on LM780 LM400 LM072 2 8 Comm...

Page 7: ...M MASTER ROLE cr lf All other settings and other device information is listed in similar manner 2 8 4 AT RESET This command is used to restore the default factory settings and perform device reboot The default factory settings are listed in section Default Factory Settings 2 8 4 1 Syntax AT RESET cr 2 8 4 2 Response command_response 2 8 5 AT BAUD The command allows setting the baud rate for the se...

Page 8: ...port communication The current setting can also be retrieved sending this command in query format 2 8 6 1 AT STOPn cr where n can be 1 or 2 depending on no of stop bits used n Stop bits no 1 1 2 2 2 8 6 2 Response command_response 2 8 6 3 AT STOP cr 2 8 6 3 1 Response cr lf STOPn command_response if the command is successful Here n no of stop bits E g on default setup the response will be cr lf ST...

Page 9: ... FLOWc command_response if the command is successful Here c current flow control setting E g on default setup the response will be cr lf FLOW command_response Note 1 In LM048SPA adapter with firmware series v4 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 2 In LM048v2 and LM058v2 adapters running v6 5x f...

Page 10: ...ommand Response Enable Disable 2 8 10 1 1Response command_response 2 8 10 2 AT RESP cr 2 8 10 2 1Response cr lf RESPc command_response if the command is successful Here c current command response setting E g on default setup the response will be cr lf RESP command_response 2 8 11AT MODEM This command is available only for v6 5x firmware running on serial adapters LM048v2 and LM058v2 This command i...

Page 11: ... and NOT transferred to remote Bluetooth device wirelessly FLOW MODEML Tx Rx GND RTS CTS DTR DSR RTS looped back to CTS DTR looped back to DSR No RS232 control signal transferred to remote Bluetooth device wirelessly FLOW MODEML Tx Rx GND RTS CTS DTR DSR RTS CTS signals used for data flow control between host and local Bluetooth device and NOT transferred to remote Bluetooth device wirelessly DTR ...

Page 12: ... there is incoming connection and DCD low when Bluetooth connection is present The current value can be queried using this command in query format 2 8 12 1 AT RICDc r Where parameter c is character used to enable or disable the Ring Indicator Carrier Detect setting c RICD Setting Enable Disable 2 8 12 1 1Response command_response 2 8 12 2 AT RICD cr 2 8 12 2 1Response cr lf RICDc command_response ...

Page 13: ...evices searched is 8 The search ends with a message Inquiry ends xx device s found This command is available only when the adaptor is in the manual master role 2 8 15 1 AT FIND cr 2 8 15 1 1Response command_response cr lf Inquiry Results cr lf Sr No DeviceName XXXX XX XXXX cr lf for every device found Here XXXX XX XXXX is the Bluetooth address of local device e g 1 Serial Adapter 001E 3A 2CDAB7 2 ...

Page 14: ...072 modules the fixed pin code will only be used for connection with remote Bluetooth 2 0 complaint device Automatic pairing also known as Just Works takes place on connection with remote Bluetooth 2 1 complaint device Extra commands related to Bluetooth 2 1 security and use of dynamic pin codes have been added in v6 17 firmware running on LM780 LM400 LM072 modules Refer to section 2 8 27 2 8 28 2...

Page 15: ...OV It is used to specify whether the adaptor can be discovered or connected by remote devices The current setting can also be retrieved by sending this command in query format 2 8 19 1 AT DCOVc cr Where parameter c is a character used to enable disable the discoverability status C Status Discoverable Non discoverable Note 2 8 19 1 1Response This command will cause the device to reboot command_resp...

Page 16: ...command mode 2 8 21 1 1Response command_response host_event where host_event will be disconnection event 2 8 22AT BOND For security purpose this command is used to specify a unique remote Bluetooth device to be connected In the master role the local device pairs and connects with the designated remote slave address In the slave mode this command is a filter condition to accept the connection reque...

Page 17: ... 8 24AT ESC This command Disable Enable the handling of escape sequence Note The escape sequence must be sent with guard time of 1000 msec The current setting can also be retrieved by sending this command in query format 2 8 24 1 AT ESCc cr Where parameter c is a character used to enable disable the escape sequence handling C Status Enable Disable Note 2 8 24 1 1Response When the local device is i...

Page 18: ... successful Here c current setting E g on default setup the response will be cr lf RCFG command_response 2 8 27AT 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 27 1 AT SLEEPc cr Where parameter c is a character used to enable ...

Page 19: ... code instead of fixed pin code for secured connections with remote Bluetooth 2 0 device The remote device as well as local device must enable pin code security in order to connect successfully with local device The dynamic pin code will only be used if pin code security has been enabled Refer to section 2 8 17 4 AT PIN cr for details In firmware v6 17 running on LM780 LM400 LM072 modules dynamic ...

Page 20: ... no MITM protection The current setting can be retrieved by sending this command in query format 2 8 30 1 AT MITMc cr Where parameter c is a character used to enable disable the MITM security feature c MITM security Enabled Disabled 2 8 30 1 1Response command_response 2 8 30 2 AT MITM cr 2 8 30 2 1Response cr lf MITMc command_response if the command is successful Here c MITM security setting E g o...

Page 21: ...nse 2 9 Host Events Description 2 9 1 Connection Events Different connection related host_event are cr lf CONNECT XXXXXXXXXXXX cr lf The event sequence will be received on a successful connection attempt either by local device or from a remote bluetooth device cr lf CONNECT Attempt Fail cr lf When the attempted connection attempt from the local Bluetooth device fails for some reason The reason for...

Page 22: ...es or No or same passkey entered by remote person on remote BT2 1 device Keyboard only The host should send AT PASSCFM command for this confirmation 2 9 3 2 Passkey Dsp This event is sent by local Bluetooth device to connected host on authentication request from remote Bluetooth 2 1 device if MITM protection has been enabled on local Bluetooth device and local device type configuration is AT IOTYP...

Page 23: ...de is more secure than the fixed PIN mechanism which is typically used for legacy pairing Bluetooth 2 0 pin code pairing by this set of limited devices This method provides no man in the middle MITM protection 2 10 1 2 Numeric comparison This method is used in a scenario where both Bluetooth 2 1 devices have a display and at least one can accept a binary Yes No user input This method displays a 6 ...

Page 24: ...yboard only The host should send AT PASSCFM command for this confirmation If remote BT2 1 device is No Display no keypad or Display only pairing will be rejected and no message will be sent to host If MITM protection is disabled in local as well as remote BT2 1 device automatic pairing Just Works takes place irrespective of remote BT2 1 device type For example On pairing request from mobile phone ...

Page 25: ...and all paring requests will be rejected from any remote BT2 1 device if local host or remote device has enabled MITM protection If MITM protection is disabled in local as well as remote BT2 1 device automatic pairing Just Works takes place irrespective of remote BT2 1 device type For example On pairing request from mobile phone automatic pairing takes place if MITM protection is disabled The mobi...

Page 26: ...ted Disabled ROLE S Slave device NAME Serial Adapter SerialAdapterXX SerialAdapter Device name XX is last 2 digits of Bluetooth Address PIN 1234 1234 1234 Enabled DCOV Discoverable BOND 0000 00 000000 0000 00 000000 0000 00 000000 No Bonding ACON Auto Connect ESC Enabled RCFG Enabled SLEEP Disabled DPIN1 Disabled IOTYPE1 3 No Display no keyboard MITM1 Disabled RICD2 Enabled Disabled 1 Parameters o...

Page 27: ...nts Click to view similar products for LM Technologies manufacturer Other Similar products are found below LM400 LM832 0476 LM1010 0970 LM930 0635 LM931 0552 LM506 LM808 530 0653 530 0654 LM254 LM780 LM252 LM910 0630 LM072 3115 LM253 LM007 1051 LM817 0655 LM251 LM822 1459 ...

Reviews: