pub unsafe extern "C" fn ble_gattc_unregister_notif_indicate(
conn_handle: u16,
char_val_handle: u16,
) -> c_intExpand description
Unregisters for notifications and indications on a specified characteristic by writing to its Client Characteristic Configuration Descriptor (CCCD).
This function initiates discovery of all descriptors associated with the given
characteristic value handle (char_val_handle). If a CCCD is found, it writes
zero to disable both notifications and indications.
@param conn_handle The handle of the connection with the peer device. @param char_val_handle The value handle of the characteristic to unregister from notifications and indications.
@return 0 on success, non-zero error code on failure.