sending two messages one after another
-
Hi,
in my node I send two messages with ack=1 one after another. And it seems that most of the times the second one gets NACK. Is it possible that the gateway ACK message for the first node message gets into collision with the second node message ? I'm using RFM69 as a transport, does this transport handle collisions by itself ?
-
I could be, maybe you can add a little delay between sends if they get sent too quickly one after the other
-
I implemented the message queue so the queue does not send another message until it gets ack from gateway. Now it seems that everything is ok.
-
@rozpruwacz can you share your implementation details?
-
@rozpruwacz I'd love to see how you implemented that as well!
-
I have implemented it in form of library. The library is here https://github.com/mczerski/MySensorsToolkit and example project that uses this library is here https://github.com/mczerski/MyDimmer. The actual logic is implemented here https://github.com/mczerski/MySensorsToolkit/blob/master/src/MySensorsToolkit/Message.cpp
This implementation is not using software ack because i do not use repeaters in my setup and i believe that for such setup software ack will make no difference.
-
Hello all,
is this solution added to the standard MySensor library?
If so, in which version is it implemented?I want to be sure there are no missing messages when having a list of messages to be sent.
many thanks in advance