Solved Why I don't get result after bluetoothctl devices?

293 views Asked by At

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

0

There are 0 answers