Re: [PATCH v2 BlueZ 0/7] Improvements on connection parameters update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Felipe,

On Tue, Feb 21, 2017 at 11:40 AM, Felipe Ferreri Tonello
<eu@xxxxxxxxxxxxxxxxx> wrote:
> Hi Luiz,
>
> On 20/02/17 15:21, Luiz Augusto von Dentz wrote:
>> Hi Felipe,
>>
>> On Thu, Feb 16, 2017 at 8:03 PM, Felipe F. Tonello <eu@xxxxxxxxxxxxxxxxx> wrote:
>>> This is one of the parts of a series of patches related to connection
>>> parameters update.
>>>
>>> This initial implementation adds supports to GAP Peripheral Preferred
>>> Connection Parameters (PPCP) characteristic and the Slave Connection Interval
>>> Range Advertising Data (AD).
>>
>>
>> Are there any devices implementing these? Id like to do a some testing
>> but haven't find anything implementing this, or well I can generate
>> the PPCP but the SCRAD is probably a waste of AD since that is pretty
>> limited in size.
>
> PPCP not that I know of. But the AD there are devices, including in the
> unit-eir there is one.
>
> The PPCP and AD is important specially for MIDI devices who require
> low-latency.
>
> I did test it here, it will be nice if you could as well.

Lets try to get some points resolved here, Ive briefly chatted with
Johan regarding this last week and he said that we might have to
introduce a new command to add new parameters to the kernel, as oppose
to reuse load.

We might have to choose between these 2 options:

1. Reload all the settings, and then move on to implement the new command.
2. Don't bother with old kernels and just make it work with newer one
with proper support.

>>
>>> There is a problem described in #4 that due to a limitation of the BlueZ API
>>> it is not possible to update the current connection with specific parameters.
>>> I am working on a socket option API to allow something similar. Hopefully I
>>> will be able to write something that covers this use-case as well. This
>>> problem also applies to patch #6.
>>>
>>> Changes from v1:
>>>  * Added Slave Connection Interval Range AD support;
>>>  * Unit tests for connection interval.
>>>
>>> Felipe F. Tonello (7):
>>>   profiles/gap: Some code cleanup
>>>   src/adapter: Added connection parameter load/store functions
>>>   src/device: Added function to set connection parameters
>>>   profiles/gap: Added support for PPCP characteristic
>>>   src/eir: Added support for Slave Connection Interval Range AD
>>>   src/adapter: Store Slave Connection Interval Range
>>>   unit/test-eir: Added tests for connection interval
>>>
>>>  profiles/gap/gas.c | 111 +++++++++++++++++++++++++++++++++++++++++++----------
>>>  src/adapter.c      |  46 +++++++++++++++++++++-
>>>  src/adapter.h      |   9 +++++
>>>  src/device.c       |  16 ++++++++
>>>  src/device.h       |   4 ++
>>>  src/eir.c          |   7 ++++
>>>  src/eir.h          |   3 ++
>>>  unit/test-eir.c    |  26 +++++++++++--
>>>  8 files changed, 196 insertions(+), 26 deletions(-)
>>>
>>> --
>>> 2.11.1
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
>>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>
>>
>
> --
> Felipe



-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux