Pairing to bluetooth using a password
Posted: Wed Jun 26, 2019 6:47 am
Hi,
I want to connect my device (phone, computer..) to the Raspberry Pi Bluetooth without any access to the Raspberry Pi.
I have seen the solution bellow that automatically accept Bluetooth pairings but it's not safe and anybody can connect to the Raspberry Pi Bluetooth.
https://raspberrypi.stackexchange.com/ ... h-pairings
I was wondering if it's possible to connect a device to the Raspberry Pi using a password/pin code that we define before on the Raspberry Pi. That way, only people who know this password can connect to the Raspberry Pi Bluetooth. I'm not always using the same device to connect to the Bluetooth and setting all my devices as "trusted" is not an option for me.
It doesn't seem possible with bluetoothctl but maybe it's possible with a bash/python script ?
I want to connect my device (phone, computer..) to the Raspberry Pi Bluetooth without any access to the Raspberry Pi.
I have seen the solution bellow that automatically accept Bluetooth pairings but it's not safe and anybody can connect to the Raspberry Pi Bluetooth.
https://raspberrypi.stackexchange.com/ ... h-pairings
I was wondering if it's possible to connect a device to the Raspberry Pi using a password/pin code that we define before on the Raspberry Pi. That way, only people who know this password can connect to the Raspberry Pi Bluetooth. I'm not always using the same device to connect to the Bluetooth and setting all my devices as "trusted" is not an option for me.
It doesn't seem possible with bluetoothctl but maybe it's possible with a bash/python script ?