首先,确保蓝牙是激活状态:
$ sudo hciconfig hci0 up
然后进入bluetoothctl
控制台模式:
$ sudo bluetoothctl
注意:都使用root权限进行
扫描设备:scan on
停止扫描:scan off
查看扫描到的设备:devices
首先,确保蓝牙是激活状态:
$ sudo hciconfig hci0 up
然后进入bluetoothctl
控制台模式:
$ sudo bluetoothctl
注意:都使用root权限进行
扫描设备:scan on
停止扫描:scan off
查看扫描到的设备:devices
本文标题:使用bluetoothctl玩耍树莓派蓝牙模块
本文链接:https://www.haomeiwen.com/subject/ljwbmxtx.html
网友评论