Right - I believe datagrams are limited to single packets (around 1500 byte).I have no idea how much data can be sent using 'sendto', whether it splits up larger packets or you would have to.
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.
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).Use MQTT. The RPi publishes the picture the picos subscribe to the topic that the RPi publishes.
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