esp_ble_gatts_send_service_change_indication() function
Send service change indication
Arguments
gatts_if
GATT Server access interface
remote_bda
Remote device address. If remote_bda is NULL then it will send service change indication to all the connected devices and if not then to a specific device.
Return value
- ESP_OK: Success - ESP_FAIL: Failure
Notes
This function triggers `ESP_GATTS_SEND_SERVICE_CHANGE_EVT`.
esp_ble_gatts_send_service_change_indication() calls 2 functions:
![]()
esp_ble_gatts_send_service_change_indication()
esp_ble_gatts_send_service_change_indication() reads 7 variables and writes 4 variables:
![]()
esp_ble_gatts_send_service_change_indication()