OVMS3-idf/examples/bluetooth/gatt_server
Jiang Jiang Jian 291e25baa6 Merge branch 'bugfix/btdm_add_readme_for_BLE_demos' into 'master'
Component/bt: add readme doc for BLE demos

See merge request idf/esp-idf!4890
2019-06-26 16:04:28 +08:00
..
main Merge branch 'bugfix/btdm_add_readme_for_BLE_demos' into 'master' 2019-06-26 16:04:28 +08:00
tutorial Component/bt: fix connection interval error in slave adv params 2018-09-30 11:14:27 +00:00
CMakeLists.txt cmake: make main a component again 2018-09-11 09:44:12 +08:00
Makefile Moved examples to new folders / categories. Removed example numbers from example names 2017-01-16 23:08:35 +01:00
README.md component/bt: Update BLE examples tutorials and ReadMe files 2018-01-25 16:59:40 +08:00
sdkconfig.defaults Rename Kconfig options (components/bt) 2019-05-21 09:09:01 +02:00

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.