Skip to content
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

Read Flow consumed without a consumer #4

Open
picobulgarelli opened this issue Apr 12, 2021 · 1 comment
Open

Read Flow consumed without a consumer #4

picobulgarelli opened this issue Apr 12, 2021 · 1 comment

Comments

@picobulgarelli
Copy link

Hello dev, this is not really an issue and maybe I didn’t understand correctly the nature of the channelFlow used in the readByteArrayStream function. In few words I created a Service to share the socket between activities but switching from an activity to another I loose some message. I tried to write on stackoverflow but it seems that no one knows your lib. Take a look here to check the code I wrote: https://stackoverflow.com/questions/66965201/i-loose-data-from-bluetooth-moving-between-activities-and-using-services?r=SearchResults

Anyway a read example would be appreciated.
Thank you

@ThanosFisherman
Copy link
Owner

Hello, sorry about the incomplete docs. I made this lib to support one of my projects. Never thought there would be interest from other developers.

Please give me some time to look into your issue and try to post back. Keep in mind that many Bluetooth devices need some sort of queueing + delay mechanism that this lib does not support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants