Replies: 1 comment 1 reply
-
According to what we've seen in #117 you results may likely vary: macOS interprets If you're talking about a single platform and a certain device driver, you might get away with it. But I would not rely on the behavior observed on one setting to be the same in another. I'm sorry for this kind of bad news. However depending on your application you might be able to sort this out by waiting for some time after flushing the data in question: You know baudrate and can make a rough estimate on your system latency. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to understand how
.flush()
behaves for USB CDC devices. Does it block until the data has been sent to the USB device? Or is there an intermediary buffer somewhere? I.e., can I use this blocking behaviour to infer latency? Or is this platform-dependant?Beta Was this translation helpful? Give feedback.
All reactions