© Copyright LM Technologies Ltd Page 4 of 41
www.lm-technologies.com
User Manual for “LM068_BLE_Peri_0204” FW
7.3.5 “AT*UARTCONF”\r\n: .................................................................... 27
7.4 Bluetooth Security Settings commands: .............................................. 28
7.5 Firmware Upgrade commands: .......................................................... 28
7.5.1 “AT*UPGRADEINT”\r\n .................................................................. 28
7.5.2 “AT*UPGRADE”\r\n ....................................................................... 29
8 GAP Peripheral Role related AT commands........................................ 30
8.1 GAP Central AT commands in brief .................................................... 30
8.2 BLE security commands: ................................................................... 30
8.2.1 “AT*LESEC”\r\n ............................................................................ 30
8.2.2 “AT*CLRWHITE”\r\n...................................................................... 31
8.2.3 “AT*LEBOND”\r\n ......................................................................... 31
8.2.4 “AT*LECONFIG”\r\n ...................................................................... 31
9 Firmware upgrade on LM devices ...................................................... 33
9.1 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 ......................................................... 36
11.3 GATT UUID type ........................................................................... 37
11.4 GATT_Status_code ........................................................................ 38
11.5 BLE Service UUIDs ........................................................................ 40
Table of Figures:
Figure 1: Application scenario for LM068_BLE_Peri_0201 firmware ......................... 6
Figure 2: Flowchart for LM068_BLE_Peri_0201 firmware ........................................ 7
Figure 3: BLE adapter in Scanned devices List ....................................................... 8
Figure 4: More data in BLE adapter advertisements ............................................. 10
Figure 5: Hex data in BLE adapter advertisements ............................................... 11
Figure 6: Pairing required for connection to be stable .......................................... 12
Figure 7: Services on BLE adapter ...................................................................... 13
Figure 8: Details of Services provided on BLE adapter .......................................... 14
Figure 9: Details for Serial-Over-GATT service ..................................................... 15
Figure 10: Default settings on Hercules for serial communication .......................... 16
Figure 11: Serial messages on BLE adapter for BLE Connection and Data receive ... 17
Figure 12: Data transfer in full Duplex over BLE link ............................................ 18