gw.process -- how often this should be run?
-
[http://www.mysensors.org/download/sensor_api_15] 'Nodes that expects incoming messages, such as an actuator or repeating nodes, must check for new messages frequently'.
Any idea how often gw.process() should be called to not miss any messages?
-
I'm not sure. But the messages might be buffered. I always use the gw.wait(); in my main loop, because it delays the loop but keeps checking for messages while it's executing the delay.
-
How do you use gw.wait(ms) with the library version 1.4? [http://www.mysensors.org/download/sensor_api_14]
Is it implemented at all in this version? Switching to 1.5 at this point (of miserable HW development) is not appealing at all:expressionless:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login