Hello! Can you help me?
I use the HL6528 module as the client to connect to the server.
When the server sends a packet data, the client received the packet data but does not respond + KTCP_DATA.
thank!
Hi phanhoang,
Could you please share with me your AT log? Could you succeed to send TCP data from your module? Or maybe you can try another TCP server?
ATI3
SIERRA HL6N,008.10.20CF.7436B
OK
AT+KIPOPT?
+KIPOPT: 0,“TCP”,0,0
OK
AT+KCNXCFG=1,“GPRS”,“cmnet”
OK
//=1, 0:Client, 0:Do not display in URC,0:Do not display URC +KTCP_ACK
AT+KTCPCFG=1,0,“xx.xx.xx.xx”,5045,0,0
+KTCPCFG: 1
OK
AT+KTCPCNX=1
OK
AT+KCGPADDR
+KCGPADDR: 1,“10.173.203.131”
OK
AT+KTCPCFG?
+KTCPCFG: 1,1,1,0,“xx.xx.xx.xx”,5045,0,0
OK
+KTCP_DATA: 1,6
AT+KTCPRCV=1,6
CONNECT
AAAAAA–EOF–Pattern–
OK
AT+KTCPSND=1,10
CONNECT
AAAAAAAAAA–EOF–Pattern-- //No CR/LF at the end.
OK
AT+KTCPCLOSE=1,1
OK
AT+KCGPADDR
OK
AT+KTCPDEL=1
OK