Skip to content

Fire Alarm Package (Doorswitch) and return to WatchDog mode #896

Answered by CK1-CK
CK1-CK asked this question in Q&A
Discussion options

You must be logged in to vote

I have found a solution for my problem.

Before i queue a new package now i clear the send-queue.

os_clearCallback(&sendjob); //Clear the SendQueue
https://github.com/CK1-CK/Arduino-Pro-Mini-LoRa-Sensor-Node/blob/118f4fa760f954668719d641ad45afbbb99f5890/src/lorawan.cpp#L163

With this I ensure that the OS does not get confused/muddled.

Thank you for the effort you make!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@terrillmoore
Comment options

Answer selected by CK1-CK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants