summaryrefslogtreecommitdiff
path: root/package/network/utils/comgt/files/directip-stop.gcom
blob: 1c14863734fdd36bc92957a7bde290f856437a88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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