int ble_gattc_read( uint16_t conn_handle, uint16_t attr_handle, ble_gatt_attr_fn *cb, void *cb_arg )
Initiates GATT procedure: Read Characteristic Value.
Parameter | Description |
---|---|
conn_handle | The connection over which to execute the procedure. |
attr_handle | The handle of the characteristic value to read. |
cb | The function to call to report procedure status updates; null for no callback. |
cb_arg | The optional argument to pass to the callback function. |
Value | Condition |
---|---|
0 | Success. |
Core return code | Unexpected error. |