-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to keep reading data constantly? #63
Comments
I'm not sure about the API, could you post an example? |
I was looking for something like an event, I've tried the usb_serial package and it's port object has an event that triggers a function whenever it listens to data.
|
That would be a big feature request. I'm not sure I have enough time for cross-platform implementation. PRs welcome |
Ah sure, just needed to know if there was an existing implementation for the same. |
I'd like to leave it open for future implementation |
In my case, data is inputted erratically through the serial port to my android device, thus the bulkTransferIn function doesn't really suite my purpose. Plugins like usb_serial let you specify a function to be run whenever the android device receives any data through the serial device. Should I run the bulkTransferIn function on a loop or is there a better way to achieve my purpose using this plugin?
The text was updated successfully, but these errors were encountered: