Function esp_idf_svc::sys::esp_ble_gattc_register_for_notify

source ยท
pub unsafe extern "C" fn esp_ble_gattc_register_for_notify(
    gattc_if: u8,
    server_bda: *mut u8,
    handle: u16,
) -> i32
Expand description

@brief This function is called to register for notification of a service.

@param[in] gattc_if: Gatt client access interface. @param[in] server_bda : target GATT server. @param[in] handle : GATT characteristic handle.

@return - ESP_OK: registration succeeds - other: failed