BC66 AT TCP Application, Can't receive more than 512 bytes at a time

Hi Everyone.

I am using the BC66 module with the TCP application (AT Interface) in HEX mode, and it works great, as long as the server does not send more than 512 bytes.

i have written an application that receives data from a server. but if the data is bigger than 512 bytes, the module only receives the first 512 bytes.

If the server chunk the bigger data packets into 512 byte chunks and have a small delay in between, the MCU can clear the buffer of the module in time and then it works.

Is this expected behavior?
Any other ideas to work around having to chunk server side?

Hi Thomsen
Currently TCP data_len=512
UDP data_len=2018
The server can only be distributed by subcontract.