Conversation
e7ef00f to
e3b67a8
Compare
|
Are we sure we should not respond to |
mchitre
left a comment
There was a problem hiding this comment.
Are we sure we should not respond to alive messages in fjågepy?
I guess we missed capturing this in the Gateway spec. Who's the first to send All we currently mention is
|
As soon as a slave connected, master says: If the slave does not respond to this within a timeout (15 seconds or so), master drops the connection. |
|
Most Gateways start by sending a |
Yes, I believe so. Because this validates the gateway as alive. |
Improvements to fjagepy coming in mainly from issues/warnings found downstream in https://github.com/org-arl/unetsockets/tree/master/python/unetpy
Updated the
_msg_rxmethod inGateway.pyto ignore incoming messages with the exact content{"alive": true}, preventing unnecessary processing ofalivemessages.Refactored the
__str__and_repr_pretty_methods inMessage.pyto provide clearer and more informative string representations of messages, including handling cases with empty content and improving pretty printing.Added an
agentTypesfield to theJSONMessageclass to support lists of agent types in message payloads.