Dear all,
In my application with the uBlox SARA R412M module I’m trying to post data to a webserver. I use the following sequence to connect and post data, but for some reason I’m not allowed to reset the profile after sending the first HTTP POST:
tx: AT+CMEE=2
rx: AT+CMEE=2
rx: OK
tx: AT+CGDCONT=1,“IP”,“datamobile.ag”
rx: AT+CGDCONT=1,“IP”,“datamobile.ag”
rx: OK
tx: AT+UAUTHREQ=1,3,“data@datamobile.ag”,“dmag”
rx: AT+UAUTHREQ=1,3,“data@datamobile.ag”,“dmag”
rx: OK
tx: AT+CEREG=1
rx: AT+CEREG=1
rx: OK
tx: AT+UDELFILE=“post.ffs”
rx: AT+UDELFILE=“post.ffs”
rx: +CME ERROR: File not found
rx:
tx: AT+UHTTP=0
rx: AT+UHTTP=0
rx: OK
tx: AT+UHTTP=0,1,“the url”
rx: AT+UHTTP=0,1,“the url”
rx: OK
tx: AT+UHTTP=0,5,80
rx: AT+UHTTP=0,5,80
rx: OK
tx: AT+UHTTPC=0,5,"/receiverpage.php",“post.ffs”,“DS=FFFFFFFF&TT=20&TC=FFFFFFFFFF”,0
rx: AT+UHTTPC=0,5,"/receiverpage.php",“post.ffs”,“DS=FFFFFFFF&TT=20&TC=FFFFFFFFFF”,0
rx: OK
tx: AT+URDFILE=“post.ffs”
rx: AT+URDFILE=“post.ffs”
rx: +URDFILE: “post.ffs”,0,""
rx: OK
tx: AT+UDELFILE=“post.ffs”
rx: AT+UDELFILE=“post.ffs”
rx: OK
tx: AT+UHTTP=0
rx: AT+UHTTP=0
rx: +CME ERROR: Operation not allowed
rx:
tx: AT+UHTTP=0
rx: AT+UHTTP=0
rx: +CME ERROR: Operation not allowed
rx:
What can I do to speed up the posting interval?
Thanks!