esp_gatts.rst 1.4 KB

1234567891011121314151617181920212223242526272829
  1. GATT Server API
  2. ===============
  3. :link_to_translation:`zh_CN:[中文]`
  4. Application Examples
  5. --------------------
  6. Check :example:`bluetooth/bluedroid/ble` folder in ESP-IDF examples, which contains the following demos and their tutorials:
  7. * This is a GATT server demo and its tutorial. This demo creates a GATT service with an attribute table, which releases the user from the operation of adding attributes one by one. This is the recommended method of adding attributes (officially recommended).
  8. - :example:`bluetooth/bluedroid/ble/gatt_server_service_table`
  9. - :example_file:`GATT Server Service Table Example Walkthrough <bluetooth/bluedroid/ble/gatt_server_service_table/tutorial/Gatt_Server_Service_Table_Example_Walkthrough.md>`
  10. * 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 the example below.
  11. - :example:`bluetooth/bluedroid/ble/gatt_server`
  12. - :example_file:`GATT Server Example Walkthrough <bluetooth/bluedroid/ble/gatt_server/tutorial/Gatt_Server_Example_Walkthrough.md>`
  13. * This is a demo similar to Bluetooth® Low Energy (Bluetooth LE) SPP. In this demo, GATT server can receive data from UART and then send the data to the peer device automatically.
  14. - :example:`bluetooth/bluedroid/ble/ble_spp_server`
  15. API Reference
  16. -------------
  17. .. include-build-file:: inc/esp_gatts_api.inc