I can connect a device to my (headless, if it counts) Raspberry Pi 3B through Bluetooth protocol using the following steps : bluetoothctl and on this program, I run
- agent on - default agent - pair XX:XX:XX:XX:XX:XX
prompt for the exchanged key ok
- connect XX:XX:XX:XX:XX:XX - trust XX:XX:XX:XX:XX:XX
Then I can check that
bluetoothctl # paired-devices
indeed contains my device.
But after a reboot, and check of the same command, the list is empty, and I need to do again all the pairing steps.
How to remedy to this problem and keep the list of all devices somewhere ?
I think that the main problem I have to reconnect automatically after reboot, which is what I ultimately would like.