简体   繁体   中英

raspberry pi3 bluetoothctl scan on command

I use raspberry pi 3.
Type 'bluetoothctl' in the linux command shell and type 'scan on', then
Raspberry pi search nearby devices.
i want to be able to search for devices on one command line.
for example, bluetoothctl + scan on, but i can't find this command
i tried bluetoothctl && scan on(X)<br>bluetoothctl --agent scan on (X)<br>bluetoothctl; scan on(X)
but these do not work.

Use this

bluetoothctl -- scan on

you can make one python script for execute command import os;

os.system("")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM