• Home
  • Raw
  • Download

Lines Matching refs:conn_id

40 void BtaGattQueue::mark_as_not_executing(uint16_t conn_id) {  in mark_as_not_executing()  argument
41 gatt_op_queue_executing.erase(conn_id); in mark_as_not_executing()
44 void BtaGattQueue::gatt_read_op_finished(uint16_t conn_id, tGATT_STATUS status, in gatt_read_op_finished() argument
53 mark_as_not_executing(conn_id); in gatt_read_op_finished()
54 gatt_execute_next_op(conn_id); in gatt_read_op_finished()
57 tmp_cb(conn_id, status, handle, len, value, tmp_cb_data); in gatt_read_op_finished()
67 void BtaGattQueue::gatt_write_op_finished(uint16_t conn_id, tGATT_STATUS status, in gatt_write_op_finished() argument
75 mark_as_not_executing(conn_id); in gatt_write_op_finished()
76 gatt_execute_next_op(conn_id); in gatt_write_op_finished()
79 tmp_cb(conn_id, status, handle, tmp_cb_data); in gatt_write_op_finished()
89 void BtaGattQueue::gatt_configure_mtu_op_finished(uint16_t conn_id, in gatt_configure_mtu_op_finished() argument
98 mark_as_not_executing(conn_id); in gatt_configure_mtu_op_finished()
99 gatt_execute_next_op(conn_id); in gatt_configure_mtu_op_finished()
102 tmp_cb(conn_id, status, tmp_cb_data); in gatt_configure_mtu_op_finished()
107 void BtaGattQueue::gatt_execute_next_op(uint16_t conn_id) { in gatt_execute_next_op() argument
108 APPL_TRACE_DEBUG("%s: conn_id=0x%x", __func__, conn_id); in gatt_execute_next_op()
114 auto map_ptr = gatt_op_queue.find(conn_id); in gatt_execute_next_op()
117 conn_id); in gatt_execute_next_op()
121 if (gatt_op_queue_executing.count(conn_id)) { in gatt_execute_next_op()
126 gatt_op_queue_executing.insert(conn_id); in gatt_execute_next_op()
137 BTA_GATTC_ReadCharacteristic(conn_id, op.handle, GATT_AUTH_REQ_NONE, in gatt_execute_next_op()
145 BTA_GATTC_ReadCharDescr(conn_id, op.handle, GATT_AUTH_REQ_NONE, in gatt_execute_next_op()
153 BTA_GATTC_WriteCharValue(conn_id, op.handle, op.write_type, in gatt_execute_next_op()
162 BTA_GATTC_WriteCharDescr(conn_id, op.handle, std::move(op.value), in gatt_execute_next_op()
169 BTA_GATTC_ConfigureMTU(conn_id, static_cast<uint16_t>(op.value[0] | in gatt_execute_next_op()
177 void BtaGattQueue::Clean(uint16_t conn_id) { in Clean() argument
178 gatt_op_queue.erase(conn_id); in Clean()
179 gatt_op_queue_executing.erase(conn_id); in Clean()
182 void BtaGattQueue::ReadCharacteristic(uint16_t conn_id, uint16_t handle, in ReadCharacteristic() argument
184 gatt_op_queue[conn_id].push_back({.type = GATT_READ_CHAR, in ReadCharacteristic()
188 gatt_execute_next_op(conn_id); in ReadCharacteristic()
191 void BtaGattQueue::ReadDescriptor(uint16_t conn_id, uint16_t handle, in ReadDescriptor() argument
193 gatt_op_queue[conn_id].push_back({.type = GATT_READ_DESC, in ReadDescriptor()
197 gatt_execute_next_op(conn_id); in ReadDescriptor()
200 void BtaGattQueue::WriteCharacteristic(uint16_t conn_id, uint16_t handle, in WriteCharacteristic() argument
204 gatt_op_queue[conn_id].push_back({.type = GATT_WRITE_CHAR, in WriteCharacteristic()
210 gatt_execute_next_op(conn_id); in WriteCharacteristic()
213 void BtaGattQueue::WriteDescriptor(uint16_t conn_id, uint16_t handle, in WriteDescriptor() argument
217 gatt_op_queue[conn_id].push_back({.type = GATT_WRITE_DESC, in WriteDescriptor()
223 gatt_execute_next_op(conn_id); in WriteDescriptor()
226 void BtaGattQueue::ConfigureMtu(uint16_t conn_id, uint16_t mtu) { in ConfigureMtu() argument
230 gatt_op_queue[conn_id].push_back({.type = GATT_CONFIG_MTU, in ConfigureMtu()
232 gatt_execute_next_op(conn_id); in ConfigureMtu()