Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_at.c47 p_cb->cmd_pos = 0; in bta_ag_at_init()
69 p_cb->cmd_pos = 0; in bta_ag_at_reinit()
196 p_cb->cmd_pos = 0; in bta_ag_at_parse()
201 while (p_cb->cmd_pos < p_cb->cmd_max_len-1 && i < len) in bta_ag_at_parse()
204 if ((p_cb->cmd_pos == 0) && (p_buf[i] == 0)) in bta_ag_at_parse()
210 p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++]; in bta_ag_at_parse()
211 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()
213 p_cb->p_cmd_buf[p_cb->cmd_pos] = 0; in bta_ag_at_parse()
214 if ((p_cb->cmd_pos > 2) && in bta_ag_at_parse()
224 p_cb->cmd_pos = 0; in bta_ag_at_parse()
[all …]
Dbta_ag_at.h71 UINT16 cmd_pos; /* position in temp buffer */ member