ESP-IDF + 0/8 examples
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

- ESP_OK: Success - ESP_GATT_INVALID_HANDLE:Invalid `handle` - ESP_FAIL: Failure due to other reasons

Notes

1. This function triggers `ESP_GATTC_REG_FOR_NOTIFY_EVT`. 2. You should call `esp_ble_gattc_write_char_descr()` after this API to write Client Characteristic Configuration (CCC) descriptor to the value of 1 (Enable Notification) or 2 (Enable Indication). 3. `handle` must be greater than 0.

References

from examples