Hsphfpd backend
This creates the backend for HSP/HFP to use with hsphfpd.
As hsphfpd is a prototype and its API subject to change, this backend is disable by default.
The ConnectAudio
method triggers Introspect
and NewConnection
calls from hsphfpd
to the backend, which will set the fd to use for the SCO data.
This imply to run the DBus loop while waiting for ConnectAudio
reply to be able to reply to those method calls.
MTU is hard-coded to 48. Using MTU from hsphfpd may prevent correct sound operations.
Volume management is not yet implemented.