Le 13 avril 2023 Bruno Ubeda a écrit : > Comment configurer le bluetooth avec bluetoothctl en une ligne dans le > fichier de démarrage d'openbox (autostart). Cad power on, Agent on, pair > MAC, trust MAC, connect MAC ... Depuis l'ordi vers le smartphone où le > bluetooth est activé avec le partage de connexion bluetooth aussi activé.
A un moment j'avais un script comme ça. Je ne sais pas s'il marche sur les versions actuelles. #!/usr/bin/bash # apt-get install bluetooth bluez bluez-obexd SHELL=0x5595a0b88870 NON_INTERACTIVE=0x55959ee91520 DBUS_CONNECTION=0x5595a0b8b340 /org/bluez/hci0=0x5595a0b90b70 /org/bluez/hci0/dev_00_87_01_05_F0_4B=0x5595a0b93d60 SAMSUNG=00:87:01:05:F0:4B hciconfig hci0 up bluetoothctl power on bluetoothctl discoverable on bluetoothctl pairable on bluetoothctl trust $SAMSUNG bluetoothctl info $SAMSUNG bluetoothctl export

