I am trying to connect my phone with my raspberry(headless) which runs on this OS. My requirement is,I do not have to enter "yes" manually in the bluez CLI application (which is started by the command bluetoothctl) when a device is trying to pair.
I saw this query and answer .Now that the /etc/bluetooth/hcid.conf is obsolete, I tried adding
security=none in /etc/bluetooth/main.conf and restarted the bluetooth service but it stills asks for user's consent when trying to pair.
I do not know what I am missing. I also tried the above steps in my laptop which runs on Ubuntu 16 but in vain.