The source project of this merge request has been removed.
bluez5: backend-native: Handle AT+CCWA command
I've noticed that the battery level of my Soundcore Motion 300 is not reported when connected to my Linux machine.
Comparing the Bluetooth logs between Linux and Android shows that the device stops sending any further HFP commands when PipeWire replies with an error to the AT+CCWA=1
command.
Handling the CCWA (Call Waiting Notification Activation) command by replying with OK
fixes this issue. I've read through the relevant section in the HFP specification and claiming to support CCWA shouldn't cause any issues for other devices IMO.