Ws6318 - at+wipping


#1

Hi,
I’m having problems getting gprs work. Simple test:

AT+CPIN=1234
AT+WIPCFG=1
AT+WIPBR=1,6
AT+WIPBR=2,6,11,“internet”
AT+WIPBR=2,6,0,“internet”
AT+WIPBR=2,6,1,“internet”
AT+WIPBR=4,6,0
(All commands result OK)

When I try to ping google dns
AT+WIPPING=“8.8.8.8”,1
+WIPPING: 1,0,0

WIPPING also fails when I try to ping my local IP. I’ve tried WIPPING with 3 different gsm operatos with the same result (wipping fails).

I have no problems with sending sms and voice calls. Any advice?

Firmware version: L30_00gg.WS6318 080212


#2

Hi,

Can you please enable WIP debug logs and check what is the problem if seen in logs.
+wipping:1,0,0 shows that timeout occurs before connection.
There could be many reasons for failure like congestion between the host and target etc.
You can try with increasing the timeout period and see if response is received or not.

Thanks.


#3

Maybe the carrier just doesn’t allow PING… :question:


#4

Carrier allows ping because it works with SL6087 module. I’ve already tried different timeout. No effect.


#5

Sometimes even when you establish gprs connection, you can not open a socket or create connection to a remote server because the gprs connection is not ready. In this case, you need to wait a few seconds just after gprs connection completed.
Rarely I encounter with this case. You can have a try.


#6

This always happen to me! You definitely need to wait although you are connected to the GPRS.


#7

I have the same problem with WS6318 (L30.1_00gg.WS6318 140312), AT+WIPPING command do not work.

AT+WIPCFG=1
OK
AT+WIPBR=1,6
OK
AT+WIPBR=2,6,11,"xxx.net"
OK
AT+WIPBR=2,6,0,""
OK
AT+WIPBR=2,6,1,""
OK
AT+WIPBR=4,6,0
OK
AT+WIPBR=3,6,15
+WIPBR: 6,15,"10.1.54.160"
OK
AT+CLCC
OK
AT+WIPPING="193.193.193.100",1
OK
+WIPPING: 1,0,0
AT+CSQ
+CSQ: 17,99
.GSM_CSQ 17
OK
AT+CLCC
OK
AT+WIPPING="4.2.2.1",1
OK
+WIPPING: 1,0,0
AT+CLCC
OK
AT+WIPPING="8.8.8.8",1
OK
+WIPPING: 1,0,0
AT+CLCC
OK
AT+WIPCREATE=2,1,"xxx.xxx.xxx.xxx",xxx
OK
+WIPREADY: 2,1
AT+WIPDATA=2,1,1
CONNECT
<data>
+WIPPEERCLOSE: 2,1
+CME ERROR: 1643
AT+WIPCLOSE=2,1
OK

As you can see WIPPING command to respond ping-fail while TCP connection (WIPCREATE) work fine at the same time. Possible we need to ask for WS6318 price discount…