summaryrefslogtreecommitdiff
path: root/openwrt/package/gcom/files/getstrength.gcom
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-17 01:37:51 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-17 01:37:51 +0000
commit151ad3e39835a2a6cca78f3181d23fe2226be60e (patch)
tree5ea2babbf47bb8ab0f27f9b97060b42ac2c8993c /openwrt/package/gcom/files/getstrength.gcom
parent33ac34cace5948dc553ee9a231216d0bc962e3f1 (diff)
add gcom to trunk too (closes: #333).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3792 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/gcom/files/getstrength.gcom')
-rw-r--r--openwrt/package/gcom/files/getstrength.gcom14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/gcom/files/getstrength.gcom b/openwrt/package/gcom/files/getstrength.gcom
new file mode 100644
index 0000000000..2886285971
--- /dev/null
+++ b/openwrt/package/gcom/files/getstrength.gcom
@@ -0,0 +1,14 @@
+opengt
+ set com 115200n81
+ set comecho off
+ set senddelay 0.02
+ waitquiet 0.2 0.2
+ flash 0.1
+
+:start
+ send "AT+CSQ^m"
+ get 1 "" $s
+ print $s
+
+:continue
+ exit 0