I have a Raspberry Pi 2 running Raspbian kernel 4.1.15 and Bluez version 5.23.
I want to be able to connect a device (like an Android phone) to the rapsberry which shoul
https://github.com/nokia/rcm-bluez/blob/master/client/bluez-5.43/test/simple-agent
https://raw.githubusercontent.com/pauloborges/bluez/master/test/bluezutils.py
@Ion Flare idea is perfect for setup auto-pairing Bluetooth for raspberry pi. just little tweak in my answer is I got an error for import bluezutils
so in order to bypass that simply I would say download above file that is simple-agent
and bluezutils.py
. Put in is same location, for me it is /home/pi. And just run command @Ion Flare mentioned
python simple-agent -c NoInputNoOutput
In my use case I changed a simple-agent file to accept every connection and services to make things simple for me.