You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem to be aware of is that Read() is a blocking call. So it will block until we receive data.
Startup of the library should work something like this:
Open the port
Read all in the buffer and throw it away! (All this data is old and buffered by the kernel)
When no data has been received for a customizable time continue
Start reading and forward the data to the rest of the library
The important part here is that we want to throw away everything that has been buffered by the kernel before we start communicating with the zwave-controller
The text was updated successfully, but these errors were encountered:
The problem to be aware of is that Read() is a blocking call. So it will block until we receive data.
Startup of the library should work something like this:
The important part here is that we want to throw away everything that has been buffered by the kernel before we start communicating with the zwave-controller
The text was updated successfully, but these errors were encountered: