BX310x +KTCPSTART data limit?

Greetings,

is there a maximum limit for the data to be sent in +KTCPSTART direct data mode? It seems that 3500 bytes can be transmitted ok, but if I try to send something like 7300 bytes then the module responds with “NO CARRIER”.

Hi @Repa,

Could you please let me know which Firmware you are using, is it the latest one. If not, please install the lasted Firmware.
When you do send data with length of 7300 bytes and module respond “NO CARRIER”, it may be due to network issue.
How many times have you tried sending, always showing the error or sometimes not?
Also, have you tried using +KTCPSND, does the module respond “NO CARRIER”?

Thanks,

Greetings,

I think I am getting the hang of the actual problem.

It seems that, if the client closes the connection (BX310x is acting as a server in this case), then there will be the “NO CARRIER” message following a +KTCP_NOTIF notification of the client close.

Where this all originates is that whenever there is an active data connection activated with +KTCPSTART, the +KTCP_DATA notifications of the other sessions are suppressed i.e. the “+KTCP_DATA: , ” is not coming from the module. Thus there is no information of which session the incoming data notification is related to, see below. The active data connection has session id 6. The first GET request (/trend.svg) is in reality for session id 7, the second GET request (/log.svg) is for session id 8 and the last GET request is for session id 9.

+KTCP_SRVREQ: 1,7,“192.168.4.2”,59054

+KTCP_SRVREQ: 1,8,“192.168.4.2”,59056
GET /trend.svg HTTP/1.1
Host: 192.168.4.1
Connection: keep-alive
User-Agent: Mozilla/5.0 (Linux; Android 11; SM-A705FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Accept: image/avif,image/webp,image/apng,image/svg+xml,image/,/*;q=0.8
Referer: http://192.168.4.1/
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8

+KTCP_SRVREQ: 1,9,“192.168.4.2”,59060
GET /log.svg HTTP/1.1
Host: 192.168.4.1
Connection: keep-alive
User-Agent: Mozilla/5.0 (Linux; Android 11; SM-A705FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Accept: image/avif,image/webp,image/apng,image/svg+xml,image/,/*;q=0.8
Referer: http://192.168.4.1/
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8

GET /cogwheel.svg HTTP/1.1
Host: 192.168.4.1
Connection: keep-alive
User-Agent: Mozilla/5.0 (Linux; Android 11; SM-A705FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Accept: image/avif,image/webp,image/apng,image/svg+xml,image/,/*;q=0.8
Referer: http://192.168.4.1/
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8

The firmware version is:

Sierra Wireless Copyright 2018
BX310x.2.6.3