Bonjour,
Mon plugin BLEA est non fonctionnel et je n’arrive pas à trouver l’origine du problème.
Tout est OK au niveau du démon:
J’utilise un dongle Bluetooth et j’ai désactivé le Bluetooth interne à mon raspberry3.
pi@raspberrypi:~ lsusb | grep Blue
Bus 001 Device 014: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
pi@raspberrypi:~ $ sudo hciconfig hci0 reset
pi@raspberrypi:~ $ sudo hciconfig hci0 up
pi@raspberrypi:~ $ hciconfig
hci0: Type: Primary Bus: USB
BD Address: 00:15:83:F6:35:9A ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING
RX bytes:7577 acl:0 sco:0 events:307 errors:0
TX bytes:3856 acl:0 sco:0 commands:118 errors:0
pi@raspberrypi:~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-01-14 11:02:24 GMT; 4s ago
Docs: man:bluetoothd(8)
Main PID: 22182 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 2182)
CGroup: /system.slice/bluetooth.service
└─22182 /usr/lib/bluetooth/bluetoothd --noplugin=sap
janv. 14 11:02:24 raspberrypi systemd[1]: Starting Bluetooth service...
janv. 14 11:02:24 raspberrypi bluetoothd[22182]: Bluetooth daemon 5.50
janv. 14 11:02:24 raspberrypi systemd[1]: Started Bluetooth service.
janv. 14 11:02:24 raspberrypi bluetoothd[22182]: Starting SDP server
janv. 14 11:02:24 raspberrypi bluetoothd[22182]: Excluding (cli) sap
janv. 14 11:02:24 raspberrypi bluetoothd[22182]: Bluetooth management interface 1.14 initialized
Pour cette dernière, j’avais un soucis avec le SDP server que j’ai désactivé en suivant la proc.:
J’ai fais l’acquisition de deux NUT3 qui ne sont pas trouvés lorsque je clic sur le bouton « Lancer Scan »…
Par contre la commande ci -dessous semble montrer qu’ils sont bien détectés (j’ai d’ailleurs plein de logs) :
pi@raspberrypi:~ $ sudo hcitool lescan
...
74:1E:0C:21:CB:58 (unknown)
74:1E:0C:21:CB:58 (unknown)
...
5E:18:45:68:56:15 nut
5E:18:45:68:56:15 (unknown)
...
2F:0F:45:82:F5:09 nut
2F:0F:45:82:F5:09 (unknown)
J’ai upgradé ma config vers Buster mais j’ai toujours le soucis.
Si vous avez des idées, je suis preneur.
Merci pour votre aide!