gprs 998 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # You can use this script unmodified to connect to cellular networks.
  2. # The APN is specified in the peers file as the argument of the -T command
  3. # line option of chat(8).
  4. # For details about the AT commands involved please consult the relevant
  5. # standard: 3GPP TS 27.007 - AT command set for User Equipment (UE).
  6. # (http://www.3gpp.org/ftp/Specs/html-info/27007.htm)
  7. #
  8. # intended for use with the FONA GPRS modem
  9. #
  10. ABORT BUSY
  11. ABORT VOICE
  12. ABORT "NO CARRIER"
  13. ABORT "NO DIALTONE"
  14. ABORT "NO DIAL TONE"
  15. ABORT "NO ANSWER"
  16. ABORT "DELAYED"
  17. ABORT "ERROR"
  18. # cease if the modem is not attached to the network yet
  19. ABORT "+CGATT: 0"
  20. "" AT
  21. TIMEOUT 12
  22. OK ATH
  23. OK ATE1
  24. # +CPIN provides the SIM card PIN
  25. #OK "AT+CPIN=1234"
  26. # +CFUN may allow to configure the handset to limit operations to
  27. # GPRS/EDGE/UMTS/etc to save power, but the arguments are not standard
  28. # except for 1 which means "full functionality".
  29. #OK AT+CFUN=1
  30. OK AT+CGDCONT=1,"IP","\T","",0,0
  31. OK ATD*99#
  32. TIMEOUT 22
  33. CONNECT ""