- ESP_OK: Success - ESP_ERR_INVALID_STATE: The connection has not been established. - ESP_GATT_INVALID_HANDLE:Invalid `handle` - ESP_FAIL: Failure due to other reasons
Notes
1. This function triggers `ESP_GATTC_WRITE_DESCR_EVT`. 2. This function should be called only after the connection has been established. 3. `handle` must be greater than 0.
Examples
esp_ble_gattc_write_char_descr() is referenced by 8 libraries and example projects: