machtudong / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 0 forks source link

status mode for congle #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Maybe more usefull to translate this for modem status:

            '0,0' : S.NO_SIGNAL,
            '3,0' : S.GPRS_SIGNAL,
            '3,1' : S.GPRS_SIGNAL,
            '3,2' : S.GPRS_SIGNAL,
            '3,3' : S.GPRS_SIGNAL,
            '5,4' : S.UMTS_SIGNAL,
            '5,5' : S.HSDPA_SIGNAL,
            '5,6' : S.HSUPA_SIGNAL,
            '5,7' : S.HSPA_SIGNAL, 

Original issue reported on code.google.com by pag...@gmail.com on 20 Sep 2011 at 2:46

GoogleCodeExporter commented 9 years ago
translate from ?

look to 
dongle show device state 
output 

Original comment by bg_...@mail.ru on 21 Sep 2011 at 4:25

GoogleCodeExporter commented 9 years ago
i mean when typing "dongle show devices"...

Original comment by pag...@gmail.com on 21 Sep 2011 at 4:30

GoogleCodeExporter commented 9 years ago
very wide output 

Original comment by bg_...@mail.ru on 26 Sep 2011 at 9:49

GoogleCodeExporter commented 9 years ago
                '0,0' : NOSIGN,
            '3,0' : GPRS,
            '3,1' : GPRS,
            '3,2' : GPRS,
            '3,3' : EDGE,
            '5,4' : UMTS,
            '5,5' : HSDPA,
            '5,6' : HSUPA,
            '5,7' : HSPA, 

Original comment by pag...@gmail.com on 26 Sep 2011 at 10:27

GoogleCodeExporter commented 9 years ago
ok...

if desired, modify

--cli.c:83
-     pvt->linkmode
+    sys_mode2str(pvt->linkmode))

--cli.c:84
-     pvt->linksubmode
+    sys_submode2str(pvt->linksubmode))

Original comment by pag...@gmail.com on 28 Sep 2011 at 8:41