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

Improve performance of converting raw BLE advertisements #462

Merged
merged 9 commits into from
Jul 9, 2023

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Jul 9, 2023

This is part of an effort to reduce latency to see the BTHome buttons since I noticed there was a bit of latency when testing

Avoids making a dataclass of BluetoothLERawAdvertisements that is immediately thrown away since the client wants a list of BluetoothLERawAdvertisement dataclasses and never sees BluetoothLERawAdvertisements

Rename everything using on_msg to a name that reflects what type of message is being processed to improve trace and profile discoverability

@bdraco bdraco merged commit 8ac62a3 into main Jul 9, 2023
@bdraco bdraco deleted the raw_ble_perform branch July 9, 2023 23:06
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