Some alternative commands for the GlobeTrotter NIE script
These commands can be tested in PT100 and then incorporated into your regular NIE script. Mind that the commands are untested and unverified. If you like scripting, please help yourself! I cannot and will not assist you in further scripting.
Good luck!
AT+CREG=1 (you get notified when logging on to GSM)
AT+CGREG=1 (you get notified when attaching onto GPRS +CGREG:1 means attached)
AT+CPIN="xxxx" (where xxxx is the PIN code ONLY when you need a PIN code)
AT+CPIN? (You should get SIM READY) AT+COPS? (should display your network)
AT+CGATT=1 (to attach)
AT+CSQ (This returns the signal strength 8 and up is good enough for voice. To do GPRS you'll need 16 or higher).
AT+CGDCONT=1,,"APN" (where APN is the APN required in your network-your network may not require an APN)
AT+CGDCONT? (In the response you should see a string in the response identical to your APN)
ATD*99# (Connects-toactually make a TCP/IP connection you need to do this from DUN)
Type: ATe1 and
press <ENTER>
Type AT+cpin? and
press <ENTER>
Type AT+cgsn and
press <ENTER>
Type AT+cgmr and
press <ENTER>
Type AT+cops? and
press <ENTER>
Type AT+csq and
press <ENTER>
© December 4th, 2003 Roman Pixell, Karmatic Experience Group