Function ReadCharacteristic

Synopsis

#include <bta/include/bta_gatt_queue.h>

static void ReadCharacteristic(uint16_t conn_id, uint16_t handle, GATT_READ_OP_CB cb, void *cb_data)

Description

No description yet.

Source

Lines 150-157 in bta/gatt/bta_gattc_queue.cc. Line 38 in bta/include/bta_gatt_queue.h.

void BtaGattQueue::ReadCharacteristic(uint16_t conn_id, uint16_t handle,
                                      GATT_READ_OP_CB cb, void* cb_data) {
  gatt_op_queue[conn_id].push_back({.type = GATT_READ_CHAR,
                                    .handle = handle,
                                    .read_cb = cb,
                                    .read_cb_data = cb_data});
  gatt_execute_next_op(conn_id);
}





Add Discussion as Guest

Log in to DocsForge