Open jildertviet opened 2 years ago
Alive ping is: 'a' + 4 chars that form a float of the battery pct. So in OnDataRecv the first char 'a' is ignored as a valid messages.
This way Jonisks broadcast to eachother, but don't reset eachother idle-ness... 414f63b
A Jonisk starts broadcasting pings when it hasn't received msgs for x seconds. But when one does, another receives this, and thinks it isn't idle.
To do: ignore this type of message when determening if idle or not.