Hi, i’m trying to use the HTTP Client, but 9 out of like 10 times, I get the +cme error: 843, which basically means “Connection reset by peer”. I’ll need to reconnect to GPRS and retry.
The strange thing is that I’m able to ping (using wipping) the server using the same GPRS session, and I can also access the URL using my fixed line internet. I’m also able to get SMTP client to work.
The command I use are as follows, please help.
at+wipcfg=1
at+wipbr=1,6
at+wipbr=2,6,11,“apn”
at+wipbr=2,6,21,600
at+wipbr=4,6,0
at+wipcreate=5,1,“http://www.mydomain.com/script.php?keyid=689”,80
at+wipopt=5,1,2,50,500
at+wipopt=5,1,2,51,500
at+wipfile=5,1,1,“http://www.mydomain.com/script.php?keyid=689”
I’ve also tried:
at+wipcfg=1
at+wipbr=1,6
at+wipbr=2,6,11,“apn”
at+wipbr=2,6,21,600
at+wipbr=4,6,0
at+wipcreate=5,1
at+wipfile=5,1,1,“http://www.mydomain.com/script.php?keyid=689”
When it fails, i get “+cme error: 843”, and i have to reset GPRS, issue AT+WIPBR=5,6, followed by AT+WIPBR=0,6 and redo the above AT commands.
When it does succeeds, i get:
connect
xxxxxxxxxxxxxxxx
+wipfile: 5,1,
at+wipcfg=3 returns:
WIP Soft v531 on Open AT OS v632
Feb 22 2010 07:24:48 WIPlib:v5a17 WIPSoft:v3b07