Searched refs:cmd_pos (Results 1 – 2 of 2) sorted by relevance
48 p_cb->cmd_pos = 0; in bta_ag_at_init()65 p_cb->cmd_pos = 0; in bta_ag_at_reinit()177 p_cb->cmd_pos = 0; in bta_ag_at_parse()181 while (p_cb->cmd_pos < p_cb->cmd_max_len - 1 && i < len) { in bta_ag_at_parse()183 if ((p_cb->cmd_pos == 0) && (p_buf[i] == 0)) { in bta_ag_at_parse()188 p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++]; in bta_ag_at_parse()189 if (p_cb->p_cmd_buf[p_cb->cmd_pos] == '\r' || in bta_ag_at_parse()190 p_cb->p_cmd_buf[p_cb->cmd_pos] == '\n') { in bta_ag_at_parse()191 p_cb->p_cmd_buf[p_cb->cmd_pos] = 0; in bta_ag_at_parse()192 if ((p_cb->cmd_pos > 2) && in bta_ag_at_parse()[all …]
71 uint16_t cmd_pos; /* position in temp buffer */ member