if (ussdmode == 0)
return;
- /* set USSD mode to text mode */
+ /* Set USSD mode to text mode */
g_at_chat_send(data->pcui, "AT^USSDMODE=0", none_prefix,
NULL, NULL, NULL);
}
if (!g_at_result_iter_next(&iter, "^USSDMODE:"))
return;
- /* query current USSD mode */
+ /* Query current USSD mode */
g_at_chat_send(data->pcui, "AT^USSDMODE?", ussdmode_prefix,
ussdmode_query_cb, data, NULL);
}
ofono_info("Voice channel: %d Hz, %d bits, %dms period",
rate, bits, period);
- /* check available voice ports */
+ /* Check available voice ports */
g_at_chat_send(data->pcui, "AT^DDSETEX=?", none_prefix,
NULL, NULL, NULL);
}
if (!g_at_result_iter_next(&iter, "^CVOICE:"))
return;
- /* query current voice setting */
+ /* Query current voice setting */
g_at_chat_send(data->pcui, "AT^CVOICE?", cvoice_prefix,
cvoice_query_cb, modem, NULL);
}
data->have_sim = TRUE;
- /* switch data carrier detect signal off */
+ /* Switch data carrier detect signal off */
g_at_chat_send(data->modem, "AT&C0", NULL, NULL, NULL, NULL);
g_at_chat_send(data->pcui, "AT&C0", NULL, NULL, NULL, NULL);
- /* query current device settings */
+ /* Query current device settings */
g_at_chat_send(data->pcui, "AT^U2DIAG?", none_prefix,
NULL, NULL, NULL);
- /* query current port settings */
+ /* Query current port settings */
g_at_chat_send(data->pcui, "AT^GETPORTMODE", none_prefix,
NULL, NULL, NULL);
- /* check USSD mode support */
+ /* Check USSD mode support */
g_at_chat_send(data->pcui, "AT^USSDMODE=?", ussdmode_prefix,
ussdmode_support_cb, data, NULL);
- /* check for voice support */
+ /* Check for voice support */
g_at_chat_send(data->pcui, "AT^CVOICE=?", cvoice_prefix,
cvoice_support_cb, modem, NULL);
return;
}
- /* follow sim state changes */
+ /* Follow sim state changes */
g_at_chat_register(data->pcui, "^SIMST:", simst_notify,
FALSE, modem, NULL);