esp_ble_gatts_start_service() function
Start a service
Arguments
service_handle
Target service handle to start
Return value
- ESP_OK: Success - ESP_FAIL: Failure
Notes
This function triggers `ESP_GATTS_START_EVT`.
esp_ble_gatts_start_service() is called by 4 functions and calls 2 functions:
![]()
esp_ble_gatts_start_service()
esp_ble_gatts_start_service() reads 6 variables and writes 4 variables:
![]()
esp_ble_gatts_start_service()