Re: [MM 0.6/nm-applet] Patches to indicate active LTE network connection in NM applet and other clients



Den 01. sep. 2012 16:16, skrev Marius Kotsbak:

Attached patches to indicate in nm-applet to the user if the modem is connected to a LTE network. This is very useful for integrated combined 3G/CDMA and LTE modems as they might not provide an LED to indicate this to the user as external USB modems often do.


Another related patch attached updating the ETSI mode table for LTE.

Anyway, with this also applied, I seem to have problems getting the mode text in the nm-applet to update when the connection is active, even though I see poll updates as this:

Sep 1 14:16:01 marius-T1005 modem-manager[4084]: <debug> [1346501761.086064] [mm-at-serial-port.c:334] debug_log(): (ttyUSB3): --> 'AT*CNTI=0<CR>' Sep 1 14:16:01 marius-T1005 modem-manager[4084]: <debug> [1346501761.101695] [mm-at-serial-port.c:334] debug_log(): (ttyUSB3): <-- '<CR><LF>*CNTI: 0,LTE<CR><LF><CR><LF>OK<CR><LF>'

Starting nm-applet again/reconnect seems to update the access technology correctly. Any ideas to more bits missing?

--
Marius

>From d83e4e4f9f6817d4e07c8d72310bddadac0cdd4a Mon Sep 17 00:00:00 2001
From: "Marius B. Kotsbak" <marius kotsbak com>
Date: Sun, 2 Sep 2012 00:14:08 +0200
Subject: [PATCH] gsm: change to proper LTE entry in the ETSI mode table.

---
 src/mm-generic-gsm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mm-generic-gsm.c b/src/mm-generic-gsm.c
index 2da7397..690f344 100644
--- a/src/mm-generic-gsm.c
+++ b/src/mm-generic-gsm.c
@@ -4575,7 +4575,7 @@ static ModeEtsi modes_table[] = {
     { MM_MODEM_GSM_ACCESS_TECH_HSDPA,       4 },
     { MM_MODEM_GSM_ACCESS_TECH_HSUPA,       5 },
     { MM_MODEM_GSM_ACCESS_TECH_HSPA,        6 },
-    { MM_MODEM_GSM_ACCESS_TECH_HSPA,        7 },  /* E-UTRAN/LTE => HSPA for now */
+    { MM_MODEM_GSM_ACCESS_TECH_LTE,         7 },
     { MM_MODEM_GSM_ACCESS_TECH_UNKNOWN,    -1 },
 };
 
-- 
1.7.10.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]