Home
last modified time | relevance | path

Searched refs:trans_id (Results 1 – 22 of 22) sorted by relevance

/system/bt/stack/srvc/
Dsrvc_eng.c34 static void srvc_eng_s_request_cback (UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA *…
266 static void srvc_eng_s_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type, in srvc_eng_s_request_cback() argument
278 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id; in srvc_eng_s_request_cback()
305 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_eng_s_request_cback()
308 GATTS_SendRsp (conn_id, trans_id, status, &rsp_msg); in srvc_eng_s_request_cback()
458 if (srvc_eng_cb.clcb[clcb_idx].trans_id != 0) in srvc_sr_rsp()
461 srvc_eng_cb.clcb[clcb_idx].trans_id, in srvc_sr_rsp()
465 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_sr_rsp()
Dsrvc_eng_int.h42 UINT32 trans_id; member
/system/bt/stack/gatt/
Dgatt_sr.c49 UINT32 trans_id = 0; in gatt_sr_enqueue_cmd() local
59 trans_id = ++p_tcb->trans_id; in gatt_sr_enqueue_cmd()
63 p_cmd->trans_id = ++p_tcb->trans_id; in gatt_sr_enqueue_cmd()
67 p_tcb->trans_id %= GATT_TRANS_ID_MAX; in gatt_sr_enqueue_cmd()
68 trans_id = p_cmd->trans_id; in gatt_sr_enqueue_cmd()
72 return trans_id; in gatt_sr_enqueue_cmd()
257 UINT32 trans_id, UINT8 op_code, in gatt_sr_process_app_rsp() argument
261 UNUSED(trans_id); in gatt_sr_process_app_rsp()
329 UINT32 trans_id = 0; in gatt_process_exec_write_req() local
356 trans_id = gatt_sr_enqueue_cmd(p_tcb, op_code, 0); in gatt_process_exec_write_req()
[all …]
Dgatt_db.c48 UINT16 handle, UINT16 offset, UINT32 trans_id);
331 UINT32 trans_id, in gatts_db_read_attr_value_by_type() argument
376 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id); in gatts_db_read_attr_value_by_type()
635 UINT32 trans_id) in gatts_read_attr_value_by_handle() argument
655 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, offset, trans_id); in gatts_read_attr_value_by_handle()
1121 UINT16 handle, UINT16 offset, UINT32 trans_id) in gatts_send_app_read_request() argument
1132 if (trans_id == 0) in gatts_send_app_read_request()
1134 trans_id = gatt_sr_enqueue_cmd(p_tcb, op_code, handle); in gatts_send_app_read_request()
1138 if (trans_id != 0 ) in gatts_send_app_read_request()
1147 trans_id, GATTS_REQ_TYPE_READ, &sr_data); in gatts_send_app_read_request()
Dgatt_int.h285 UINT32 trans_id; member
355 UINT32 trans_id; member
618 extern tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, U…
621 extern void gatt_sr_send_req_callback(UINT16 conn_id, UINT32 trans_id,
682 …UID type, UINT16 *p_len, tGATT_SEC_FLAG sec_flag, UINT8 key_size,UINT32 trans_id, UINT16 *p_cur_ha…
684 … UINT8 *p_value, UINT16 *p_len, UINT16 mtu,tGATT_SEC_FLAG sec_flag,UINT8 key_size,UINT32 trans_id);
Dgatt_attr.c43 static void gatt_request_cback(UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA *p_data);
183 static void gatt_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type, in gatt_request_cback() argument
219 GATTS_SendRsp (conn_id, trans_id, status, &rsp_msg); in gatt_request_cback()
Dgatt_api.c718 tGATT_STATUS GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, in GATTS_SendRsp() argument
728 conn_id, trans_id, status); in GATTS_SendRsp()
736 if (p_tcb->sr_cmd.trans_id != trans_id) in GATTS_SendRsp()
744 …cmd_sent = gatt_sr_process_app_rsp (p_tcb, gatt_if, trans_id, p_tcb->sr_cmd.op_code, status, p_ms… in GATTS_SendRsp()
Dgatt_utils.c1459 UINT32 trans_id, in gatt_sr_send_req_callback() argument
1474 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback()
/system/bt/service/
Dgatt_server.cpp636 int conn_id, int trans_id, in RequestReadCallback() argument
644 auto conn = GetConnection(conn_id, bda, trans_id); in RequestReadCallback()
650 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestReadCallback()
662 conn->request_id_to_handle[trans_id] = attribute_handle; in RequestReadCallback()
677 this, device_address, trans_id, offset, is_long, iter->second); in RequestReadCallback()
680 this, device_address, trans_id, offset, is_long, iter->second); in RequestReadCallback()
691 int conn_id, int trans_id, in RequestWriteCallback() argument
704 auto conn = GetConnection(conn_id, bda, trans_id); in RequestWriteCallback()
710 VLOG(1) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestWriteCallback()
727 conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteCallback()
[all …]
Dgatt_server_old.cpp161 void RequestReadCallback(int conn_id, int trans_id, bt_bdaddr_t *bda, in RequestReadCallback() argument
200 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response); in RequestReadCallback()
203 void RequestWriteCallback(int conn_id, int trans_id, bt_bdaddr_t *bda, in RequestWriteCallback() argument
211 __func__, conn_id, addr.c_str(), trans_id, attr_handle, attribute_offset, in RequestWriteCallback()
256 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response); in RequestWriteCallback()
259 void RequestExecWriteCallback(int conn_id, int trans_id, bt_bdaddr_t *bda, in RequestExecWriteCallback() argument
263 conn_id, addr.c_str(), trans_id, exec_write); in RequestExecWriteCallback()
268 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response); in RequestExecWriteCallback()
Dgatt_server.h289 int conn_id, int trans_id,
295 int conn_id, int trans_id,
301 int conn_id, int trans_id,
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cpp167 bt_status_t FakeSendResponse(int conn_id, int trans_id, int status, in FakeSendResponse() argument
170 return g_server_handler->SendResponse(conn_id, trans_id, status, response); in FakeSendResponse()
350 int conn_id, int trans_id, const bt_bdaddr_t& bda, int attr_handle, in NotifyRequestReadCallback() argument
355 this, conn_id, trans_id, bda, attr_handle, offset, is_long)); in NotifyRequestReadCallback()
359 int conn_id, int trans_id, in NotifyRequestWriteCallback() argument
366 this, conn_id, trans_id, bda, attr_handle, offset, length, need_rsp, in NotifyRequestWriteCallback()
371 int conn_id, int trans_id, const bt_bdaddr_t& bda, int exec_write) { in NotifyRequestExecWriteCallback() argument
374 RequestExecWriteCallback(this, conn_id, trans_id, bda, exec_write)); in NotifyRequestExecWriteCallback()
Dfake_bluetooth_gatt_interface.h80 virtual bt_status_t SendResponse(int conn_id, int trans_id, int status,
123 void NotifyRequestReadCallback(int conn_id, int trans_id,
126 void NotifyRequestWriteCallback(int conn_id, int trans_id,
130 void NotifyRequestExecWriteCallback(int conn_id, int trans_id,
Dbluetooth_gatt_interface.cpp364 void RequestReadCallback(int conn_id, int trans_id, bt_bdaddr_t* bda, in RequestReadCallback() argument
367 VLOG(2) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestReadCallback()
374 g_interface, conn_id, trans_id, *bda, attr_handle, offset, is_long)); in RequestReadCallback()
377 void RequestWriteCallback(int conn_id, int trans_id, in RequestWriteCallback() argument
382 VLOG(2) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestWriteCallback()
390 g_interface, conn_id, trans_id, *bda, attr_handle, offset, length, in RequestWriteCallback()
394 void RequestExecWriteCallback(int conn_id, int trans_id, in RequestExecWriteCallback() argument
397 VLOG(2) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestExecWriteCallback()
403 g_interface, conn_id, trans_id, *bda, exec_write)); in RequestExecWriteCallback()
Dbluetooth_gatt_interface.h195 int conn_id, int trans_id,
202 int conn_id, int trans_id,
209 int conn_id, int trans_id,
/system/bt/btif/src/
Dbtif_gatt_server.c91 uint32_t trans_id; member
284 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback()
297 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback()
313 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback()
503 BTA_GATTS_SendRsp(p_cb->conn_id, p_cb->trans_id, in btgatts_handle_event()
661 static bt_status_t btif_gatts_send_response(int conn_id, int trans_id, in btif_gatts_send_response() argument
667 btif_cb.trans_id = (uint32_t) trans_id; in btif_gatts_send_response()
/system/bt/bta/gatt/
Dbta_gatts_api.c363 void BTA_GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, in BTA_GATTS_SendRsp() argument
371 p_buf->trans_id = trans_id; in BTA_GATTS_SendRsp()
Dbta_gatts_act.c48 UINT32 trans_id,
594 p_msg->api_rsp.trans_id, in bta_gatts_send_rsp()
839 UINT32 trans_id, in bta_gatts_send_request_cback() argument
854 conn_id, trans_id, req_type); in bta_gatts_send_request_cback()
866 cb_data.req_data.trans_id = trans_id; in bta_gatts_send_request_cback()
Dbta_gatts_int.h128 UINT32 trans_id; member
/system/bt/stack/gap/
Dgap_ble.c43 static void gap_ble_s_attr_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE op_code,…
328 void gap_ble_s_attr_request_cback (UINT16 conn_id, UINT32 trans_id, in gap_ble_s_attr_request_cback() argument
368 GATTS_SendRsp (conn_id, trans_id, status, &rsp_msg); in gap_ble_s_attr_request_cback()
/system/bt/stack/include/
Dgatt_api.h574 typedef void (tGATT_REQ_CBACK )(UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type,
898 extern tGATT_STATUS GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id,
/system/bt/bta/include/
Dbta_gatt_api.h478 UINT32 trans_id; member
1214 extern void BTA_GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id,