Lines Matching refs:p_response

372     ATResponse *p_response = NULL;  in requestRadioPower()  local
378 err = at_send_command("AT+CFUN=0", &p_response); in requestRadioPower()
379 if (err < 0 || p_response->success == 0) goto error; in requestRadioPower()
382 err = at_send_command("AT+CFUN=1", &p_response); in requestRadioPower()
383 if (err < 0|| p_response->success == 0) { in requestRadioPower()
396 at_response_free(p_response); in requestRadioPower()
400 at_response_free(p_response); in requestRadioPower()
409 ATResponse *p_response = NULL; in requestShutdown() local
412 err = at_send_command("AT+CFUN=0", &p_response); in requestShutdown()
416 at_response_free(p_response); in requestShutdown()
435 ATResponse *p_response; in requestOrSendDataCallList() local
441 err = at_send_command_multiline ("AT+CGACT?", "+CGACT:", &p_response); in requestOrSendDataCallList()
442 if (err != 0 || p_response->success == 0) { in requestOrSendDataCallList()
451 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
474 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
493 at_response_free(p_response); in requestOrSendDataCallList()
495 err = at_send_command_multiline ("AT+CGDCONT?", "+CGDCONT:", &p_response); in requestOrSendDataCallList()
496 if (err != 0 || p_response->success == 0) { in requestOrSendDataCallList()
505 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
602 at_response_free(p_response); in requestOrSendDataCallList()
621 at_response_free(p_response); in requestOrSendDataCallList()
628 ATResponse *p_response = NULL; in requestQueryNetworkSelectionMode() local
632 err = at_send_command_singleline("AT+COPS?", "+COPS:", &p_response); in requestQueryNetworkSelectionMode()
634 if (err < 0 || p_response->success == 0) { in requestQueryNetworkSelectionMode()
638 line = p_response->p_intermediates->line; in requestQueryNetworkSelectionMode()
653 at_response_free(p_response); in requestQueryNetworkSelectionMode()
656 at_response_free(p_response); in requestQueryNetworkSelectionMode()
671 ATResponse *p_response; local
687 err = at_send_command_multiline ("AT+CLCC", "+CLCC:", &p_response);
689 if (err != 0 || p_response->success == 0) {
695 for (countCalls = 0, p_cur = p_response->p_intermediates
713 for (countValidCalls = 0, p_cur = p_response->p_intermediates
774 at_response_free(p_response);
788 at_response_free(p_response);
824 ATResponse *p_response = NULL; local
831 err = at_send_command_sms(cmd, p_args->pdu, "+CMGW:", &p_response);
833 if (err != 0 || p_response->success == 0) goto error;
836 at_response_free(p_response);
841 at_response_free(p_response);
868 ATResponse *p_response = NULL; local
875 err = at_send_command_singleline("AT+CSQ", "+CSQ:", &p_response);
877 if (err < 0 || p_response->success == 0) {
882 line = p_response->p_intermediates->line;
894 at_response_free(p_response);
900 at_response_free(p_response);
917 ATResponse *p_response = NULL; local
938 err = at_send_command_singleline(cmd, "+CTEC:", &p_response);
940 if (err || !p_response->success) {
945 if (!strstr( p_response->p_intermediates->line, "DONE") ) {
947 int res = parse_technology_response(p_response->p_intermediates->line, &current, NULL);
991 ATResponse *p_response = NULL; local
995 err = at_send_command_singleline("AT+WPRL?", "+WPRL:", &p_response);
996 if (err < 0 || !p_response->success) goto error;
997 line = p_response->p_intermediates->line;
1003 at_response_free(p_response);
1006 at_response_free(p_response);
1015 ATResponse *p_response = NULL; local
1035 ATResponse *p_response = NULL; local
1048 err = at_send_command_numeric("AT+CGSN", &p_response);
1049 if (err < 0 || p_response->success == 0) {
1053 responseStr[3] = p_response->p_intermediates->line;
1057 at_response_free(p_response);
1062 at_response_free(p_response);
1071 ATResponse *p_response = NULL; local
1079 err = at_send_command_singleline(cmd, "+CCSS:", &p_response);
1080 if (err < 0 || !p_response->success)
1083 line = p_response->p_intermediates->line;
1104 ATResponse *p_response = NULL; local
1115 err = at_send_command(cmd, &p_response);
1116 if (err < 0 || !p_response->success)
1137 ATResponse *p_response = NULL; local
1163 ATResponse *p_response = NULL; local
1167 res = at_send_command_singleline("AT+WRMP?", "+WRMP:", &p_response);
1168 if (res < 0 || !p_response->success) {
1171 line = p_response->p_intermediates->line;
1189 ATResponse *p_response = NULL; local
1197 res = at_send_command(cmd, &p_response);
1198 if (res < 0 || !p_response->success)
1328 ATResponse *p_response = NULL; local
1350 err = at_send_command_singleline(cmd, prefix, &p_response);
1354 line = p_response->p_intermediates->line;
1419 at_response_free(p_response);
1433 at_response_free(p_response);
1446 ATResponse *p_response = NULL; local
1450 "+COPS:", &p_response);
1460 for (i = 0, p_cur = p_response->p_intermediates
1504 at_response_free(p_response);
1510 at_response_free(p_response);
1555 ATResponse *p_response = NULL; local
1576 err = at_send_command_sms(cmd1, cmd2, "+CMGS:", &p_response);
1578 if (err != 0 || p_response->success == 0) goto error;
1583 at_response_free(p_response);
1589 at_response_free(p_response);
1595 at_response_free(p_response);
1649 ATResponse *p_response = NULL; local
1749 err = at_send_command("ATD*99***1#", &p_response);
1751 if (err < 0 || p_response->success == 0) {
1758 at_response_free(p_response);
1763 at_response_free(p_response);
1791 ATResponse *p_response = NULL; local
1814 err = at_send_command_singleline(cmd, "+CRSM:", &p_response);
1816 if (err < 0 || p_response->success == 0) {
1820 line = p_response->p_intermediates->line;
1837 at_response_free(p_response);
1843 at_response_free(p_response);
1850 ATResponse *p_response = NULL; local
1862 err = at_send_command_singleline(cmd, "+CPIN:", &p_response);
1865 if (err < 0 || p_response->success == 0) {
1871 at_response_free(p_response);
1891 ATResponse *p_response = NULL; local
1893 err = at_send_command("AT+WSOS=0", &p_response);
1895 if (err < 0 || p_response->success == 0) {
2000 ATResponse *p_response; local
2175 p_response = NULL;
2176 err = at_send_command_numeric("AT+CIMI", &p_response);
2178 if (err < 0 || p_response->success == 0) {
2182 p_response->p_intermediates->line, sizeof(char *));
2184 at_response_free(p_response);
2188 p_response = NULL;
2189 err = at_send_command_numeric("AT+CGSN", &p_response);
2191 if (err < 0 || p_response->success == 0) {
2195 p_response->p_intermediates->line, sizeof(char *));
2197 at_response_free(p_response);
2209 p_response = NULL;
2210 err = at_send_command_numeric("AT+CUSD=2", &p_response);
2212 if (err < 0 || p_response->success == 0) {
2216 p_response->p_intermediates->line, sizeof(char *));
2218 at_response_free(p_response);
2262 p_response = NULL;
2264 err = at_send_command(cmd, &p_response);
2266 if (err < 0 || p_response->success == 0) {
2271 at_response_free(p_response);
2500 ATResponse *p_response = NULL; local
2511 err = at_send_command_singleline("AT+CPIN?", "+CPIN:", &p_response);
2518 switch (at_get_cme_error(p_response)) {
2533 cpinLine = p_response->p_intermediates->line;
2562 at_response_free(p_response);
2563 p_response = NULL;
2569 at_response_free(p_response);
2577 ATResponse *p_response = NULL; local
2589 err = at_send_command_singleline("AT+CPIN?", "+CPIN:", &p_response);
2596 switch (at_get_cme_error(p_response)) {
2611 cpinLine = p_response->p_intermediates->line;
2640 at_response_free(p_response);
2641 p_response = NULL;
2647 at_response_free(p_response);
2756 ATResponse *p_response; local
2789 ATResponse *p_response = NULL; local
2794 err = at_send_command_singleline("AT+CFUN?", "+CFUN:", &p_response);
2796 if (err < 0 || p_response->success == 0) {
2801 line = p_response->p_intermediates->line;
2809 at_response_free(p_response);
2815 at_response_free(p_response);
2869 ATResponse *p_response; local
2875 err = at_send_command_singleline("AT+CTEC=?", "+CTEC:", &p_response);
2876 if (err || !p_response->success)
2878 line = p_response->p_intermediates->line;
2888 at_response_free(p_response);
2987 ATResponse *p_response = NULL; local
3009 err = at_send_command("AT+CREG=2", &p_response);
3012 if (err < 0 || p_response->success == 0) {
3016 at_response_free(p_response);