HL7588 - Using Direct Data Flow in Server Mode

I am using a Sierra Wireless HL7588 module that is included in the Nimbelink Skywire NL-SW-LTE-S7588-T.

I would like to make use of Direct Data Flow mode. The problem seems to be when trying to use AT+KTCPSTART when I have the TCP connection set up in server mode. I can successfully use Direct Data Flow Mode and KTCPSTART when I am configured as a client. Below is a capture of the AT commands and the responses I get when trying to do this. You can see, I set up both a client and server connection. I then start the client connection successfully using KTCPSTART, send some data, and then close the connection. I do the same steps when trying to start the server mode using KTCPSTART but get an error returned.

WinTX New Capture Started: 8/27/2020 10:38:34 AM
AT+KTCPCFG?

+KTCPCFG: 1,0,1,1,"",12345,0,0,0 //SERVER CONFIG
+KTCPCFG: 2,0,1,0,β€œ47.222.66.242”,12345,2045,0,0,0 //CLIENT CONFIG

OK
AT+KTCPCSTART=2

+KTCP_NOTIF: 2,5
AT+KTCPSTART=2 //START DIRECT DATA MODE CONFIGURED AS CLIENT

+KTCP_IND: 2,1

CONNECT //SUCCESSFULLY CONNECTED TO SERVER
hello+++
+++

OK

+KTCP_DATA: 2,1

+KTCP_DATA: 2,2

+KTCP_DATA: 2,1

+KTCP_DATA: 2,1

+KTCP_DATA: 2,1

+KTCP_DATA: 2,1

+KTCP_DATA: 2,1

+KTCP_DATA: 2,1

+KTCP_DATA: 2,1

+KTCP_DATA: 2,1

+KTCP_DATA: 2,1

+KTCP_DATA: 2,1
AT+KTC{PCLOSE=2 //CLOSE CONNECTION

OK

+KCNX_IND: 1,5,30

AT+KTCPCFG?

+KTCPCFG: 1,0,1,1,"",12345,0,0,0 //SERVER CONFIG
+KTCPCFG: 2,0,1,0,β€œ47.222.66.242”,12345,2045,0,0,0 //CLIENT CONFIG

OK
AT+KTCPSTART=1 //START DIRECT DATA MODE CONFIGURED AS SERVER

+CME ERROR: 910 //ERROR

+KCNX_IND: 1,0,0

My question is, is it even possible to use Direct Data Flow mode as I am trying to do? If so, what am I doing wrong ?

Hi @aaron.mcneil

Which firmware version are you using (ATI3)? If you are not in the latest firmware, please download the latest one and retry.

You can get it here https://source.sierrawireless.com/resources/airprime/software/hl7588-firmware/#sthash.I6wqANCZ.dpbs

Hi @Donald,

I tried upgrading the firmware and still get the same results. I am able to use AT+KTCPSTART when using as a client, but get an error returned when trying to as a server.

Hi @aaron.mcneil

It is a normal behavior. You cannot start a TCP Connection in Direct Data Flow (KTCPSTART) with only a server configuration.
You need a TCP connection between the client and the server to start a TCP Connection in Direct Data Flow (KTCPSTART).

Please help to tick β€œSolution” if your question is answered.

1 Like