Skip to content

Conversation

@cachebag
Copy link
Owner

@cachebag cachebag commented Dec 20, 2025

Overview

This PR introduces support for Bluetooth devices. This includes:

  • DUN and PANU identification and support
  • Proper error types for respective methods
  • Fetching of external properties via BlueZ over D-Bus (in our case, we want to grab the name/alias, which isn't actually exposed via NetworkManager)

Of course, unit + integration tests were also added where necessary.

Other

This PR also includes some various household items like updating the CHANGELOG.

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
@cachebag cachebag self-assigned this Dec 20, 2025
@cachebag cachebag added the core Changes needed for the dbus proxy or general app functions. label Dec 20, 2025
@cachebag cachebag changed the title [WIP} nothing to see here feat: bluetooth device support (DUN and PANU) Dec 20, 2025
@cachebag cachebag marked this pull request as ready for review December 20, 2025 06:10
This commit also marks various structs/enums as `non_exhaustive` so as to avoid breaking the public API
@cachebag cachebag added the api-break Breaking changes, major version bump required. label Dec 20, 2025
@cachebag cachebag added this to the 2.0.0 milestone Dec 20, 2025
@cachebag cachebag changed the base branch from master to 2.x-dev December 20, 2025 17:02
@cachebag cachebag merged commit 90193d6 into 2.x-dev Dec 20, 2025
9 of 10 checks passed
@cachebag cachebag deleted the dev branch December 20, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-break Breaking changes, major version bump required. core Changes needed for the dbus proxy or general app functions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant