1

We are trying to connect a Bluetooth device without a passkey and trusting default yes in Python.

I am running a headless Raspberry PI 3, and I want it to automatically accept pairings from any device.

I saw this answer in an identical question:

Automatically accepting Bluetooth connections on a Pi 3

But it seems to be a bit outdated and some of the used commands don't seem to exist. enter image description here

ViGoRa
  • 17
  • 7

1 Answers1

1

Taken from raspberryPi.org

To pair type pair xx:xx:xx:xx:xx:xx where xx:xx:xx:xx:xx:xx is your BD address of the 
device you want to pair
Next type trust xx:xx:xx:xx:xx:xx

You should read the full thread from the link, this can help you.

Basicly the idea is to pair bluetooth device without user gui.

[The raspberry is much faster without a Desktop envoirement]

clockw0rk
  • 214
  • 1
  • 8