Re: How does bluetoothctl work from the command line with gatt?

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

 



Hi John,

On Thu, Jul 21, 2022 at 8:00 AM John Klug <John.Klug@xxxxxxxxxxxxx> wrote:
>
> Luiz Augusto von Dentz
> >I think the problem is that you are issuing the select-attribute and
> >then exiting, instead you will need to enter all the commands at the
> >same time otherwise the next time you call bluetoothctl it doesn't
> >have any attribute selected
>
> With gatttool you could issue all the commands non-interactively from the command line.
>
> What you are saying is bluetoothctl has limited command line capability, and cannot replace gatttool as currently written.

Not quite what I said, the difference is that bluetoothctl does
require another command to access so when you are scripting things you
would have to pass the input as a multi line instead of invoking the
binary multiple times with a single line, we could perhaps add support
for a input file where one could enter multiple commands.

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