Function esp_idf_sys::ble_att_svr_read_local

source ยท
pub unsafe extern "C" fn ble_att_svr_read_local(
    attr_handle: u16,
    out_om: *mut *mut os_mbuf,
) -> c_int
Expand description

Reads a locally registered attribute. If the specified attribute handle corresponds to a GATT characteristic value or descriptor, the read is performed by calling the registered GATT access callback.

@param attr_handle The 16-bit handle of the attribute to read. @param out_om On success, this is made to point to a newly-allocated mbuf containing the attribute data read.

@return 0 on success; NimBLE host ATT return code if the attribute access callback reports failure; NimBLE host core return code on unexpected error.