End to End TCP Connection by HL8548

I would like use the above Connection.
I use the AT Command Interface Guide point 20.6.4 without AT&K3
By the Command:
AT+KCNXCFG=1,“GPRS”,“zz.xxx.yyyyy”,“log”,“pin”,“IPV4”,“0.0.0.0”,“0.0.0.0”,“0.0.0.0”
AT+KTCPCFG=1,0,“111.80.90.100”,1000
AT+KTCPSTART=1
I get
+CME ERROR: 923 which meen “Error due to invalid state of terminate port data mode”
I do not understand.

Hi,
which FW version are you using? Can you try with the latest FW version?

Regards,
Alex

Hi Alex,
the modul use SW BHL85xx.5.5.4.0.201409051956.x6250_1
My problem is solved.
I put in this command “AT+KTCPCNX=1” in front of “AT+KTCPSTART=1” so I get a “CONNECT” after Start.
The next problem is to switch off the commandmode.
I put in “+++” like in the “AT Commands Interface Guide” but I do not get a OK from module.

Best Regards Uwe

There must be a guard period before and after +++, I think the guard period should be at least 1s.

It should also be possible to use the DTR pin to exit data mode, but I think you need to update the FW because I think there was some issues with that in the early FW releases.

Thanks for the answer,

my next issue is to close the connection.

I get following:
GSM: AT+KTCPCLOSE=1,1
GSM: AT+KTCPDEL=1
: 1,8 +KTCP_DATA: 1,8 +KTCP_DATA: 1,8 +KTCP_DATA: 1,8 +CME ERROR: 922
GSM: AT+KTCPDEL=1
+CME ERROR: 922
MAIN_STATE_START_SLEEP
GSM: AT+KTCPDEL=1
+CME ERROR: 922

It looks like if data in the pipe. How I have to pick up the data by an end to end connection.
How has an answer.

Uwe