
24
2.6.
GATT Commands
2.6.1.
Read GATT State
Format
: AT+GATTSTAT
Response
: +GATTSTAT=Param
Param:(0~3)
(0) Unsupported
(1) Standby
(2) Connecting
(3) Connected
2.6.2.
Release GATT Connection
Format
: AT+GATTDISC
Description
: Release current GATT connection with remote device
2.6.3.
Send Data Via GATT
Format
: AT+GATTSEND=Param1, Param2
Param1: Payload length (1~492)
Param2: Payload (1~492Bytes UTF8)
Example
: S
end data “1234567890” to remote device via
GATT
<<
AT+GATTSEND=10,1234567890
>>
OK