What is the maximum size of a Message?

Indeed, what is the theoretical maximum size of an incoming message sent by a bulb?

This relates to being able to define and size byte buffers for receiving UDP datagrams


I haven’t really calculated it, my guess is the biggest message right now would be the Device::EchoResponse or Device::EchoRequest. However it could change in the future.

If you have the space I would suggest using the MTU of 802.11 which is 1500.