Hello,
We’re trying to debug our board using HL7800.
We were using other vender’s LTE modem and changed to HL7800, it’s the first debugging level with HL7800.
Please see below our issue and advise to me.
Our system gathering GPS data and some sensor data, and send all data at once thru HL7800…
but we found problems during test.
[ Issue : Data can’t go to server, we guess that this is related to data length ]
We used below basic data format.
- Basic Sending command : “AT+KHTTPCFG=1,"mygps-tracking.com",0,\r”
- Basic Receiving command : “AT+KHTTPCFG=1,"mygps-tracking.com",0,\r\r\n+KHTTPCFG: 1\r\n\r\nOK\r\n”
We tested as below and found error.
(1) Actual Sending data
“AT+KHTTPGET=1,"/api/state?data=$GPGGA,091626.000,2236.2791,N,12017.2818,E,1,10,1.00,8.8,M,18.7,M,*66$GPRMC,091626.000,A,2236.2791,N,12017.281812341234123412341234"\r”;
(2) Actual Receiving data
"AT+KHTTPGET=1,"/api/state?data=$GPGGA,091626.000,2236.2791,N,12017.2818,E,1,10,1.00,8.8,M,18.7,M,*66$GPRMC,091626.000,A,2236.2791,N,12017.281812341234123412341234"\r\r\nERROR\r\n
We tried after reducing sending data length(remove some data) as below than issued sending data.
When doing like this, worked normally…
but Return data(0002000400006) was not received, we guess that this is because we reduce message randomly, so return data is not important now.
Sending data after removing some value from issued sending data(=> just shorten the data length for test) :
“AT+KHTTPGET=1,"/api/state?data=$GPGGA,091626.000,2236.2791,N,12017.2818,E,1,10,1.00,8.8,M,18.7,M,*66$GPRMC,091626.000,A,2236.2791,N,12017.2818"\r”
Receiving data (connected to Network normally) :
“AT+KHTTPGET=1,"/api/state?data=$GPGGA,091626.000,2236.2791,N,12017.2818,E,1,10,1.00,8.8,M,18.7,M,*66$GPRMC,091626.000,A,2236.2791,N,12017.2818"\r\r\n+KCNX_IND: 1,1,0\r\n\r\n+KHTTP_IND: 1,1\r\n\r\nCONNECT\r\nx-cotent-type-options: nosniff\r\nx-xss-protection: 1; mode=block\r\ncache-control: no-cache, no-store, max-age=0, must-revalidate\r\npragma: no-cache\r\nexpires: 0\r\ncontent-type: application/json;charset=UTF-8\r\ntransfer-encoding: chunked\r\ndate: Mon, 04 Jul 2022 14:35:13 GMT\r\n\r\n{"status":200,"data":""}–EOF–Pattern–\r\nOK\r\n\r\n+KHTTP_IND: 1,3,296,0,"Invalid status code"\r\n”
We also tried below options but same behavior.
“AT+KIPOPT=0,"HTTP",2,1000,1000\r”;
“AT+KIPOPT=0,"HTTPS",2,1000,1000\r”;
“AT+KIPOPT=0,"TCP",2,1000,1000\r”;
Till now, we guess that HL7800 have some limitation related to length of data/message…etc.
Please advise to me if you have idea.
thanks