Setting <connect_flag> in AT+XDATACHANNEL set command to 0. This will
disable intermediate result reporting of "CONNECT" and "NO CARRIER"
on control channel.
This resolves the issue of getting failure response for offline-modem
since "NO CARRIER" is received as result of AT+CFUN operation instead
drivers/ifxmodem/gprs-context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ifxmodem/gprs-context.c b/drivers/ifxmodem/gprs-context.c
index 2de6b4f..7bacb73 100644
@@ -406,7 +406,7 @@ static void cgcontrdp_cb(gboolean ok, GAtResult *result, gpointer user_data)
interface = ofono_gprs_context_get_interface(gc);
datapath = get_datapath(modem, interface);
- snprintf(buf, sizeof(buf), "AT+XDATACHANNEL=1,1,\"%s\",\"%s\",2,%u",
+ snprintf(buf, sizeof(buf), "AT+XDATACHANNEL=1,1,\"%s\",\"%s\",0,%u",
ctrlpath, datapath, gcd->active_context);
g_at_chat_send(gcd->chat, buf, none_prefix, NULL, NULL, NULL);
snprintf(buf, sizeof(buf), "AT+CGDATA=\"M-RAW_IP\",%u",
I have got few clarification related to ofono and connection manager.
We are using connection manager to bring the cellular interface up and its
We have got some application to make calls (which uses dbus ofono api's
When the cellular is under enabled state(connmanctl enable cellular) then
upon running ofono in debug mode ,I could see those ATD (dial commands)
been received by ofono and calling is successful.
But we are facing some issues,when I disable the cellular option in
connection manager using (connmanctl disable cellular).I couldn't see any
AT commands been received by ofono used for calling(via dbus)
Upon disabling ,instead of pushing the module to airplane mode (default
behavior),we have modified it in such a way they are not pushed to airplane
mode(instead we tried by disabling gprs alone(AT+CGATT=0)).
Here are my queries,
If Ofono is independent application ,which means disabling cellular in
connection manager shouldn't affect the call related api's which is been
used in my third application correct?
else ofono is dependent application on connman?
Kindly help me ,am stuck at the above case.