I am trying to make 2 CHAP authentication based RC7620-1 devices communicate. The tricky part is I am supposed to make them talk to each other using a private network using no internet access. As I understand from the response of AT commands my devices are getting correctly authenticated to the server. However, at the receiver end the data is not getting received.
When I try this same routine for PAP on through normal internet network, I can see the data getting received at the destination end successfully.
These are the AT commands I am using,
GPRS TX: AT\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: ATE0\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT+CMEE=0\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT&W\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT+KSLEEP=1\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT+KSLEEP=2\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT+KSRAT=9\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT+CTZU=1\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT+CGDCONT=1,“IP”,“wst.xyz.com”\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT+WPPP=2,1,“GDSP123456”,“123456782”\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT+CFUN=1,1\r\n
GPRS RX: \r\nOK\r\n
GPRS TX: AT+CGREG?\r\n
GPRS RX: \r\n+CGREG: 0,0\r\n\r\nOK\r\n
GPRS TX: AT+CGREG?\r\n
GPRS RX: \r\n+CGREG: 0,2\r\n\r\nOK\r\n
GPRS TX: AT+CGREG?\r\n
GPRS RX: \r\n+CGREG: 0,5\r\n\r\nOK\r\n
GPRS TX: ATO0\r\n
GPRS RX: \r\nNO CARRIER\r\n
GPRS TX: ATD99**1#\r\n
GPRS RX: \r\nCONNECT 150000000\r\n
I have also attempted to Ping the device, but the AT!PING or other Ping command simply says it is not supported. Has anyone else encountered anything similar? your help will be highly appreciated
Thanks for replying jyijyi.
Tried,
AT!CUSTOM=“ICMPINTSRVDIS”,0x00
Getting ERROR response.
I guess I am messing up with the syntax as none of the AT!CUSTOM is working (except AT!CUSTOM? and AT!CUSTOM=?)
We tried implementing PAP earlier and none of the devices were communicating. That is when the the other party informed that we should be using them on CHAP as data security is a big concern for them. Also, only the sim which are CHAP enabled and authenticated are allowed to communicate on their end.
Hi,
I have unlocked the module,
AT!ENTERCND=“A710”
OK
AT!CUSTOM=“ICMPINTSRVDIS”,0x00
OK
AT!PING
!PING: NOT IMPLEMENTED
OK.
I believe the host platform is not a linux platform. Could you please help me understand as I am curious to know how can that affect the communication or help us troubleshoot this issue?
Yes I have modified +CGAUTH to CHAP authentication. Currently I am attempting to work out how the ping is working on the Dev-Kit first before directly trying them on the actual device.
I guess the authentication is working OK, otherwise the network should reject the activation attempt and the session activation would have terminated with an error.
Also, just got updated that the data is hitting the network server, but not able to reach till its destination.
Thanks for all your support. The issue is resolved it was due to the firewall at the server end blocking the access. After adding firewall rules to allow our port we were able to see the communication both ways.