Reputation: 1
when I use bluetoothctl with commands in the shell: $ bluetoothctl power on $ bluetoothctl scan on $ bluetoothctl devices
or as bash script
#!/usr/bin/bash
bluetoothctl power on
bluetoothctl discoverable on
bluetoothctl scan on
wait
bluetoothctl devices
bluetoothctl quit
exit 0
I don't get the result, but when I enter the bluetoothctl panel, I usually get results about devices, how do I get the result in both cases?
I found that if I open bluetooth setting panel I get result but that is not the solution
Upvotes: 0
Views: 536