struct sms_data *data = ofono_sms_get_data(sms);
char buf[256];
+ DBG("");
+
/* We must acknowledge the PDU using CNMA */
if (data->cnma_ack_pdu)
snprintf(buf, sizeof(buf), "AT+CNMA=1,%d\r%s",
long pdu_len;
int tpdu_len;
+ DBG("");
+
g_at_result_iter_init(&iter, result);
if (!g_at_result_iter_next(&iter, "+CMGR:"))
{
struct sms_data *data = ofono_sms_get_data(sms);
+ DBG("");
+
if (data->incoming == AT_UTIL_SMS_STORE_MT &&
data->store == AT_UTIL_SMS_STORE_ME) {
at_cmgl_set_cpms(sms, AT_UTIL_SMS_STORE_SM);
int status;
char buf[16];
+ DBG("");
+
g_at_result_iter_init(&iter, result);
while (g_at_result_iter_next(&iter, "+CMGL:")) {
const char *mode;
int len = sprintf(buf, "AT+CNMI=");
+ DBG("");
+
if (data->vendor == OFONO_VENDOR_QUALCOMM_MSM ||
data->vendor == OFONO_VENDOR_HUAWEI ||
data->vendor == OFONO_VENDOR_NOVATEL)
int len;
int tpdu_len;
+ DBG("");
+
memset(&ackpdu, 0, sizeof(ackpdu));
ackpdu.type = SMS_TYPE_DELIVER_REPORT_ACK;