You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
256 B
17 lines
256 B
10 years ago
|
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
|