-
Notifications
You must be signed in to change notification settings - Fork 279
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
Check-in command support #446
Conversation
bdfb4bc
to
a459308
Compare
Good point, we can do this in the
Can be solved easily by adding I see the tests are currently failing, can you update these and make sure the new code is covered? Use |
a459308
to
365d8de
Compare
Take a look at
Done, although tests fail on master right now. |
Sorry for the failing tests, I've fixed this now in master. |
365d8de
to
5f6206a
Compare
It happens - I was going to submit a fix, but you beat me to it. :) Rebased. Now we're just failing a lint on a file that hasn't been changed. |
It fails in |
The genPollCtrl checkin command is used by end-devices to occasionally give their clients control over their poll mode in order to communicate with them reliably. Utilize this to reliably sync pending messages.
5f6206a
to
1b974b9
Compare
... Apologies, I must have forgotten to put my eyeballs back in. You're right, and fixed. |
Haha 👀 , thanks! |
This implements support for receiving and responding to check-in commands. If there are any pending messages, fast poll is requested and the queue is emptied. Otherwise, fast poll is declined.
Notes:
Comments welcome.
Related to #445