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

Add Initial Bluetooth Functionality for BLE Device Scanning and Connection #1

Merged
merged 9 commits into from
Nov 3, 2024

Conversation

Romasav
Copy link
Collaborator

@Romasav Romasav commented Nov 3, 2024

Summary

  • Added Bluetooth functionality to enable communication with external BLE devices, setting up the initial foundation for Bluetooth connectivity within the app. This includes scanning for devices, connecting, handling permissions, and reading data from the connected device.

Changes

  • Implemented Bluetooth scanning and connection logic.
  • Added permissions in Info.plist and AndroidManifest.xml for both iOS and Android platforms to support BLE functionality.
  • Created a reusable structure for managing Bluetooth connections within the app, including handling different Bluetooth states.

Testing

  • Android: Successfully tested Bluetooth scanning and connectivity on Android devices, verifying permission prompts and connection stability.
  • iOS: Testing on iOS requires a physical device and a developer account due to limitations of the iOS simulator.
  • macOS: macOS testing requires enabling Bluetooth permissions in App Sandbox, which also requires a developer account.
  • Verified data reading from a connected BLE device to ensure stable data flow.
  • Conducted manual tests to confirm permission prompts, connection stability, and error handling when no devices are found.

@Romasav Romasav merged commit 773999c into dev Nov 3, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant