Initial commit
This commit is contained in:
16
package/network/utils/comgt/files/directip-stop.gcom
Normal file
16
package/network/utils/comgt/files/directip-stop.gcom
Normal file
@@ -0,0 +1,16 @@
|
||||
opengt
|
||||
set com 115200n81
|
||||
set comecho off
|
||||
set senddelay 0.05
|
||||
waitquiet 1 0.2
|
||||
|
||||
:start
|
||||
send "AT!SCACT=0,3^m"
|
||||
waitfor 5 "OK"
|
||||
if % = 0 goto hangupok
|
||||
print "WWAN error. Hangup failed.\r\n"
|
||||
exit 1
|
||||
|
||||
:hangupok
|
||||
print "WWAN connection established.\r\n"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user