EasyManua.ls Logo

Feasycom FSC-Blueware - GATT Commands; Read GATT State; Release GATT Connection; Send Data Via GATT

Default Icon
33 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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: Send data “1234567890” to remote device via GATT
<<
AT+GATTSEND=10,1234567890
>>
OK

Table of Contents