Problems with WIPCREATE


#1

Hi, I’m having problems with my GPRS connection, I can’t figure why I can’t open a socket with my server…

The server is on a fix ip, so, don’t count on this error…

Also, I’ve tried all the options I could, and the APN, user and password are correct…

Here is my AT log…

ATI3

657e09gg.Q24PL001 1961548 103107 17:56

OK
AT+CMEE=1

OK
AT+CPIN?

+CPIN: READY
ATI0

 WAVECOM MODEM

 MULTIBAND  G850  1900 

OK
AT+CCID

+CCID: "89550651103000295743"

OK
AT+CSQ

+CSQ: 31,0

OK
AT+COPS?

+COPS: 0,2,72406

OK
AT+WIND=4

OK
AT+CMEE=1

OK
AT+WOPEN=1

OK
AT+WIPCFG=1

OK
AT+CGDCONT=1,"IP","wap.vivo.com.br"

OK
AT+WIPBR=1,6

OK
AT+WIPBR=2,6,11,"wap.vivo.com.br"

OK
AT+WIPBR=2,6,0,"vivo"

OK
AT+WIPBR=2,6,1,"vivo"

OK
AT+WIPBR=4,6,0

OK
AT+WIPBR=3,6,15

+WIPBR: 6,15,"10.104.27.106"

OK
AT+WIPBR?

+WIPBR: 6,1

OK
AT+CSQ

+CSQ: 30,0

OK
AT+WIPCREATE=2,1,"189.73.39.249",9090

+CME ERROR: 842
AT+WIPDATA=2,1,1

+CME ERROR: 831

Please, someone help me… I really wouldn’t contact you guys if I haven’t been at least one week working on this…

And thanks in advance!


#2

I am not sure if your problem is solved or not but I use following commands to open udp socket.

AT+WIPCFG=1 //Start TCP/IP stack
AT+WIPBR=1,6 //open GPRS
AT+WIPBR=2,6,11,“APN Name” //Set GPRS APN
AT+WIPBR=4,6,0 //Start GPRs with Login
AT+WIPBR=3,6,15 //gives Local IP
AT+WIPCREATE=1,1,local port number,“ip addressother end”, destination port number //UDP socket to port
AT+WIPDATA=1,1,1 //udp,index 1,continous data
AT+WIPCLOSE=1,1 //close udp socket

Good luck.


#3

Thank you very much for replying…

My problem is solved, I forgot to dial 99**1# or use the AT+CGDATA :unamused: