Thanks for the answer. Related to this, once subscribed to gateway/+/state/conn topic in order to monitor gateway status, I do not receive state value in json content when a gateway goes offline. Is this correct?
I’m receiving state: ONLINE when a gateway is connected, but if it disconnects, I only receive gatewayId: <id>, without state param inside JSON payload. Is this ok?
Yes, that might be correct. As Protobuf does not send default values, the field might not be set. When decoding the value using the Protobuf definition, it would set the default value, which is OFFLINE.