Skip to content
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

[Q] How to know when packet was not ack? #313

Open
brodrigz opened this issue Sep 16, 2024 · 0 comments
Open

[Q] How to know when packet was not ack? #313

brodrigz opened this issue Sep 16, 2024 · 0 comments

Comments

@brodrigz
Copy link

brodrigz commented Sep 16, 2024

Apparently it is the user's responsibility to store and re-publish packets that did not get acked at qos1/2 (#58)

But how can we detect when a packet did not get acked via API?

The publish method will return 0 when the packet failed to send, but what about the packet being successfully sent and not getting acked?

Is the only way really just to watch if the onPublish method did not got called for that packetId?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant