/* Handles an incoming read-response for the specified read-characteristic-value proc.  */
static int ble_gattc_read_rx_read_rsp(struct ble_gattc_proc *proc, int status, struct os_mbuf **om)
/* Handles an incoming read-response for the specified read-characteristic-value proc.  */
static int ble_gattc_read_rx_read_rsp(struct ble_gattc_proc *proc, int status, struct os_mbuf **om)
{
    struct ble_gatt_attr attr;
    ble_gattc_dbg_assert_proc_not_inserted(proc);
    attr.handle = proc->read.handle;
    attr.offset = 0;
    attr.om = *om;
    ble_gattc_read_cb(proc, status, 0, &attr);
    *om = attr.om;
    return BLE_HS_EDONE;
}