All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting up GATT server using bluetoothctl tool
@ 2019-07-08 17:00 Edward Fung
  2019-07-11  8:41 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Fung @ 2019-07-08 17:00 UTC (permalink / raw)
  To: linux-bluetooth

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.

Edward

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

* Re: Setting up GATT server using bluetoothctl tool
  2019-07-08 17:00 Setting up GATT server using bluetoothctl tool Edward Fung
@ 2019-07-11  8:41 ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2019-07-11  8:41 UTC (permalink / raw)
  To: Edward Fung; +Cc: linux-bluetooth

Hi Edward,

On Tue, Jul 9, 2019 at 2:15 AM Edward Fung <jjsheepman@gmail.com> 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

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

end of thread, other threads:[~2019-07-11  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08 17:00 Setting up GATT server using bluetoothctl tool Edward Fung
2019-07-11  8:41 ` 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.