New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTTSN Gateway -- First publish from broker is ignored. #36
Comments
I have no hint. Could you insert lines as follows to developmeny branch of my repo. and test again? The result will help me to find the root cause.
|
The developmeny doesn't do it. Since it was extremely consistent before, I think it is fixed there. That branch also doesn't have the seg fault, I'm guessing there was corruption previously. |
Fine, i pushed it to gateway branch. |
Ah, it came back ... I guess it isn't as easy to reproduce as I thought, though once it starts happening it stays happening for that run. I've added your changes and will see if I can get a log of it happening |
Seems well fixed now. |
Gateway v0.9.0 (the pull request)
Look at the following log. This behaviour is consistent. Only look at "AnotherClientID". We are publishing the values '0' and '1' (hex 30 and 31) on topic "test2/pin/12". We send "1" from the broker, the gateway sends "1". We send "0", the gateway sends "1" again. We send "0" again, the gateway sends "0". After the first publish this will be consistent; the first publish will send the previous value, the next publish will send the updated value. It is easy to see as the value send is the last byte in every publish (broker->gateway or gateway->end)
The text was updated successfully, but these errors were encountered: