LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1846 of 1904 2022-03-04
3.35.9. AT#BATTRIB - BLE Attribute Server
This command is used to define the attributes of one or more services in the GATT
server.
AT#BATTRIB=<Type>
Set command is used to define the attributes of one or more services in the GATT
server. The maximum number of services and characteristics depends on the
features being used.
Do not start advertising before adding any services. In case advertisement has
already initiated, you should restart the BLE stack using AT#BI=0 followed by
AT#BI=1. Since we support only one role at a time, this command must not be
issued when C3 device as central is connected to a peripheral device.
Parameter:
It specifies the type of services or characteristics to
be used.
Where,
1). "pserv"
<type>="pserv".
<par1>=primary service UUID (MANDATORY).
For Example: AT#Battrib="PSERV","uuid=12AA"
2). "char"
<type>="char".
<par1>=properties(MANDATORY).
'properties' can be 02(Read), 04(Write without
response), 08(Write), 10(Notify), 20(Indicate). The