5.4.2 BLE advertiser-mode: ..............19 5.4.3 Pairing State ................. 19 AT command Parser on LM devices: ........... 20 Basic configuration AT commands ............. 21 Basic configuration AT commands for Quick reference: ......21 7.1.1 General settings AT commands: ............. 21 7.1.2...
Page 5
“AT*LEBOND”\r\n ................. 31 8.2.4 “AT*LECONFIG”\r\n ..............31 Firmware upgrade on LM devices ............33 Firmware upgrade over UART interface ..........33 10 Simple Secure Pairing between LM device and remote device ..35 11 Appendix .................... 36 11.1 Abbreviations ................36 11.2 BLE Peripheral characteristics ............
User Manual for “LM068_BLE_Peri_0204” FW Firmware version History Version: LM068_BLE_Peri_0201 1. LM068 adapter behaves as GAP peripheral only. 2. No support for SPP profile. 3. Firmware Upgrade provided over UART interface. 4. BT5.0 compliant stack. Version: LM961_LE_Peri_0204 1. Released for LM961 2.
LM068 is an adapter provides standard DB9 connector for serial interface, USB mini plugin for Powering or pin9 of DB9 connector can be used for Powering. LM068 adapter provides DTE/DCE selection Switch to switch the DTE and DCE role. LM068 adapter provides LEDs for different state indications.
2. The LM device shows the power on LED sequence after AT*Reset=1 and AT*Reset=2 commands. 5.2 LED0 1. LED0 (RED LED on LM068) is constantly ON to indicate that the LM device is powered and is ready to process AT commands and is in working condition.
LM device takes requested action or it will output report to the user on UART. If LM device does not receive “AT” as a start of new command, the LM device may not respond to this command even if it is terminated with “\r\n” (e.g.
Address query report: “REP*:ADDR=00025b00a5a5” v. Normally the AT parser of LM devices, responds OK/ERR to the AT command and then issues the report, but only for Address query command, AT parser first gives the report i.e. BD address and then replies OK.
REP*:NAME=068LM_SPP_0104 xi. Below is the sequence of messages when ECHO and RESP are both off. The LM device will show only reports for the query commands. The LM device will not show any indication messages for connect or disconnect. This is to ensure backwards compatibility with LM048/LM058/LM072 adapter/module firmware.
Baud rate set command: “AT*BAUD=3” (Set Adapter baud rate as 38400 bps) v. LM device need not to perform power-on-off after change of baud rate setting. vi. Refer below table for baud rate settings: Actual LM device...
Parity set command: “AT*PAR=1” (Set Adapter parity as odd) v. LM device need not to perform power-on-off after change of parity setting. vi. Refer below table for parity settings: Actual LM device...
“REP*:FLOW_CHANGE= IN_Progress” vi. LM device will perform reboot in changed flow control mode vii. If LM device is in flow control OFF mode and user gives command to make the flow control OFF, then it will respond as OK but shall not perform reboot.
Upgrade interface cannot be changed on BLE adapter. vi. When the upgrade interface is set as UART, the new firmware image is sent to the LM device using its own UART. vii. While performing FW upgrade operation, make sure the UARTCONF (UART configuration) is set to Maximum throughput.
User Manual for “LM068_BLE_Peri_0204” FW 7.5.2 “AT*UPGRADE”\r\n i. Execution only command. ii. Using this command, the LM device can be set ready to receive the new firmware image. iii. The command format is “AT*upgrade=password”. iv. The password is dependent on the actual type of LM device and current firmware version on the LM device.
User Manual for “LM068_BLE_Peri_0204” FW 8 GAP Peripheral Role related AT commands This section describes the AT commands for the GAP Peripheral role for LM device to advertise, pair, whitelist and send/receive data on BLE connection. The BLE adapter enables only BLE connections being as BLE peripheral device.
User Manual for “LM068_BLE_Peri_0204” FW Once the LM device completes the pairing procedure successfully the BLE device is added to its white list. Then the LM device can use the setting “AT*LESEC=ON” for further connections with the same device. 8.2.2 “AT*CLRWHITE”\r\n i.
9.1 Firmware upgrade over UART interface When UPGARDEINT setting is set to UART, the firmware on LM device can be upgraded over its local UART interface i.e. the Rx line of LM device can receive the new image. Below section describes the steps for firmware upgrade over UART interface.
Page 35
User Manual for “LM068_BLE_Peri_0204” FW iv. After LM device outputs the string “Ready For OTA file receive...” then user can start sending the file over UART. v. Once LM device starts receiving the file, it keeps updating the status messages on the UART for upgrade progress.
User Manual for “LM068_BLE_Peri_0204” FW 10 Simple Secure Pairing between LM device and remote device The BLE adapter is BT5.0 compliant device. BLE adapter provides only BLE connection so it defaults to the BT4.1, BT4.2 and BT 5.0 devices. It cannot connect to the BT2.0/BT2.1 device.