NodeManager
NodeManager copied to clipboard
SensorInterrupt onLoop routine sends value
Hello I've made change that is maybe worth of discussion. The actual SensorInterrupt does send it's value only when the interrupt happens. But when the transmission fails for some reason then the value is not propagated to server not even on report interval.
So I've added the onLoop() method to SensorInterrupt.h.
Hi! A few comments:
- What if the transmission was successful, is a second transmission taking place anyway?
- Any risk for non-sleeping node that loop is executed continuously?
- Ensure the PR is against development branch not master Thanks!