Hello

Please consider including the patch below into upcoming versions of ModemManager. This patch will make my Option GlobeTrotter Express GSM-card work together with NetworkManager.

The patch simply changes the order of the CNMI and CPMS AT-commands. My card will hang if CNMI is sent before CPMS.

br, Thomas


--- ModemManager-0.4.997/src/mm-generic-gsm.c   2011-06-06 17:42:16.000000000 
+0300
+++ ModemManager-0.4.997/src/mm-generic-gsm.c.atcommandflow     2011-06-29 
21:48:14.138382934 +0300
@@ -1438,10 +1438,10 @@
         mm_at_serial_port_queue_command (priv->primary, cmd, 3, NULL, NULL);
     g_free (cmd);

-    /* Enable SMS notifications */
-    mm_at_serial_port_queue_command (priv->primary, "+CNMI=2,1,2,1,0", 3, 
NULL, NULL);
     /* Set SMS storage location to ME */
     mm_at_serial_port_queue_command (priv->primary, 
"+CPMS=\"ME\",\"ME\",\"ME\"", 3, NULL, NULL);
+    /* Enable SMS notifications */
+    mm_at_serial_port_queue_command (priv->primary, "+CNMI=2,1,2,1,0", 3, 
NULL, NULL);

     mm_at_serial_port_queue_command (priv->primary, "+CIND=?", 3, cind_cb, 
self);


_______________________________________________
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to