You are not logged in.

#1 2022-12-03 16:29:10

trougnouf
Member
Registered: 2022-12-03
Posts: 5

Cannot get a list of bluetooth devices from non-interactive CLI

I would like to print a list of bluetooth addresses nearby. This works once with

bluetoothctl scan on

, but my devices won't show up again on subsequent scans after the first time.
I can manually do

bluetoothctl

menu scan

duplicate-data on

back

scan on

in the interactive interface and this works well, but there doesn't seem to be a way to apply this automatically in the CLI.

bluetoothctl scan.duplicate-data on && bluetoothctl scan on

is useless because the first command is not applied to the second.

Last edited by trougnouf (2022-12-03 16:29:50)

Offline

Board footer

Powered by FluxBB