
S
AT Command Reference
Release r02
www.stollmann.de
Page 27 of 33
The
LEATTRIB
commands must be submitted in a specific order:
Definition of first service:
AT+LEATTRIB=pserv, …
Definition of first characteristic of first service:
AT+LEATTRIB=char, …
… optional characteristic descriptors (AT+LEATTRIB=chardxxx) …
AT+LEATTRIB=charval, …
Definition of second characteristic of first service:
AT+LEATTRIB=char, …
… optional characteristic descriptors (AT+LEATTRIB=chardxxx) …
AT+LEATTRIB=charval, …
…
Definition of second service:
AT+LEATTRIB=pserv, …
Definition of first characteristic of second service:
AT+LEATTRIB=char, …
… optional characteristic descriptors (AT+LEATTRIB=chardxxx) …
AT+LEATTRIB=charval, …
…
…
Completion of service and characteristics definition:
AT+LEATTRIB=complete
Upon successful execution of the
LEATTRIB
command with
type=charval
the
device returns the data channel ID which is associated to the characteristic value.
Format:
<CR><LF>0x<
channel
><CR><LF>
Data belonging to the characteristic value is exchanged over multiplexer data
channel ID
channel
. The channel value is coded in hexadecimal digits.