Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

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

March 12, 2015 - 4:29pm, 5976 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/mode/ASC1","std"

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

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

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

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

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

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

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

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

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

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

^SCFG: "Gpio/mode/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?