All of lore.kernel.org
 help / color / mirror / Atom feed
* Can  BlueZ D-BUS API identify local Bluetooth hardware version?
@ 2022-08-22 16:12 John Klug
  2022-08-22 17:48 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 4+ messages in thread
From: John Klug @ 2022-08-22 16:12 UTC (permalink / raw)
  To: Linux-Bluetooth MailingList

I did a diff of "bluetoothctl show [addr]" between Bluetooth 4.0 and 5.1.

Address was random for 5.1 (will that always be the case)?

SupportedIncludes: tx-power was additional for 5.1.

What other API's could be used in a program to discern this?





John Klug



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

* Re: Can BlueZ D-BUS API identify local Bluetooth hardware version?
  2022-08-22 16:12 Can BlueZ D-BUS API identify local Bluetooth hardware version? John Klug
@ 2022-08-22 17:48 ` Luiz Augusto von Dentz
  2022-08-22 17:57   ` John Klug
  0 siblings, 1 reply; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2022-08-22 17:48 UTC (permalink / raw)
  To: John Klug; +Cc: Linux-Bluetooth MailingList

Hi John,

On Mon, Aug 22, 2022 at 9:23 AM John Klug <John.Klug@multitech.com> wrote:
>
> I did a diff of "bluetoothctl show [addr]" between Bluetooth 4.0 and 5.1.
>
> Address was random for 5.1 (will that always be the case)?
>
> SupportedIncludes: tx-power was additional for 5.1.
>
> What other API's could be used in a program to discern this?

So you want to figure out via D-Bus or perhaps you can just use
bluetoothctl --version if you want to know the tools version, in most
cases the tools version shall match the daemon version.

>
>
>
>
> John Klug
>
>


-- 
Luiz Augusto von Dentz

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

* Re: Can BlueZ D-BUS API identify local Bluetooth hardware version?
  2022-08-22 17:48 ` Luiz Augusto von Dentz
@ 2022-08-22 17:57   ` John Klug
  2022-08-22 22:43     ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 4+ messages in thread
From: John Klug @ 2022-08-22 17:57 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: Linux-Bluetooth MailingList

No.  I want the hardware version of the device as specified by Bluetooth SIG.

Or at least the manufacturer and model of the local device.

Not the bluez version.





John Klug

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

* Re: Can BlueZ D-BUS API identify local Bluetooth hardware version?
  2022-08-22 17:57   ` John Klug
@ 2022-08-22 22:43     ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2022-08-22 22:43 UTC (permalink / raw)
  To: John Klug; +Cc: Linux-Bluetooth MailingList

Hi John,

On Mon, Aug 22, 2022 at 10:57 AM John Klug <John.Klug@multitech.com> wrote:
>
> No.  I want the hardware version of the device as specified by Bluetooth SIG.
>
> Or at least the manufacturer and model of the local device.

That is normally exposed by the bus/driver under sysfs.

> Not the bluez version.
>
>
>
>
>
> John Klug



-- 
Luiz Augusto von Dentz

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

end of thread, other threads:[~2022-08-22 22:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22 16:12 Can BlueZ D-BUS API identify local Bluetooth hardware version? John Klug
2022-08-22 17:48 ` Luiz Augusto von Dentz
2022-08-22 17:57   ` John Klug
2022-08-22 22:43     ` 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.