-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Wisblock-Kit-2-PIO functionality #3
Comments
ATC+SENDINT=xx sets a timer that wakes up the device every xx seconds and calls app_handler() to do whatever you want it to do. xx = 0 stops the timer. I am not sure where and why you have a |
Thanks for the reply! This is the "delay"that puzzles me |
🤣 The accelerator can trigger a wake-up on every movement, but it is not advisable to send a packet every time the device moves. On a motion trigger from the acceleration sensor the code checks how long ago the last location message was sent. If it is less than 45 seconds, it ignores the motion and goes back to sleep.
|
Ok, cool! Now it makes sense. Next issue/question: Iv got a interrupt working from accelerometer, but only once!? Shouldn't the clear_acc_int() be added to main to clear it after its been triggered? Let me know if you prefer posting in the forum instead! Thanks! |
I see that in most parts of the code I have the ACC interrupts disabled (commented out). Honestly, I don't remember why. You might have a look into LPWAN-Tracker-Solution, it is a more updated version. |
Hi, testing the example Wisblock-Kit-2-PIO on a RAK4631 device and having some questions on functionality.
Wanted function:
Maybe I misunderstood the functionality, any feedback would be appropriated for my understanding.
Thanks!
The text was updated successfully, but these errors were encountered: