Skip to content

Conversation

@cachebag
Copy link
Owner

No description provided.

also writes in field and display for Bluetooth device type
- Implement Bluetooth connection logic
- Add BlueZ D-Bus integration for device name/alias retrieval
- Create Bluetooth connection builder with PANU/DUN support
- Add `ActiveTransport` trait for unified connection monitoring
- Refactor WiFi monitoring functions into `wifi.rs` module
- Add `BluetoothDevice`, `BluetoothIdentity` models
- Implement `list_bluetooth_devices()` API
- Add `bluetooth` and `bluetooth_connect` examples
- Update `connection.rs` to use `ActiveTransport` trait
This commit also marks various structs/enums as `non_exhaustive` so as to avoid breaking the public API
- We now list bluetooth devices based on their capabilities, which requires us to proxy the Bluetooth interface of course
- Refactored `forget()` to target more than just wifi devices, as with the case in bluetooth devices, we dont actually need all the fields wifi does
- Changed the `BluetoothDevice` model to take `bt_caps` instead of the `bt_device_type` which is canonical with what NM expects from Bluetooth devices (since we can just grab the type whenever we want via `DeviceType` in `NMDeviceProxy`)
- Other pedantic changes to tests, and docs due to changes above
@cachebag
Copy link
Owner Author

Just testing stuff

@cachebag cachebag closed this Jan 12, 2026
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