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

Gatt Callback error 4 - Can't connect to a device #249

Closed
zmehic opened this issue Mar 20, 2023 · 1 comment
Closed

Gatt Callback error 4 - Can't connect to a device #249

zmehic opened this issue Mar 20, 2023 · 1 comment

Comments

@zmehic
Copy link

zmehic commented Mar 20, 2023

When I try to connect the app to my device using bluetooth I get an error saying: Gatt Callback error 4, I didn't make any code adjustements.
335008255_145389074849819_4299079174395490265_n

@VladislavAntonyuk
Copy link
Owner

VladislavAntonyuk commented Mar 20, 2023

Try connect to your device using OS first. Maybe some pairing issues.

Also make sure you granted all permissions.

As you are not able to connect the issue happened in MainViewModel: adapter.Connect method. In sample I use Plugin.BLE package. It is still in preview for MAUI. Maybe there is a known issue.

@VladislavAntonyuk VladislavAntonyuk closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2023
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