-
Notifications
You must be signed in to change notification settings - Fork 202
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 a python-interface section #301
Conversation
How to enable Bluetooth 5.1 support in Windows and Linux?
|
Closing this PR as a similar code has been committed here. |
@pvvx I'm not sure if Windows allows this (easily). I cannot understand this from your link. You are sending HCI commands via hcitool to preconfigure the BLE device to accept LE Coded advertisements. I think that this will affect all subsequent BLE operations on the configured device. Bleak is just a Python BLE client interface that relies on backends. I do not think device configuration could be within its scope and still cannot issue HCI commands directly. I'm afraid Windows doesn't have an equivalent tool to hcitool. |
The BLE adapter from BT5.0 version is assigned Today - the availability of the PHY switching / configuration API for working with commands for the BT adapter:
|
The scan command in BT5.0+ requires the assignment of a secondary and primary PHY. If this is not the case, then there is no support for BT 5.0 (2016). Linux simply doesn't have a command-line interface to work with the new parameters.
The old ones are outdated (2017), but the new ones haven't been created yet. |
I think that also the Android smartphone needs to be able to scan using the primary Coded PHY. Possibly few devices really support this. Not Motorola Edge 20 Lite for instance. Also: |
Thanks for this repo.
This PR proposes adding a python-interface section, which provides Python components to represent the data model of the custom firmware, as well as a documented interface and a testing tool to decode, show and edit the BLE advertisements delivered via the custom firmware.
The main element is the symmetric Python library that declaratively defines a data structure describing all the advertisement frames produced by the custom firmware.
The testing tool is an easy-to-use BLE Advertisement Browser GUI.