Re: Setting up GATT server using bluetoothctl tool

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

 



Hi Edward,

On Tue, Jul 9, 2019 at 2:15 AM Edward Fung <jjsheepman@xxxxxxxxx> wrote:
>
> Hello team,
>
> I'm able to set up a few service/characteristic combinations with the
> latest bluetoothctl tool using the following commands:
>
> register-service
> register-characteristic
> register-application
>
> I was just wondering if there is a way to define GATT-based service
> for use only over the BR/EDR transport or LE transport using the
> bluetoothctl tool or any Bluez utility tool? Can anyone shed some
> light on this? Thanks.

There is a single instance of the database, therefore we can't really
have service declared on a per bearer basis, what you should be able
to do is detect what bearer is in use and then return accordingly, we
can however introduce permission to restrict access on a per bearer
basis but this further complicates the usage of these APIs.

-- 
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