Home | History | Annotate | Download | only in gatt

Lines Matching refs:p_q_cmd

821     if (((p_clcb->p_q_cmd == NULL || p_clcb->auto_update == BTA_GATTC_REQ_WAITING) &&
874 tBTA_GATTC_DATA *p_q_cmd = p_clcb->p_q_cmd;
906 else if (p_q_cmd != NULL)
908 p_clcb->p_q_cmd = NULL;
910 bta_gattc_sm_execute(p_clcb, p_q_cmd->hdr.event, p_q_cmd);
912 utl_freebuf((void **)&p_q_cmd);
1187 cb_data.read.srvc_id = p_clcb->p_q_cmd->api_read.srvc_id;
1188 cb_data.read.char_id = p_clcb->p_q_cmd->api_read.char_id;
1189 cb_data.read.descr_type = p_clcb->p_q_cmd->api_read.descr_type;
1192 event = (p_clcb->p_q_cmd->api_read.descr_type.len == 0) ? BTA_GATTC_READ_CHAR_EVT: BTA_GATTC_READ_DESCR_EVT;
1195 utl_freebuf((void **)&p_clcb->p_q_cmd);
1224 cb_data.write.srvc_id = p_clcb->p_q_cmd->api_write.srvc_id;
1225 cb_data.write.char_id = p_clcb->p_q_cmd->api_write.char_id;
1226 cb_data.write.descr_type = p_clcb->p_q_cmd->api_write.descr_type;
1229 if (p_clcb->p_q_cmd->api_write.hdr.event == BTA_GATTC_API_WRITE_EVT &&
1230 p_clcb->p_q_cmd->api_write.write_type == BTA_GATTC_WRITE_PREPARE)
1234 else if (p_clcb->p_q_cmd->api_write.descr_type.len == 0)
1241 utl_freebuf((void **)&p_clcb->p_q_cmd);
1260 utl_freebuf((void **)&p_clcb->p_q_cmd);
1293 if (p_clcb->p_q_cmd == NULL)
1298 if (p_clcb->p_q_cmd->hdr.event != bta_gattc_opcode_to_int_evt[op - GATTC_OPTYPE_READ])
1300 mapped_op = p_clcb->p_q_cmd->hdr.event - BTA_GATTC_API_READ_EVT + GATTC_OPTYPE_READ;
1305 bta_gattc_op_code_name[mapped_op] , p_clcb->p_q_cmd->hdr.event,
1309 mapped_op , p_clcb->p_q_cmd->hdr.event, op);
1711 if (p_clcb == NULL || (p_clcb && p_clcb->p_q_cmd != NULL))
1717 bta_gattc_cb.clcb[i].p_q_cmd == NULL)