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 characteristic in background? #1227

Open
4 tasks done
lucasmrau opened this issue Jul 20, 2024 · 2 comments
Open
4 tasks done

Read characteristic in background? #1227

lucasmrau opened this issue Jul 20, 2024 · 2 comments
Labels

Comments

@lucasmrau
Copy link

Prerequisites

  • I checked the documentation and FAQ without finding a solution
  • I checked to make sure that this issue has not already been filed
  • I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow.
  • I'm running the latest version

Question

Someone already tested using with background-fetch to read from a device connected in foreground?

Question related code

No response

@contactsimonwilson
Copy link

I'm not using background fetch but I am using react-native-background actions to keep a task running indefinitely on iOS and Android that pulls data from a ble device at roughly 15Hz and also subscribes to location updates.

@lucasmrau
Copy link
Author

I'm not using background fetch but I am using react-native-background actions to keep a task running indefinitely on iOS and Android that pulls data from a ble device at roughly 15Hz and also subscribes to location updates.

Are you sending this to a database or saving locally in a state?

@contactsimonwilson

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

No branches or pull requests

2 participants