Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-12-24 Thread Denis Kenzior
Hi Pali, I think you will need to do this regardless. Otherwise I fail to see how you prevent one 'agent' from consuming AT commands it shouldn't be. This is a possibility you need to consider, whether it happens by accident or maliciously. Some subset of AT commands are needed to parse and

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-12-24 Thread Denis Kenzior
Hi Pali, There have been one or two implementations of AG role fully external to oFono. These implementations simply used the existing oFono APIs to drive the modem. bluez & pulseaudio developers told me that it would be a good idea to avoid implementing a new AT parser for telephony stack. A

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-12-24 Thread Denis Kenzior
Hi Pali, But would you accept patches which exports DBus API e.g. for displaying text on HFP headset with embedded display? Or patches which implements 3 different way for reporting battery level status of HFP headset? And API for sending "computer battery level" to HFP headset? Or implementing

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-12-24 Thread Denis Kenzior
Hi Pali, Yes, I see. Also there are devices without HFP support, only with HSP. pulseaudio support also these devices and pulseaudio is not going to drop support for them. Last time when I looked at ofono, it has no HSP support. Is ofono going to add support for HSP? No. But would you ac

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-12-24 Thread Denis Kenzior
Hi Pali, I'm not sure what logic around HSP you really care about. It is just a single button press in the end. CSR features (battery status level, ...) and CSR codec selection (e.g. AuriStream). Also some apple extensions are used in HSP profile. Since HFP can do everything that HSP can an

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-12-24 Thread Denis Kenzior
Hi Pali, On 12/16/19 3:15 AM, Pali Rohár wrote: Hi! On Monday 16 December 2019 00:11:04 Luiz Augusto von Dentz wrote: Hi Pali, On Thu, Dec 5, 2019 at 11:32 AM Pali Rohár wrote: On Monday 02 December 2019 19:45:12 Pali Rohár wrote: On Monday 02 December 2019 19:01:11 Tanu Kaskinen wrote:

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-12-24 Thread Luiz Augusto von Dentz
Hi Pali, On Mon, Dec 16, 2019 at 1:15 AM Pali Rohár wrote: > > Hi! > > On Monday 16 December 2019 00:11:04 Luiz Augusto von Dentz wrote: > > Hi Pali, > > > > On Thu, Dec 5, 2019 at 11:32 AM Pali Rohár wrote: > > > > > > On Monday 02 December 2019 19:45:12 Pali Rohár wrote: > > > > On Monday 02 D

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-12-24 Thread Luiz Augusto von Dentz
Hi Pali, On Thu, Dec 5, 2019 at 11:32 AM Pali Rohár wrote: > > On Monday 02 December 2019 19:45:12 Pali Rohár wrote: > > On Monday 02 December 2019 19:01:11 Tanu Kaskinen wrote: > > > I think hsphfpd should be part of bluetoothd, but if that's not > > > possible, then that's not possible. > > > >

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-12-24 Thread Tanu Kaskinen
On Sun, 2019-12-01 at 19:57 +0100, Pali Rohár wrote: > Hello! > > I'm sending this email to relevant mailing lists and other people who > could be interested in it. (I'm not subscribed to all of ML, so please > CC me when replying). > > > I would like to open a discussion about a completely new