ble_gattc_disc_chrs_by_uuid

int
ble_gattc_disc_chrs_by_uuid(
            uint16_t  conn_handle,
            uint16_t  start_handle,
            uint16_t  end_handle,
    const ble_uuid_t *uuid,
     ble_gatt_chr_fn *cb,
                void *cb_arg
)

Description

Initiates GATT procedure: Discover Characteristics by UUID.

Parameters

ParameterDescription
conn_handleThe connection over which to execute the procedure.
start_handleThe handle to begin the search at (generally the service definition handle).
end_handleThe handle to end the search at (generally the last handle in the service).
chr_uuid128The 128-bit UUID of the characteristic to discover.
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.