summaryrefslogtreecommitdiffstats
path: root/openwrt/package/gcom/files/getstrength.gcom
diff options
context:
space:
mode:
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 000000000..288628597
--- /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