Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42f1d5fe authored by En-Shuo Hsu's avatar En-Shuo Hsu
Browse files

floss: Pass BluetoothAudioDevice as a dictionary

This change involves
- Uses BluetoothAudioDevice instead of separated field
  OnBluetoothAudioDeviceAdded signal.
- Attaches all A2dpCodecConfig instead of only the SBC one. This enables
  the capability for clients to choose which a2dp codec config to use.
- Implements a impl_dbus_arg_from_into macro for bitflags and other
  structs to implement DBusArg based on TryFrom and TryInto.

Tag: #floss
Bug: 192351068
Test: build, deploy, connect and check the dbus_monitor output.
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 char lines

Change-Id: I20842ea09f3d7b3619504d72b4bdd4fbc69349af
parent 10822aab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment