/external/libnfc-nci/src/nfc/nci/ |
nci_hrcv.c | 49 UINT8 *pp, len, op_code; local 56 NCI_MSG_PRS_HDR1 (pp, op_code); 57 NFC_TRACE_DEBUG1 ("nci_proc_core_rsp opcode:0x%x", op_code); 61 switch (op_code) 89 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code); 108 UINT8 *pp, len, op_code; local 114 NCI_MSG_PRS_HDR1 (pp, op_code); 115 NFC_TRACE_DEBUG1 ("nci_proc_core_ntf opcode:0x%x", op_code); 119 switch (op_code) 142 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code); 160 UINT8 *pp, len, op_code; local 226 UINT8 *pp, len, op_code; local 294 UINT8 *pp, len, op_code; local 354 UINT8 *pp, len, op_code; local 437 UINT8 *pp, len, op_code; local 464 UINT8 *pp, len, op_code; local [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_sr.c | 43 UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle) 48 if ( (p_cmd->op_code == 0) || 49 (op_code == GATT_HANDLE_VALUE_CONF)) /* no pending request */ 51 if (op_code == GATT_CMD_WRITE || 52 op_code == GATT_SIGN_CMD_WRITE || 53 op_code == GATT_REQ_MTU || 54 op_code == GATT_HANDLE_VALUE_CONF) 61 p_cmd->op_code = op_code; 83 return(p_tcb->sr_cmd.op_code == 0) [all...] |
att_protocol.c | 46 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu) 55 UINT8_TO_STREAM (p, op_code); 72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag) 84 UINT8_TO_STREAM (p, op_code); 86 if (op_code == GATT_REQ_EXEC_WRITE) 136 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) 148 UINT8_TO_STREAM (p, op_code); 234 BT_HDR *attp_build_handle_cmd(UINT8 op_code, UINT16 handle, UINT16 offset) 245 UINT8_TO_STREAM (p, op_code); 251 if (op_code == GATT_REQ_READ_BLOB [all...] |
gatt_cl.c | 74 UINT8 op_code = disc_type_to_att_opcode[p_clcb->op_subtype]; local 100 if (attp_send_cl_msg(p_clcb->p_tcb, p_clcb->clcb_idx, op_code, &cl_req) != GATT_SUCCESS) 123 UINT8 op_code = 0; local 131 op_code = GATT_REQ_READ_BY_TYPE; 147 op_code = GATT_REQ_READ; 159 op_code = GATT_REQ_READ_BLOB; 167 op_code = GATT_REQ_READ_BLOB; 173 op_code = GATT_REQ_READ_MULTI; 178 op_code = GATT_REQ_READ; 188 if ( op_code == 0 | 207 UINT8 rt = GATT_SUCCESS, op_code; local [all...] |
gatt_int.h | 253 UINT8 op_code; member in struct:__anon3115 274 UINT8 op_code; member in struct:__anon3116 547 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg); 548 extern BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg); 553 extern UINT8 * gatt_dbg_op_name(UINT8 op_code); 564 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 handle, BOOLEAN deq); 608 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); 609 extern void gatt_server_handle_client_req (tGATT_TCB *p_tcb, UINT8 op_code, 612 UINT8 op_code, tGATTS_DATA *p_req_data); 613 extern UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle) [all...] |
gatt_db.c | 45 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code, 317 UINT8 op_code, 365 status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id); 602 UINT8 op_code, 623 (BOOLEAN)(op_code == GATT_REQ_READ_BLOB), 628 status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, offset, trans_id); 693 ** op_code:op code of this write. 704 tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code, 714 GATT_TRACE_DEBUG6( "gatts_write_attr_perm_check op_code=0x%0x handle=0x%04x offset=%d len=%d sec_flag=0x%0x key_size=%d", 715 op_code, handle, offset, len, sec_flag, key_size) [all...] |
gatt_main.c | 877 UINT8 op_code, pseudo_op_code; local 884 STREAM_TO_UINT8(op_code, p); 887 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK); 891 if (op_code == GATT_SIGN_CMD_WRITE) 899 if ((op_code % 2) == 0) 900 gatt_server_handle_client_req (p_tcb, op_code, msg_len, p); 902 gatt_client_handle_server_rsp (p_tcb, op_code, msg_len, p); 907 GATT_TRACE_ERROR1 ("ATT - Rcvd L2CAP data, unknown cmd: 0x%x", op_code); [all...] |
gatt_auth.c | 101 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);
|