Skip to content

Simple Policy Bluez Logic

Julian Bouzas requested to merge julian/wireplumber:simple-policy-bluez into master

This MR adds new logic in the simple policy to handle Bluetooth endpoints in a smarter way. When a new endpoint is created, the linking logic follows this pattern:

New Client endpoint:

  • Try to link it with Bluez HFP/HSP Headunit endpoint
  • If no endpoints were found, try to link it with Bluez A2DP endpoint
  • If no endpoints were found, link it with the selected Alsa endpoint

New Bluez HFP/HSP Headunit Endpoint (regular Bluetooth head unit):

  • Try to link it with a Client endpoint

New Bluez A2DP Endpoint (regular Bluetooth speaker):

  • Try to link it with a Client endpoint

New Bluez HFP/HSP Gateway endpoint (regular Bluetooth Phone):

  • Try to link it with an Alsa endpoint

Merge request reports

Loading