2026-05-08 1:09 AM - last edited on 2026-05-08 1:24 AM by Andrew Neil
Split from ST87M01 : MAX length of the data returned by AT#IPREAD - which is solved.
This is, indeed, a new question.
Hello Didier,
I have an additional question on this topic (I don't know if I should create a new post, but this question is very much linked to the previous one...) :
- From the ST87MXX AT Command User Manual §9.8 AT#IPSENDUDP, the max IP frame size is 1400 bytes
- But from ST87MXX TCP/UDP-IP Application Note §3.2 IP default parameters command, the max IP frame size is 1600 bytes,
Is there a mistake in one of these documents, or is there something that I didn't understand ?
Best regards
Thierry
Solved! Go to Solution.
2026-05-11 8:27 AM
Hello Thierry Didi,
Well done, it is better to open a new topic if the question is different and especially if an answer has already been accepted.
There is no mistake in the documents, the max length for receiving or transmitting are not the same.
For sending data, in order to be compliant with all the networks, we have aligned the max length to a single standard IP frame (1400 bytes). Then, you have to subtract the header size (28 bytes in IPv4 and 48 bytes in IPv6).
Based on that, we have decided to limit the AT#IPSENDUDP length to 1340 bytes.
For receiving data, the limitation is more linked to ST87M01 internal architecture. The design has been made to support 1600 bytes at once, but as mentioned in the previous thread, you will get an URC message if there are more data to receive.
Note that the effective size of the packet is often limited by the network MTU.
2026-05-11 8:27 AM
Hello Thierry Didi,
Well done, it is better to open a new topic if the question is different and especially if an answer has already been accepted.
There is no mistake in the documents, the max length for receiving or transmitting are not the same.
For sending data, in order to be compliant with all the networks, we have aligned the max length to a single standard IP frame (1400 bytes). Then, you have to subtract the header size (28 bytes in IPv4 and 48 bytes in IPv6).
Based on that, we have decided to limit the AT#IPSENDUDP length to 1340 bytes.
For receiving data, the limitation is more linked to ST87M01 internal architecture. The design has been made to support 1600 bytes at once, but as mentioned in the previous thread, you will get an URC message if there are more data to receive.
Note that the effective size of the packet is often limited by the network MTU.
2026-05-11 11:05 PM
Thanks Didier, It is clear,
Best Regards
Thierry