Using a standard format for args passed to callback functions #301
Labels
Backend: BlueZ
Issues and PRs relating to the BlueZ backend
Backend: Core Bluetooth
Issues and PRs relating to the Core Bluetooth backend
Backend: pythonnet
Issues or PRs relating to the .NET/pythonnet backend
enhancement
New feature or request
bluetoothctl -v
) in case of Linux: N/ADescription
Using the
register_detection_callback()
function to handle discovery of devices for a service, tested so far on macOS and Linux, raises the possible issue that the callback is sent different arguments depending on what backend of Bleak is being used:CoreBluetooth
BluezDbus
DotNet
Would it make sense in the bleak roadmap to use a standardized json or dictionary structure that would be passed to the callback function with all the pertinent data to avoid having to breakdown the
*args
depending on what platform is used to improve the platform-agnostic-ity of Bleak? If so, I'm happy to help implement the feature.What I Did
N/A
The text was updated successfully, but these errors were encountered: