Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH] plugins: telit: send AT&C0 on both channels
@ 2017-02-07  8:57 =?unknown-8bit?q?Andr=C3=A9?= Draszik
  2017-02-07 11:26 ` [PATCH v2] " =?unknown-8bit?q?Andr=C3=A9?= Draszik
  0 siblings, 1 reply; 3+ messages in thread
From: =?unknown-8bit?q?Andr=C3=A9?= Draszik @ 2017-02-07  8:57 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

At least firmware version 12.00.405 on the UE910-EUR otherwise
closes the modem channel, and we'd be left in a funny state.
---
 plugins/telit.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/telit.c b/plugins/telit.c
index 742e06c0..0ae16408 100644
--- a/plugins/telit.c
+++ b/plugins/telit.c
@@ -249,9 +249,10 @@ static void cfun_enable_cb(gboolean ok, GAtResult *result, gpointer user_data)
 	/*
 	 * Switch data carrier detect signal off.
 	 * When the DCD is disabled the modem does not hangup anymore
-	 * after the data connection.
+	 * after the data connection. We need to do that on both channels.
 	 */
 	g_at_chat_send(data->chat, "AT&C0", NULL, NULL, NULL, NULL);
+	g_at_chat_send(data->modem, "AT&C0", NULL, NULL, NULL, NULL);
 
 	data->have_sim = FALSE;
 	data->sms_phonebook_added = FALSE;
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-07 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-07  8:57 [PATCH] plugins: telit: send AT&C0 on both channels =?unknown-8bit?q?Andr=C3=A9?= Draszik
2017-02-07 11:26 ` [PATCH v2] " =?unknown-8bit?q?Andr=C3=A9?= Draszik
2017-02-07 17:08   ` Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox