• Home
  • Raw
  • Download

Lines Matching refs:op_code

87   uint8_t op_code = disc_type_to_att_opcode[p_clcb->op_subtype];  in gatt_act_discovery()  local
129 tGATT_STATUS st = attp_send_cl_msg(*p_clcb->p_tcb, p_clcb, op_code, &cl_req); in gatt_act_discovery()
149 uint8_t op_code = 0; in gatt_act_read() local
156 op_code = GATT_REQ_READ_BY_TYPE; in gatt_act_read()
169 op_code = GATT_REQ_READ; in gatt_act_read()
179 op_code = GATT_REQ_READ_BLOB; in gatt_act_read()
187 op_code = GATT_REQ_READ_BLOB; in gatt_act_read()
193 op_code = GATT_REQ_READ_MULTI; in gatt_act_read()
198 op_code = GATT_REQ_READ; in gatt_act_read()
208 if (op_code != 0) rt = attp_send_cl_msg(tcb, p_clcb, op_code, &msg); in gatt_act_read()
210 if (op_code == 0 || (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED)) { in gatt_act_read()
227 uint8_t op_code = (sec_act == GATT_SEC_SIGN_DATA) ? GATT_SIGN_CMD_WRITE in gatt_act_write() local
229 tGATT_STATUS rt = gatt_send_write_msg(tcb, p_clcb, op_code, attr.handle, in gatt_act_write()
234 "gatt_act_write() failed op_code=0x%x rt=%d", op_code, rt); in gatt_act_write()
428 UNUSED_ATTR uint8_t op_code, uint16_t len, in gatt_process_read_info_rsp() argument
518 UNUSED_ATTR uint8_t op_code, in gatt_process_error_rsp() argument
577 uint8_t op_code, uint16_t len, in gatt_process_prep_write_rsp() argument
586 gatt_dbg_op_name(op_code), len); in gatt_process_prep_write_rsp()
621 void gatt_process_notification(tGATT_TCB& tcb, uint16_t cid, uint8_t op_code, in gatt_process_notification() argument
629 tGATTC_OPTYPE event = (op_code == GATT_HANDLE_VALUE_IND) in gatt_process_notification()
643 if (op_code == GATT_HANDLE_MULTI_VALUE_NOTIF) { in gatt_process_notification()
658 if (op_code == GATT_HANDLE_VALUE_IND) in gatt_process_notification()
712 if (op_code != GATT_HANDLE_MULTI_VALUE_NOTIF) return; in gatt_process_notification()
736 uint8_t op_code, uint16_t len, in gatt_process_read_by_type_rsp() argument
764 op_code, value_len, (payload_size - 2), (len - 1)); in gatt_process_read_by_type_rsp()
769 if (op_code == GATT_RSP_READ_BY_GRP_TYPE) handle_len = 4; in gatt_process_read_by_type_rsp()
792 op_code == GATT_RSP_READ_BY_GRP_TYPE) { in gatt_process_read_by_type_rsp()
942 UNUSED_ATTR uint8_t op_code, uint16_t len, in gatt_process_read_rsp() argument
1109 if (cmd.op_code == GATT_CMD_WRITE || cmd.op_code == GATT_SIGN_CMD_WRITE) { in gatt_cl_send_next_cmd_inq()
1132 uint8_t op_code, uint16_t len, in gatt_client_handle_server_rsp() argument
1134 VLOG(1) << __func__ << " opcode: " << loghex(op_code); in gatt_client_handle_server_rsp()
1138 if (op_code == GATT_HANDLE_VALUE_IND || op_code == GATT_HANDLE_VALUE_NOTIF || in gatt_client_handle_server_rsp()
1139 op_code == GATT_HANDLE_MULTI_VALUE_NOTIF) { in gatt_client_handle_server_rsp()
1147 gatt_process_notification(tcb, cid, op_code, len, p_data); in gatt_client_handle_server_rsp()
1154 if (!p_clcb || (rsp_code != op_code && op_code != GATT_RSP_ERROR)) { in gatt_client_handle_server_rsp()
1157 op_code, rsp_code); in gatt_client_handle_server_rsp()
1179 switch (op_code) { in gatt_client_handle_server_rsp()
1181 gatt_process_error_rsp(tcb, p_clcb, op_code, len, p_data); in gatt_client_handle_server_rsp()
1189 gatt_process_read_info_rsp(tcb, p_clcb, op_code, len, p_data); in gatt_client_handle_server_rsp()
1194 gatt_process_read_by_type_rsp(tcb, p_clcb, op_code, len, p_data); in gatt_client_handle_server_rsp()
1201 gatt_process_read_rsp(tcb, p_clcb, op_code, len, p_data); in gatt_client_handle_server_rsp()
1213 gatt_process_prep_write_rsp(tcb, p_clcb, op_code, len, p_data); in gatt_client_handle_server_rsp()
1221 LOG(ERROR) << __func__ << ": Unknown opcode = " << std::hex << op_code; in gatt_client_handle_server_rsp()