/system/bt/stack/gatt/ |
H A D | att_protocol.c | 48 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 D | gatt_auth.c | 96 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 D | gatt_cl.c | 83 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 D | gatt_db.c | 47 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 D | gatt_main.c | 984 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 D | gatt_sr.c | 46 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 D | gatt_int.h | 268 UINT8 op_code; member in struct:__anon913 289 UINT8 op_code; member in struct:__anon914 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 D | gatt_utils.c | 1492 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 D | btm_ble_privacy.c | 65 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 D | btm_ble.c | 1024 void btm_ble_rand_enc_complete (UINT8 *p, UINT16 op_code, tBTM_RAND_ENC_CB *p_enc_cplt_cback) argument 1041 params.opcode = op_code; 1043 if (op_code == HCI_BLE_RAND)
|
/system/bt/stack/include/ |
H A D | mca_api.h | 130 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon1181 136 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon1182 143 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon1183 151 UINT8 op_code; /* The op (request/response) code */ member in struct:__anon1184
|
/system/bt/bta/gatt/ |
H A D | bta_gattc_int.h | 159 UINT8 op_code; member in struct:__anon159
|
/system/bt/stack/mcap/ |
H A D | mca_int.h | 45 UINT8 op_code; /* the request/response opcode */ member in struct:__anon1233 46 UINT8 rsp_code; /* valid only if op_code is a response */
|
/system/bt/stack/smp/ |
H A D | smp_keys.c | 455 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);
|