esp_gatts.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. GATT SERVER API
  2. ===============
  3. Overview
  4. --------
  5. `Instructions`_
  6. .. _Instructions: ../template.html
  7. Application Example
  8. -------------------
  9. Check :example:`bluetooth/bluedroid/ble` folder in ESP-IDF examples, which contains the following demos and their tutorials:
  10. * 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.
  11. - :example:`bluetooth/bluedroid/ble/gatt_server_service_table`
  12. - :example_file:`GATT Server Service Table Example Walkthrough <bluetooth/bluedroid/ble/gatt_server_service_table/tutorial/Gatt_Server_Service_Table_Example_Walkthrough.md>`
  13. * 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.
  14. - :example:`bluetooth/bluedroid/ble/gatt_server`
  15. - :example_file:`GATT Server Example Walkthrough <bluetooth/bluedroid/ble/gatt_server/tutorial/Gatt_Server_Example_Walkthrough.md>`
  16. * 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.
  17. - :example:`bluetooth/bluedroid/ble/ble_spp_server`
  18. API Reference
  19. -------------
  20. .. include-build-file:: inc/esp_gatts_api.inc