Lines Matching refs:cmd_string
5075 char cmd_string[sizeof("AT+KCNXCFG=1,\"GPRS\",\"\",,," in setup_gprs_connection() local
5078 int cmd_max_len = sizeof(cmd_string) - 1; in setup_gprs_connection()
5080 memset(cmd_string, 0, cmd_max_len); in setup_gprs_connection()
5081 strncat(cmd_string, "AT+KCNXCFG=1,\"GPRS\",\"", cmd_max_len); in setup_gprs_connection()
5082 strncat(cmd_string, access_point_name, cmd_max_len); in setup_gprs_connection()
5083 strncat(cmd_string, "\",,,\"", cmd_max_len); in setup_gprs_connection()
5084 strncat(cmd_string, MODEM_HL7800_ADDRESS_FAMILY "\"", cmd_max_len); in setup_gprs_connection()
5085 return send_at_cmd(NULL, cmd_string, MDM_CMD_SEND_TIMEOUT, 0, false); in setup_gprs_connection()
5501 char cmd_string[MDM_HL7800_APN_CMD_MAX_SIZE]; in write_apn() local
5504 memset(cmd_string, 0, MDM_HL7800_APN_CMD_MAX_SIZE); in write_apn()
5506 strncat(cmd_string, "AT+CGDCONT=1,\"" MODEM_HL7800_ADDRESS_FAMILY "\",\"", in write_apn()
5509 strncat(cmd_string, "AT+CGDCONT=1,\"" ADDRESS_FAMILY_IP "\",\"", in write_apn()
5512 strncat(cmd_string, access_point_name, MDM_HL7800_APN_CMD_MAX_STRLEN); in write_apn()
5513 strncat(cmd_string, "\"", MDM_HL7800_APN_CMD_MAX_STRLEN); in write_apn()
5514 return send_at_cmd(NULL, cmd_string, MDM_CMD_SEND_TIMEOUT, 0, false); in write_apn()