esp_ble_gatts_open() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferencesCall TreeData Use

Return value

- ESP_OK: Success - ESP_FAIL: Failure

Notes

1. The function always triggers `ESP_GATTS_CONNECT_EVT` and `ESP_GATTS_OPEN_EVT`. 2. When the device acts as GATT Server, besides the above two events, this function triggers `ESP_GATTS_CONNECT_EVT` as well. 3. This function will establish an ACL connection as a Central and a virtual connection as a GATT Server. If the ACL connection already exists, it will create a virtual connection only.