aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_huawei.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-09-19 01:18:52 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-09-19 01:18:52 +0000
commit3bc1b2b7942823ee8548d97d57b517cba175a8ad (patch)
tree41c165723eee1516a474bbb6717055167699bef5 /plugin_huawei.c
parent3512dc98837bfea32da7e115afd7e7f6f74f5d49 (diff)
downloadlcd4linux-3bc1b2b7942823ee8548d97d57b517cba175a8ad.tar.gz
patch from Jar: typo fixed, documentation which is now in the wiki removed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1129 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_huawei.c')
-rw-r--r--plugin_huawei.c29
1 files changed, 1 insertions, 28 deletions
diff --git a/plugin_huawei.c b/plugin_huawei.c
index b94559a..fbe73b8 100644
--- a/plugin_huawei.c
+++ b/plugin_huawei.c
@@ -33,33 +33,6 @@
*
*/
-/*
- * exported functions:
- *
- * huawei::quality('%'|'dbm'|'rssi')
- * huawei::mode('text'|'number')
- * huawei::manuf()
- * huawei::model()
- * huawei::fwver()
- * huawei::operator()
- * huawei::flowreport('uptime'|'uptime_seconds'|'tx_rate'|'rx_rate'|'total_tx'|'total_rx')
- *
- * With '%' parameter, you can get the percentage (0...100%) value of RSSI (received signal strength).
- * With 'dbm' parameter, you can get the dbm value of RSSI.
- * With 'rssi' parameter, you can get the relative RSSI value 0...31.
- *
- * With 'text' parameter, you can get the mode value as text, like 'HSDPA'.
- * With 'number' parameter, you can get the mode value as number, like 5.
- *
- * With 'uptime' parameter, you can get the uptime (connection time) value as text, like '1 days 10:11:12'.
- * With 'uptime_seconds' parameter, you can get the uptime (connection time) seconds as number, like 12345.
- *
- * This plugin tries to connect per default to the Huawei user interface device at /dev/ttyUSB1.
- * If your modem is connected to another device you can use the environment variable HUAWEI_PORT.
- * For example export HUAWEI_PORT=/dev/ttyUSB2
- *
- */
-
/* define the include files you need */
#include "config.h"
@@ -112,7 +85,7 @@ static char name[] = "plugin_huawei.c";
static char *sub_system_mode[] = {
"NO CONN", /* no service */
"GSM", /* 2G/GSM */
- "GRPS", /* 2.5G/GPRS */
+ "GPRS", /* 2.5G/GPRS */
"EDGE", /* 2.75G/EDGE */
"WCDMA", /* 3G/UMTS */
"HSDPA", /* 3.5G/UMTS */