Lines Matching refs:cmd
601 char *cmd; local
614 asprintf(&cmd, "ATD%s%s;", p_dial->address, clir);
616 ret = at_send_command(cmd, NULL);
618 free(cmd);
628 char *cmd; local
636 asprintf(&cmd, "AT+CMGW=%d,%d", length, p_args->status);
638 err = at_send_command_sms(cmd, p_args->pdu, "+CMGW:", &p_response);
656 char *cmd; local
662 asprintf(&cmd, "AT+CHLD=1%d", p_line[0]);
664 ret = at_send_command(cmd, NULL);
666 free(cmd);
716 const char *cmd; local
725 cmd = "AT+CREG?";
728 cmd = "AT+CGREG?";
735 err = at_send_command_singleline(cmd, prefix, &p_response);
958 char *cmd; local
986 asprintf(&cmd, "up:%s", apn);
987 len = strlen(cmd);
991 written = write (fd, cmd + cur, len - cur);
1036 asprintf(&cmd, "AT+CGDCONT=1,\"IP\",\"%s\",,0,0", apn);
1038 err = at_send_command(cmd, NULL);
1039 free(cmd);
1098 char *cmd = NULL; local
1109 asprintf(&cmd, "AT+CRSM=%d,%d,%d,%d,%d",
1113 asprintf(&cmd, "AT+CRSM=%d,%d,%d,%d,%d,%s",
1118 err = at_send_command_singleline(cmd, "+CRSM:", &p_response);
1142 free(cmd);
1148 free(cmd);
1156 char* cmd = NULL; local
1160 asprintf(&cmd, "AT+CPIN=%s", strings[0]);
1162 asprintf(&cmd, "AT+CPIN=%s,%s", strings[0], strings[1]);
1166 err = at_send_command_singleline(cmd, "+CPIN:", &p_response);
1167 free(cmd);
1329 char cmd[12]; local
1336 sprintf(cmd, "AT+CHLD=2%d", party);
1337 at_send_command(cmd, NULL);
1360 char *cmd; local
1361 asprintf(&cmd, "AT+VTS=%c", (int)c);
1362 at_send_command(cmd, NULL);
1363 free(cmd);
1464 char * cmd; local
1466 asprintf(&cmd, "AT+CMGD=%d", ((int *)data)[0]);
1467 err = at_send_command(cmd, &p_response);
1468 free(cmd);