Home
last modified time | relevance | path

Searched refs:cmd_pos (Results 1 – 2 of 2) sorted by relevance

/system/bt/bta/ag/
Dbta_ag_at.c47 p_cb->cmd_pos = 0; in bta_ag_at_init()
65 p_cb->cmd_pos = 0; in bta_ag_at_reinit()
192 p_cb->cmd_pos = 0; in bta_ag_at_parse()
197 while (p_cb->cmd_pos < p_cb->cmd_max_len-1 && i < len) in bta_ag_at_parse()
200 if ((p_cb->cmd_pos == 0) && (p_buf[i] == 0)) in bta_ag_at_parse()
206 p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++]; in bta_ag_at_parse()
207 if ( p_cb->p_cmd_buf[p_cb->cmd_pos] == '\r' || p_cb->p_cmd_buf[p_cb->cmd_pos] == '\n') in bta_ag_at_parse()
209 p_cb->p_cmd_buf[p_cb->cmd_pos] = 0; in bta_ag_at_parse()
210 if ((p_cb->cmd_pos > 2) && in bta_ag_at_parse()
220 p_cb->cmd_pos = 0; in bta_ag_at_parse()
[all …]
Dbta_ag_at.h71 UINT16 cmd_pos; /* position in temp buffer */ member