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

You are here

Error "An established connection was aborted, possibly due to a data transmission" | Thales IoT Developer Community

March 12, 2015 - 4:29pm, 4509 views

I am trying to establish tcp connection by using your tutorial (https://iot-developer.thalesgroup.com/tutorial/concept-board-internet-se...).

This is my configuration:

at^scfg?

^SCFG: "Call/ECC","0"

^SCFG: "GPRS/AutoAttach","enabled"

^SCFG: "Gpio/****/ASC1","std"

^SCFG: "Gpio/****/DAI","gpio"

^SCFG: "Gpio/****/DCD0","std"

^SCFG: "Gpio/****/DSR0","std"

^SCFG: "Gpio/****/DTR0","std"

^SCFG: "Gpio/****/FSR","gpio"

^SCFG: "Gpio/****/HSIC","rsv"

^SCFG: "Gpio/****/PULSE","gpio"

^SCFG: "Gpio/****/PWM","gpio"

^SCFG: "Gpio/****/RING0","std"

^SCFG: "Gpio/****/SPI","rsv"

^SCFG: "Gpio/****/SYNC","gpio"

^SCFG: "Ident/Manufacturer","Cinterion"

^SCFG: "Ident/Product","EHS6"

^SCFG: "MEShutdown/Fso","0"

^SCFG: "MEopMode/SoR","off"

^SCFG: "Radio/Band","511"

^SCFG: "Radio/OutputPowerReduction","4"

^SCFG: "Serial/Interface/Allocation","1","1"

^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""

^SCFG: "Tcp/IRT","3"

^SCFG: "Tcp/MR","10"

^SCFG: "Tcp/OT","6000"

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

^SCFG: "Trace/Syslog/Otap","0"

^SCFG: "URC/Ringline","local"

^SCFG: "URC/Ringline/ActiveTime","2"

^SCFG: "Userware/Autostart","1"

^SCFG: "Userware/Autostart/Delay","0"

^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"

^SCFG: "Userware/DebugMode","on"

^SCFG: "Userware/Passwd",

^SCFG: "Userware/Stdout","null",,,,"off"

^SCFG: "Userware/Watchdog","0"

 

OK

at^sics?

^SICS: 0,"conType","GPRS0"

^SICS: 0,"user","*****"

^SICS: 0,"passwd","*****"

^SICS: 0,"apn","testipaddress.com"

^SICS: 1,"conType",""

^SICS: 2,"conType",""

^SICS: 3,"conType",""

^SICS: 4,"conType",""

^SICS: 5,"conType",""

 

OK

at^siss?

^SISS: 0,"srvType",""

^SISS: 1,"srvType",""

^SISS: 2,"srvType","Socket"

^SISS: 2,"conId","0"

^SISS: 2,"address","socktcp://x.x.x.x:p"

^SISS: 2,"tcpMR","10"

^SISS: 2,"tcpOT","6000"

^SISS: 3,"srvType",""

^SISS: 4,"srvType",""

^SISS: 5,"srvType",""

^SISS: 6,"srvType",""

^SISS: 7,"srvType",""

^SISS: 8,"srvType",""

^SISS: 9,"srvType",""

After command at^siso=2, I always get "OK".

But, if I type "at^siso?", srvState is always 3 (which means connecting)

After some time I get an error "An established connection was aborted, possibly due to a data transmission".

But, if I now type "at^siso?", srvState is 6  (which means down)

What am I doing wrong?