The Things Node CayenneLLP example always shows "Moving now: no" in the debug serial output because the callback function is executed before the motionStarted flag is set. This flag should be set before callback execution so that motion callbacks are run after the state is mutated.
The Things Node CayenneLLP example always shows "Moving now: no" in the debug serial output because the callback function is executed before the
motionStarted
flag is set. This flag should be set before callback execution so that motion callbacks are run after the state is mutated.