Shelly devices support json rpc over udp. It is quite nice to use those apis and the resulting client code is surprisingly light weight and robust.
However, there are two things that worry me:
a) what about datagrams bigger then MSS? Here the risk of losing the whole datagram doubles, triples, … Locally, it may not be so bad when one can use jumbo frames, but one the internet, it will be 1452 bytes per Datagram, before fragmentation happens
frnkng•49m ago
However, there are two things that worry me:
a) what about datagrams bigger then MSS? Here the risk of losing the whole datagram doubles, triples, … Locally, it may not be so bad when one can use jumbo frames, but one the internet, it will be 1452 bytes per Datagram, before fragmentation happens
b) how to handle encryption and authentication?