Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4894

General • Re: Need advice on sending image data from a Pi5 to several Picos

$
0
0
I have no idea how much data can be sent using 'sendto', whether it splits up larger packets or you would have to.
Right - I believe datagrams are limited to single packets (around 1500 byte).

Ideally, I'd find a protocol that can queue (and re-assemble) larger data packets, but without the overhead of TCP (no need for re-transmits if a dgram is lost). But I can also handle this myself with UDP if nothing better comes up.
Use MQTT. The RPi publishes the picture the picos subscribe to the topic that the RPi publishes.
According to the intro docs, MQTT is meant for small data packets, so it may not be right for my img trf needs, but thanks for pointing it out regardless - I may still make use of this for other purposes (I need to also do more comms between the devices, after all).

Huh - OTOH, the thread you link to suggests that it works with larger data. I'll give it a try.

Statistics: Posted by tem_pi — Sat Jul 20, 2024 12:24 pm



Viewing all articles
Browse latest Browse all 4894

Trending Articles