aboutsummaryrefslogtreecommitdiffstats
path: root/package/comgt/files/getcardinfo.gcom
diff options
context:
space:
mode:
Diffstat (limited to 'package/comgt/files/getcardinfo.gcom')
-rw-r--r--package/comgt/files/getcardinfo.gcom14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/comgt/files/getcardinfo.gcom b/package/comgt/files/getcardinfo.gcom
new file mode 100644
index 0000000000..5c69a64604
--- /dev/null
+++ b/package/comgt/files/getcardinfo.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 "ATI^m"
+ get 1 "" $s
+ print $s
+
+:continue
+ exit 0