如何在 RaspberryPi v4 上重置蓝牙适配器?重置将重置大部分设置,但不是所有设置。示例名称未更改。
pi@raspberrypi:~/ $ sudo hciconfig hci0 name
hci0: Type: Primary Bus: UART
BD Address: DC:A6:32:02:12:1B ACL MTU: 1021:8 SCO MTU: 64:1
Name: 'raspberrypi'
pi@raspberrypi:~/ $ sudo hciconfig hci0 name rpi
pi@raspberrypi:~/ $ sudo hciconfig hci0 reset
pi@raspberrypi:~/$ sudo hciconfig hci0 name
hci0: Type: Primary Bus: UART
BD Address: DC:A6:32:02:12:1B ACL MTU: 1021:8 SCO MTU: 64:1
Name: 'rpi'
预计名称将从“rpi”改回“raspberrypi”