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

Change to CayenneLPP sample for moving function #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stevejcl
Copy link

@stevejcl stevejcl commented Jun 6, 2018

Add some changes also in TheThingsNode.cpp to get timing watchdog works ok with USB connected

stevejcl added 2 commits June 6, 2018 14:39
Correctly set watchdog state after reset.
Add param initialisation in ConfigInterval for USB Mode
Check if INTERVAL has been achieved : USB mode
After first moving detected, a timeout (MOVE_TIMEOUT) is set to not send a new moving if some stop occur during this timeout, the timeout is reset after each stop.
Add two params in the case of the node is Always Moving and stop.
So after MAX_NBSTART restart detected during MOVE_TIMEOUT time, the node will send data after the second timeout MOVE_INTERVAL has expired.
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

Successfully merging this pull request may close these issues.

1 participant