LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1850 of 1904 2022-03-04
3.35.10. AT#BSRVDATAEX - BLE Server Data Exchange
This command sets new data in GATT server characteristics.
AT#BSRVDATAEX=<Service ID>,<Channel ID>,<Hex Data>
Set command sets new data in GATT server characteristic, where:
Channels created during GATT server definition using the command
AT#BATTRIB.
Data defined for characteristics is through respective channels. If a
characteristic has a length of 4, 4 bytes of hex data (ASCII coded byte
stream) is sent. The variable length characteristic is defined by length 0.
All data sizes between 1 and 20 are allowed.
This command is also used to read the value of GATT server
characteristic, when the data of characteristic is "?".
Parameters:
It specifies the Service identifier returned
from the command
AT#BATTRIB="COMPLETE".
It specifies the Channel identifier
returned from the command
AT#BATTRIB="CHARVAL","...".
It specifies the ASCII coded byte stream
as hexadecimal values.
For example: 4546 for a 2-byte value.
It is also used to read the value of
characteristic when ASCII coded byte
stream is "?"
Where:
0 - Advertising is ON with Customized
advertising DISABLED