aboutsummaryrefslogtreecommitdiffstats
path: root/package/comgt/files/getstrength.gcom
diff options
context:
space:
mode:
Diffstat (limited to 'package/comgt/files/getstrength.gcom')
-rw-r--r--package/comgt/files/getstrength.gcom14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/comgt/files/getstrength.gcom b/package/comgt/files/getstrength.gcom
new file mode 100644
index 0000000000..2886285971
--- /dev/null
+++ b/package/comgt/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