Hi, On Mon, Aug 27, 2018 at 2:58 AM, Проклов Александр Валерьевич <ProklovAV@xxxxxxxxxxxxxxxx> wrote: > 24.08.2018 16:19, Luiz Augusto von Dentz пишет: > >>> May be possible to set a default pin code via /etc/bluetooth/main.conf >>> if it is available, do not make a request for a pin from the command >>> line? I >>> think that then #bluetoothctl pair 11:22:33:44:55:66 will be able to work >>> fine. >> >> >> That is something I had in mind, lets see if I can come up with something. >> > > Yes. Non-interactive mode needed. > But I think in bluez 3 was main.conf parameter to specify the default PIN > code. Afaik that only works for legacy pairing, normally devices without any input/output should rely on just works pairing which is what you would usually see in headset, etc, though that are not always pairable so you have to switch it on with a button or something like it. -- Luiz Augusto von Dentz