ble_gattc_disc_all_chrs

int
ble_gattc_disc_all_chrs(
           uint16_t  conn_handle,
           uint16_t  start_handle,
           uint16_t  end_handle,
    ble_gatt_chr_fn *cb,
               void *cb_arg
)

Description

Initiates GATT procedure: Discover All Characteristics of a Service.

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).
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.