
Raspbian Jessie를 실행하는 Raspberry Pi에서 BlueZ 5.45를 사용하려고 하는데 LE Privacy를 사용하도록 BlueZ를 설정할 수 없습니다. 블루투스 데몬을 시작하면 다음 메시지가 나타납니다.
Jul 26 22:00:19 raspberrypi bluetoothd[18971]: Bluetooth daemon 5.45
Jul 26 22:00:19 raspberrypi bluetoothd[18971]: Starting SDP server
Jul 26 22:00:19 raspberrypi bluetoothd[18971]: Bluetooth management interface 1.14 initialized
Jul 26 22:00:19 raspberrypi bluetoothd[18971]: No IRK stored
Jul 26 22:00:19 raspberrypi bluetoothd[18971]: Failed to open crypto
Jul 26 22:00:19 raspberrypi systemd[1]: Started Bluetooth service.
BlueZ는 LE Privacy를 설정하려고 시도한 결과 IRK가 저장되지 않았지만 커널의 암호화 기능에 액세스하여 IRK를 생성할 수 없음을 발견했습니다.
이 오류를 어떻게 극복할 수 있나요?
Privacy = device
에 줄을 추가 /etc/bluetooth/main.conf
하고 에 심볼릭 링크를 추가하여 개인정보 보호를 설정하세요 /usr/local/etc
.
답변1
파일에서 /etc/bluetooth/main.conf
:
설정 Privacy = off
및ControllerMode = le
이것은 부팅 시간이나 부팅 시간이 가까워졌을 때 자동으로 휴대폰에 연결하기 위해 블루투스를 조작하면서 여전히 겪고 있던 문제를 해결한 것 같습니다.
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
또한 다음과 같이 bluetooth.service 파일을 편집하십시오 .
ExecStart=/usr/lib/bluetooth/bluetoothd --compat --noplugin=sap -E
...서비스 변경 처리 오류를 제외한 대부분의 오류는 사라집니다.