Is there a way to flush the downlink queue for a certain device in console v3?
I cannot use, for some reasons, the CLI.
My problem is: there is a downlink payload with confirmation pending in the queue for a device, which, for some reason, actually cannot send the confirmation due to a radio problem. Thus, i must remove that payload from the queue some way…
Thanks for a tip how to proceed.
descartes
(Nick McCloud)
October 12, 2021, 7:05pm
2
I had this problem a few months back and had to use the CLI - I’m not aware of there being a solution via the console.
Why can’t you use the CLI? If it’s an issue with your network, can you use a different network - home, public or work?
Webserver for OAUTH is not starting on localhost when i use cli login.
descartes
(Nick McCloud)
October 12, 2021, 7:29pm
4
You can do that manually, see the note box at the bottom of about the flag:
https://www.thethingsindustries.com/docs/getting-started/cli/login/
And then there is:
https://www.thethingsindustries.com/docs/getting-started/cli/login/
but more likely, if the confirmation isn’t coming back so the downlink is stuck in some limbo state - not in the queue but still in the queue - Schrödinger’s Downlink if you will:
opened 10:58AM - 21 Jun 21 UTC
closed 11:00AM - 07 Jul 21 UTC
#### Summary
If firmware has a remote "reboot" command and the operator sends t… his as a confirmed downlink, both the device & stack end up in a perpetual loop as the downlink doesn't get ack'd so the stack resends the downlink, repeat ...
#### Why do we need this?
So when an operator fails to follow instructions, we can get them out of the mess
#### What is already there? What do you see now?
I tried adding a downlink to the queue with replace - didn't clear the expected ack, wasn't really expecting it to.
I tried a reset with --mac-state.pending-application-downlink but that didn't do what we needed
I tried resetting the MAC state but that means the join session was lost & we had to wait for the device to realise it was offline.
#### What is missing? What do you want to see?
CLI option to flush the entire downlink state
This may exist but I can't see which field is the way to go
#### Environment
TTS CE
#### How do you propose to implement this?
Sorry, above my pay grade
#### How do you propose to test this?
Once it's implemented
#### Can you do this yourself and submit a Pull Request?
No
1 Like
system
(system)
Closed
October 13, 2021, 7:29pm
5
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.