You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
zwsd 5675daa16d update 3 years ago
main update 3 years ago
.gitignore create project 3 years ago
CMakeLists.txt create project 3 years ago
Makefile create project 3 years ago
README.md create project 3 years ago
idfbat.bat create project 3 years ago
sdkconfig create project 3 years ago
sdkconfig.defaults create project 3 years ago
sdkconfig.defaults.esp32 create project 3 years ago
sdkconfig.defaults.esp32c3 create project 3 years ago
sdkconfig.defaults.esp32s3 create project 3 years ago
sdkconfig.old create project 3 years ago
zhao.txt 赵老师伪代码 3 years ago

README.md

Supported Targets ESP32 ESP32-C3

ESP-IDF Gatt Server Demo

This is the demo of APIs to create a GATT service by adding attributes one by one. However, this method is defined by Bluedroid and is difficult for users to use.

Hence, we also allow users to create a GATT service with an attribute table, which releases the user from adding attributes one by one. And it is recommended for users to use. For more information about this method, please refer to gatt_server_service_table_demo.

This demo creates GATT a service and then starts advertising, waiting to be connected to a GATT client.

To test this demo, we can run the gatt_client_demo, which can scan for and connect to this demo automatically. They will start exchanging data once the GATT client has enabled the notification function of the GATT server.

Please check the tutorial for more information about this example.