Closed Gaff closed 6 years ago
...I appreciate this bug might have not have been the cause of my issues - but can I humbly suggest you accept this MR anyway? It's a bit confusing to have an embedded single-threaded device send messages out of order and this fix is pretty trivial!
It's actually the question what the order "should be". msgID is not order number....
It could be if you applied this fix ;)
I guess the point is what is least surprising. I was rather surprised that the messages were sent out of order. It's not hard to fix :p
@Gaff sorry, not enough evidence this is really needed. msgID was never intended to be "sequence number"... Closing for now, but we may decide to apply your fix later. Thanks!
I found that messages were sometimes being sent out of order - which seems to confuse the android app in BLE mode. It's a simple bug to fix!
Note that the code would be much kinder if it allowed up to
BLYNK_MSG_LIMIT
messages through before delaying?