Hi Christopher,
On 08/16/2012 04:48 AM, Christopher Vogl wrote:
---
plugins/telit.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/plugins/telit.c b/plugins/telit.c
index 6ae7249..feedd18 100644
--- a/plugins/telit.c
+++ b/plugins/telit.c
@@ -307,6 +307,12 @@ static void cfun_enable_cb(gboolean ok, GAtResult *result, gpointer
user_data)
ofono_modem_set_powered(m, TRUE);
+ /*
+ * Tell the modem not to automatically initiate auto-attach
+ * proceedures on its own.
+ */
+ g_at_chat_send(data->chat, "AT#AUTOATT=0", none_prefix, NULL, NULL, NULL);
This line is over 80 character limit.
Also, are you sure this can be sent even if the PIN is locked?
+
/* Enable sim state notification */
g_at_chat_send(data->chat, "AT#QSS=1", none_prefix, NULL, NULL, NULL);
Regards,
-Denis