Espressif Systems ESP32 Instruction Set page 87

At instruction set and examples
Hide thumbs Also See for ESP32:
Table of Contents

Advertisement

!
AT+BLECFGMTU=0,200
OK
You can also query the result:
AT+BLECFGMTU?
+BLECFGMTU:0,200
OK
3. Read/Write a characteristic:
ESP32 Server:
- Discover local services.
AT+BLEGATTSSRV?
Response:
+BLEGATTSSRV:1,1,0xA002,1
OK
- Discover characteristics.
AT+BLEGATTSCHAR?
Response:
+BLEGATTSCHAR:"char",1,1,0xC300
+BLEGATTSCHAR:"desc",1,1,1
+BLEGATTSCHAR:"char",1,2,0xC301
+BLEGATTSCHAR:"desc",1,2,1
+BLEGATTSCHAR:"char",1,3,0xC302
+BLEGATTSCHAR:"desc",1,3,1
OK
ESP32 Client:
- Discover services:
AT+BLEGATTCPRIMSRV=0
Response:
+BLEGATTCPRIMSRV:0,1,0x1801,1
+BLEGATTCPRIMSRV:0,2,0x1800,1
+BLEGATTCPRIMSRV:0,3,0xA002,1
OK
Espressif
81 97
!
/!
9. AT Commands Examples
2019.06

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32 and is the answer not in the manual?

Questions and answers

Table of Contents