Re: Bluez 5.50 Qualification tests

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

 



Hi Cesar,

On Wed, Oct 30, 2019 at 10:17 AM Sanchez Frias, Cesar (Nokia -
ES/Madrid) <cesar.sanchez_frias@xxxxxxxxx> wrote:
>
> Hi everybody,
>
> We are currently passing BlueZ 5.50 (LE Host Subsystem) qualification process.
>
> I would like to know if anyone has already passed test cases "L2CAP/LE/CFC/BV-13-C" and "L2CAP/LE/CFC/BV-15-C".
>
> Test case "L2CAP/LE/CFC/BV-13-C" seems to require authorization at GATT service level instead of GATT characteristic level. Does it have sense? As far as I have seen there is no way in BlueZ tools (bluetoothctl, gatttool) to add authorization requirement to services, is it?

The names suggests it is L2CAP testing or is it not? Anyway if that
requires GATT/ATT error 0x08 (BT_ATT_ERROR_AUTHORIZATION) all you need
to do is to return the D-Bus error 'org.bluez.Error.NotAuthorized' as
it will get translated like bellow:

    if (strcmp(error_name, "org.bluez.Error.NotAuthorized") == 0)
        return BT_ATT_ERROR_AUTHORIZATION;

> KR,
> César



-- 
Luiz Augusto von Dentz

On Wed, Oct 30, 2019 at 10:17 AM Sanchez Frias, Cesar (Nokia -
ES/Madrid) <cesar.sanchez_frias@xxxxxxxxx> wrote:
>
> Hi everybody,
>
> We are currently passing BlueZ 5.50 (LE Host Subsystem) qualification process.
>
> I would like to know if anyone has already passed test cases "L2CAP/LE/CFC/BV-13-C" and "L2CAP/LE/CFC/BV-15-C".
>
> Test case "L2CAP/LE/CFC/BV-13-C" seems to require authorization at GATT service level instead of GATT characteristic level. Does it have sense? As far as I have seen there is no way in BlueZ tools (bluetoothctl, gatttool) to add authorization requirement to services, is it?
>
> KR,
> César



-- 
Luiz Augusto von Dentz




[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