Patch for ModemManager (0.4.997) that will make my GSM-card work
- From: Thomas Grenman <tgrenman aalto fi>
- To: networkmanager-list gnome org
- Subject: Patch for ModemManager (0.4.997) that will make my GSM-card work
- Date: Wed, 29 Jun 2011 23:17:45 +0300 (EEST)
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]