mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-05-21 23:05:19 +00:00
48b3f4e6bd
For the emergency communication, we need to ensure that all messages are transmitted (and received) correctly. We already check if a repeater acks our message, however a missing ack does not tell us if the message was lost, or the ack. For that, we repeat the message in this case, leading to potentially content-wise duplicated receptions on the network. To let the network depulicate the traffic, the re-transmissions need to be bit identical with the original message. For that, we compute a timestamp on initial send and use the same timestamp on re-transmissions (per message). This further allows clients to chronologically sort the received messages, making the result easier to read. Signed-off-by: Felix Moessbauer <felix.moessbauer@gmail.com>