riot_sys::bindgen

Function ble_gatts_find_dsc

Source
pub unsafe extern "C" fn ble_gatts_find_dsc(
    svc_uuid: *const ble_uuid_t,
    chr_uuid: *const ble_uuid_t,
    dsc_uuid: *const ble_uuid_t,
    out_dsc_handle: *mut u16,
) -> c_int
Expand description

Retrieves the attribute handle associated with a local GATT descriptor.

@param svc_uuid The UUID of the grandparent service. @param chr_uuid The UUID of the parent characteristic. @param dsc_uuid The UUID of the descriptor ro look up. @param out_handle On success, populated with the handle of the descriptor attribute. Pass null if you don’t need this value.

@return 0 on success; BLE_HS_ENOENT if the specified service, characteristic, or descriptor could not be found.