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 BLE pairing code #40

Merged
merged 11 commits into from
Nov 16, 2023
Merged

Add BLE pairing code #40

merged 11 commits into from
Nov 16, 2023

Conversation

natekspencer
Copy link
Collaborator

No description provided.

doggkruse and others added 11 commits October 11, 2023 09:41
1) Remove use of global variables
2) Add typing
3) Remove scan_for_device() and require callers to pass in a bleak BLEDevice
4) Open bleak client by device (not by address)
5) Remove retry from pairing function and return status of pairing
6) Check that returned vehicle id matches expected (address todo)
1) general cleanup
2) handle notifications for separately per characteristic to avoid possible mixup
3) add notification timeouts
4) log exceptions
@natekspencer natekspencer merged commit f1e420f into main Nov 16, 2023
2 checks passed
@natekspencer natekspencer deleted the ble-pairing branch November 16, 2023 21:16
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.

2 participants