Parent Directory
|
Revision Log
added some basic scripts for Option HSUPA card
| 1 | opengt |
| 2 | set com 115200n81 |
| 3 | set senddelay 0.02 |
| 4 | waitquiet 1 0.2 |
| 5 | flash 0.1 |
| 6 | |
| 7 | let c=1 |
| 8 | :start |
| 9 | send "AT_OWANDATA=1^m" |
| 10 | waitfor 2 "ERROR" |
| 11 | if % = 0 goto repeat |
| 12 | send "AT_OWANDATA=1^m" |
| 13 | get 2 "^m" $s |
| 14 | get 2 "^m" $s |
| 15 | print $s |
| 16 | print "\n" |
| 17 | exit 0 |
| 18 | |
| 19 | :repeat |
| 20 | sleep 3 |
| 21 | inc c |
| 22 | if c > 15 goto error |
| 23 | goto start |
| 24 | |
| 25 | :error |
| 26 | exit 1 |
| root@freewrt.org:443 | ViewVC Help |
| Powered by ViewVC 1.1.20 |