esp_gatts.rst 1.3 KB

123456789101112131415161718192021222324252627
  1. GATT SERVER API
  2. ===============
  3. Application Example
  4. -------------------
  5. Check :example:`bluetooth/bluedroid/ble` folder in ESP-IDF examples, which contains the following demos and their tutorials:
  6. * This is a GATT sever demo and its tutorial. This demo creates a GATT service with an attribute table, which releases the user from adding attributes one by one. This is the recommended method of adding attributes.
  7. - :example:`bluetooth/bluedroid/ble/gatt_server_service_table`
  8. - :example_file:`GATT Server Service Table Example Walkthrough <bluetooth/bluedroid/ble/gatt_server_service_table/tutorial/Gatt_Server_Service_Table_Example_Walkthrough.md>`
  9. * This is a GATT server demo and its tutorial. This demo creates a GATT service by adding attributes one by one as defined by Bluedroid. The recommended method of adding attributes is presented in example above.
  10. - :example:`bluetooth/bluedroid/ble/gatt_server`
  11. - :example_file:`GATT Server Example Walkthrough <bluetooth/bluedroid/ble/gatt_server/tutorial/Gatt_Server_Example_Walkthrough.md>`
  12. * This is a BLE SPP-Like demo. This demo, which acts as a GATT server, can receive data from UART and then send the data to the peer device automatically.
  13. - :example:`bluetooth/bluedroid/ble/ble_spp_server`
  14. API Reference
  15. -------------
  16. .. include-build-file:: inc/esp_gatts_api.inc