Searched defs:op_code (Results 1 - 14 of 14) sorted by relevance

/system/bt/stack/gatt/
H A Datt_protocol.c48 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu) argument
55 UINT8_TO_STREAM(p, op_code);
72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag) argument
82 UINT8_TO_STREAM(p, op_code);
84 if (op_code == GATT_REQ_EXEC_WRITE) {
128 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) argument
138 UINT8_TO_STREAM(p, op_code);
218 BT_HDR *attp_build_handle_cmd(UINT8 op_code, UINT16 handle, UINT16 offset) argument
227 UINT8_TO_STREAM(p, op_code);
233 if (op_code
250 attp_build_opcode_cmd(UINT8 op_code) argument
274 attp_build_value_cmd(UINT16 payload_size, UINT8 op_code, UINT16 handle, UINT16 offset, UINT16 len, UINT8 *p_data) argument
358 attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg) argument
505 attp_send_cl_msg(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg) argument
[all...]
H A Dgatt_auth.c96 UINT8 op_code; local
111 STREAM_TO_UINT8(op_code, p_orig);
112 gatt_server_handle_client_req (p_tcb, op_code, (UINT16)(p_buf->len - 1), p_orig);
H A Dgatt_cl.c83 UINT8 op_code = disc_type_to_att_opcode[p_clcb->op_subtype]; local
117 st = attp_send_cl_msg(p_clcb->p_tcb, p_clcb->clcb_idx, op_code, &cl_req);
142 UINT8 op_code = 0; local
150 op_code = GATT_REQ_READ_BY_TYPE;
166 op_code = GATT_REQ_READ;
178 op_code = GATT_REQ_READ_BLOB;
186 op_code = GATT_REQ_READ_BLOB;
192 op_code = GATT_REQ_READ_MULTI;
197 op_code = GATT_REQ_READ;
207 if (op_code !
228 UINT8 rt = GATT_SUCCESS, op_code = 0; local
459 gatt_process_read_info_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
558 gatt_process_error_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
611 gatt_process_prep_write_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
663 gatt_process_notification(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
750 gatt_process_read_by_type_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
951 gatt_process_read_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
1166 gatt_client_handle_server_rsp(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
[all...]
H A Dgatt_db.c47 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code,
323 UINT8 op_code,
376 status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id);
629 UINT8 op_code,
650 (BOOLEAN)(op_code == GATT_REQ_READ_BLOB),
655 status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, offset, trans_id);
720 ** op_code:op code of this write.
731 tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code, argument
741 GATT_TRACE_DEBUG( "gatts_write_attr_perm_check op_code=0x%0x handle=0x%04x offset=%d len=%d sec_flag=0x%0x key_size=%d",
742 op_code, handl
321 gatts_db_read_attr_value_by_type(tGATT_TCB *p_tcb, tGATT_SVC_DB *p_db, UINT8 op_code, BT_HDR *p_rsp, UINT16 s_handle, UINT16 e_handle, tBT_UUID type, UINT16 *p_len, tGATT_SEC_FLAG sec_flag, UINT8 key_size, UINT32 trans_id, UINT16 *p_cur_handle) argument
627 gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb, tGATT_SVC_DB *p_db, UINT8 op_code, UINT16 handle, UINT16 offset, UINT8 *p_value, UINT16 *p_len, UINT16 mtu, tGATT_SEC_FLAG sec_flag, UINT8 key_size, UINT32 trans_id) argument
1120 gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle, UINT16 offset, UINT32 trans_id) argument
[all...]
H A Dgatt_main.c984 UINT8 op_code, pseudo_op_code; local
991 STREAM_TO_UINT8(op_code, p);
994 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK);
998 if (op_code == GATT_SIGN_CMD_WRITE)
1005 if ((op_code % 2) == 0)
1006 gatt_server_handle_client_req (p_tcb, op_code, msg_len, p);
1008 gatt_client_handle_server_rsp (p_tcb, op_code, msg_len, p);
1013 GATT_TRACE_ERROR ("ATT - Rcvd L2CAP data, unknown cmd: 0x%x", op_code);
H A Dgatt_sr.c46 UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle) argument
51 if ( (p_cmd->op_code == 0) ||
52 (op_code == GATT_HANDLE_VALUE_CONF)) /* no pending request */
54 if (op_code == GATT_CMD_WRITE ||
55 op_code == GATT_SIGN_CMD_WRITE ||
56 op_code == GATT_REQ_MTU ||
57 op_code == GATT_HANDLE_VALUE_CONF)
64 p_cmd->op_code = op_code;
86 return(p_tcb->sr_cmd.op_code
256 gatt_sr_process_app_rsp(tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, UINT8 op_code, tGATT_STATUS status, tGATTS_RSP *p_msg) argument
326 gatt_process_exec_write_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
390 gatt_process_read_multi_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
506 gatt_build_primary_service_rsp(BT_HDR *p_msg, tGATT_TCB *p_tcb, UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, UINT8 *p_data, tBT_UUID value) argument
680 gatts_validate_packet_format(UINT8 op_code, UINT16 *p_len, UINT8 **p_data, tBT_UUID *p_uuid_filter, UINT16 *p_s_hdl, UINT16 *p_e_hdl) argument
744 gatts_process_primary_service_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
808 gatts_process_find_info(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
941 gatts_process_read_by_type_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
1040 gatts_process_write_req(tGATT_TCB *p_tcb, UINT8 i_rcb, UINT16 handle, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
1137 gatts_process_read_req(tGATT_TCB *p_tcb, tGATT_SR_REG *p_rcb, UINT8 op_code, UINT16 handle, UINT16 len, UINT8 *p_data) argument
1196 gatts_process_attribute_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
1358 gatts_process_value_conf(tGATT_TCB *p_tcb, UINT8 op_code) argument
1404 gatt_server_handle_client_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) argument
[all...]
H A Dgatt_int.h268 UINT8 op_code; member in struct:__anon916
289 UINT8 op_code; member in struct:__anon917
554 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg);
555 extern BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg);
560 extern UINT8 * gatt_dbg_op_name(UINT8 op_code);
573 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 handle, BOOLEAN deq);
618 extern tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, UINT8 op_code, tGATT_STATUS status, tGATTS_RSP *p_msg);
619 extern void gatt_server_handle_client_req (tGATT_TCB *p_tcb, UINT8 op_code,
622 UINT8 op_code, tGATTS_DATA *p_req_data);
623 extern UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT1
[all...]
H A Dgatt_utils.c1492 tGATT_STATUS gatt_send_error_rsp (tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, argument
1499 error.cmd_code = op_code;
1596 GATT_TRACE_DEBUG("gatt_set_err_rsp enable=%d op_code=%d, err_status=%d", enable, req_op_code, err_status);
2067 BOOLEAN gatt_cmd_enq(tGATT_TCB *p_tcb, UINT16 clcb_idx, BOOLEAN to_send, UINT8 op_code, BT_HDR *p_buf) argument
2072 p_cmd->op_code = op_code;
2105 *p_op_code = p_cmd->op_code;
2123 UINT8 gatt_send_write_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, argument
2136 return attp_send_cl_msg(p_tcb, clcb_idx, op_code, &msg);
2313 UINT8 * gatt_dbg_op_name(UINT8 op_code) argument
[all...]
/system/bt/stack/btm/
H A Dbtm_ble_privacy.c65 void btm_ble_enq_resolving_list_pending(BD_ADDR pseudo_bda, UINT8 op_code) argument
70 p_q->resolve_q_action[p_q->q_next] = op_code;
H A Dbtm_ble.c1064 void btm_ble_rand_enc_complete (UINT8 *p, UINT16 op_code, tBTM_RAND_ENC_CB *p_enc_cplt_cback) argument
1081 params.opcode = op_code;
1083 if (op_code == HCI_BLE_RAND)
/system/bt/stack/include/
H A Dmca_api.h130 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon1184
136 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon1185
143 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon1186
151 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon1187
/system/bt/bta/gatt/
H A Dbta_gattc_int.h159 UINT8 op_code; member in struct:__anon157
/system/bt/stack/mcap/
H A Dmca_int.h45 UINT8 op_code; /* the request/response opcode */ member in struct:__anon1236
46 UINT8 rsp_code; /* valid only if op_code is a response */
/system/bt/stack/smp/
H A Dsmp_keys.c455 void smp_concatenate_local( tSMP_CB *p_cb, UINT8 **p_data, UINT8 op_code) argument
460 UINT8_TO_STREAM(p, op_code);
475 void smp_concatenate_peer( tSMP_CB *p_cb, UINT8 **p_data, UINT8 op_code) argument
480 UINT8_TO_STREAM(p, op_code);

Completed in 598 milliseconds