Re: Is there an attribute for the name field in bluetoothctl?

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

 



Hi John,

On Tue, Jun 21, 2022 at 4:05 PM John Klug <John.Klug@xxxxxxxxxxxxx> wrote:
>
> Gatttool Example:
>
>    [CC:78:AB:7E:87:07][LE]> char-read-uuid 2a00
>    handle: 0x0003   value: 53 65 6e 73 6f 72 54 61 67 20 32 2e 30
>    [CC:78:AB:7E:87:07][LE]> char-read-uuid 00002a00-0000-1000-8000-00805f9b34fb
>    handle: 0x0003   value: 53 65 6e 73 6f 72 54 61 67 20 32 2e 30
>
> From Bluetoothctl:
>
>   [CC2650 SensorTag]# attribute-info 2a00
>   Attribute 2a00 not available
>   [CC2650 SensorTag]# attribute-info 00002a00-0000-1000-8000-00805f9b34fb
>   Attribute 00002a00-0000-1000-8000-00805f9b34fb not available

Certain attributes are controlled by the daemon so they are not
exposed over D-Bus, this is not unique to BlueZ since I remember
saying that on iOS it also don't allow applications to access some
attributes directly.

Anyway the name is actually parsed and you can even see it on your
prompt and you can also give it an alias with set-alias command.

> John Klug



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