![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
![]() |
|
(!!!Important)"AT"+"GPRS"==>"Internet" Only... [EMC, njabin, BigRAT, ...]
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Fixed Error!
Posts: 4,202
Join Date: Mar 2007
Rep Power: 6
IM:
|
Dear All. I'm interested in accessing internet from my microcontroller, or from a dumb Serial Editor (e.g. Hyperterminal) that means, I should use the AT commands. I've a TCP/IP Stack from SII Seiko. I've already read over than 25 posts, that almost all have the same question, but not a unique & COMPLETE answer... SO, Please, Please, try to make this post complete in order to make it reference for the connection to the internet via GPRS without any API, nor Windows Services, nor Softwares... Simply, by AT commands. The question about connecting to the modem is trivial, & already anwered several times. The modem is functionning in GSM, Voice Calls, SMS, ... Of course, the problem is that After dialing the number via Hyperterminal, I get CONNECT & The negotiation sequence that fails & yields to NO CARRIER. Also, It would be very kind from your part "njabin", if you upload the PPP linux negotiation doc to some server & mention its URL. Also, a description of RASDIAL.EXE, could help. For the moment, I've read in several datasheet that the following sequence is necessary for accessing the GPRS: AT+COPS=0 /// Automatic OPerator Selection. AT%CGPPP=1 /// 0=No negotiation, 1=PAP, 2=CHAP, 3=automatic AT%CGPCO=1,"PAP,<username>,<password>",1 ///First 1=ASCII, PAP, second 1==CID AT+CGATT=1 ///ATTach to GPRS PDN. AT+CGDCONT=1,"IP","<APN>" ///APN is provided by your operator. AT+CGACT=1,1 // First 1 ==activate Context, Second 1=CID ATD *99***1# ///1==CID & as usual, I get the CONNECT & the negotiation sequence delimited by ~==7eH. & after spme seconds, NO CARRIER... |
|
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|