Gemalto is now part of the Thales Group, find out more.

You are here

EHS6T - HTTP post issue | Thales IoT Developer Community

December 14, 2017 - 8:20pm, 6093 views

Hi guys,

Sometimes when I send an HTTP post, it happens that after sending AT^SISW: x,0,1, the EHS6 doesn't send the ^SISW x,0,0 response, even if I wait for several minutes.

Here is a log:

001976630: Sending AT^SCFG="Tcp/WithURCs","on"

001976710: RX: ^SCFG: "Tcp/WithURCs","on"

OK

001976830: Sending AT^SICI=1

001976890: RX: ^SICI: 1,2,0,"***.***.***.***"

OK

001977010: Sending AT^SISS=2,srvType,Http

001977080: RX: OK

001977200: Sending AT^SISS=2,conId,1

001977270: RX: OK

001977390: Sending AT^SISS=2,cmd,"post"

001977460: RX: OK

001977580: Sending AT^SISS=2,address,"http://******************************"

001977730: RX: OK

001977850: Sending AT^SISS=2,hcContLen,148

001977930: RX: OK

001978240: Sending AT^SISO=2

001978310: RX: OK

001978350: RX: ^SIS: 2,0,2200,"Http ***.***.***.***"

001978370: RX: ^SISW: 2,1

001978430: Sending AT^SISW=2,148

001978490: RX: ^SISW: 2,148,0

001978500: writing post data

001978850: RX: OK

001978880: RX: ^SISW: 2,1

001978970: Sending AT^SISW=2,0,1

When the problem occurs, after that point I don't get any messages from EHS6.

So I did one little test. After waiting 15 minutes without receiving any message, I removed the SIM card, and then the following messages were received:

^SISW: 2,0,0

OK

^SISW: 2,2

^SIS: 2,0,2200,"HTTP POST: http://***************************"

^SIS: 2,0,8002,"HttpHTTP POST: IllegalArgumentException Socket-Error:94"

It seems EHS6 didn't send the URCs for some reason. I'm not sure either if the exception message is due the card removal, or if the exception is making the EHS6 to get stuck.

Any ideas?

Response from ATI1:

Cinterion

EHS6

REVISION 03.001

A-REVISION 00.000.55

Thanks in advance for your help.