LE910Cx-WE866Cx LTE Bundling User Guide
1VV0301578 Rev. 9 Page 43 of 56 2020-05-26
Make sure to add the services before the start of first advertisement. If advertisement has
already been started, disable and enable BLE before proceeding to add a new service.
• To add characteristics in a service, use the following commands
AT#BATTRIB="char","prop=1A","uuid=12A1"
AT#BATTRIB="charval","perm=0011","len=1","val=59"
#BATTRIB:"CHARID:53"
Where, 53 is the characteristic ID
Once the characteristics are added, start the services using the following
command
AT#BATTRIB ="complete"
#BATTRIB:"SRVID:51"
Where, 51 is the service ID.
• To change the value of characteristic (CHARID:53) in the service (SRVID:51) use
the following commands
AT#BSRVDATAEX=51,53,”61”
Where, 61 is the new value of the characteristic (CHARID:53) in the service
(SRVID:51)
Step 8: Now, set the BLE device name using the following command
AT#BNAME=”LE910-BLE”
Step 9: Start advertisement using the following commands
AT#BADVE=1 (with custom advertisement data)
AT#BADVE=0 (without custom advertisement data)
Step 10: After scanning for device name “LE910-BLE”, connect to LE910 peripheral using
a central device such as NRF connect app.
Step 11: Once the central BLE device is successfully connected to LE910 peripheral,
read and write operations can be performed.
Step 12: To stop advertisement, use the following commands
AT#BADVE=3
AT#BADVE=2 (reserved for future use)
Step 13: To disable BLE
AT#BI=0
Step 14: To disable WLAN
AT#WLANSTART=0