All of lore.kernel.org
 help / color / mirror / Atom feed
* Bluez 5.50 Qualification tests
@ 2019-10-30  8:13 Sanchez Frias, Cesar (Nokia - ES/Madrid)
  2019-11-01 14:36 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 2+ messages in thread
From: Sanchez Frias, Cesar (Nokia - ES/Madrid) @ 2019-10-30  8:13 UTC (permalink / raw)
  To: linux-bluetooth

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bluez 5.50 Qualification tests
  2019-10-30  8:13 Bluez 5.50 Qualification tests Sanchez Frias, Cesar (Nokia - ES/Madrid)
@ 2019-11-01 14:36 ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2019-11-01 14:36 UTC (permalink / raw)
  To: Sanchez Frias, Cesar (Nokia - ES/Madrid); +Cc: linux-bluetooth

Hi Cesar,

On Wed, Oct 30, 2019 at 10:17 AM Sanchez Frias, Cesar (Nokia -
ES/Madrid) <cesar.sanchez_frias@nokia.com> 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@nokia.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-01 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-30  8:13 Bluez 5.50 Qualification tests Sanchez Frias, Cesar (Nokia - ES/Madrid)
2019-11-01 14:36 ` Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.