This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160 packet data receive buffer size

What is the receive buffer size for IP packet data, i.e. how many bytes of data can the modem receive (in one or several UDP packets) before I call recv() or recvfrom() on the UDP socket? I cannot find any Information on that in the product specs. Are things like this documented somewhere and where can I get such information?

Parents Reply
  • OK, thanks. Actually I am interested in the cumulative size of packets that can be buffered by the modem. The maximum IP packet size is not necessarily the same as the modem's receive buffer size. I do not expect packets larger than the MTU size anyway, because I don't want to handle arbitrarily fragmented packets. But I expect to receive more than one packet within short time.

    So for example, if the modem receives a burst of 512-byte packets, how many of them can the modem store before packets are dropped or I call recv()? Is it 8 packets? Of course I could try to determine this limit experimentally, but I prefer solid data ;-)

Children
Related