ble_gattc_read_by_uuid

int
ble_gattc_read_by_uuid(
            uint16_t  conn_handle,
            uint16_t  start_handle,
            uint16_t  end_handle,
    const ble_uuid_t *uuid,
    ble_gatt_attr_fn *cb,
                void *cb_arg
)

Description

Initiates GATT procedure: Read Using Characteristic UUID.

Parameters

ParameterDescription
conn_handleThe connection over which to execute the procedure.
start_handleThe first handle to search (generally the handle of the service definition).
end_handleThe last handle to search (generally the last handle in the service definition).
cbThe function to call to report procedure status updates; null for no callback.
cb_argThe optional argument to pass to the callback function.

Returned values

ValueCondition
0Success.
Core return codeUnexpected error.