I
I
Ilya2017-03-25 23:45:40
linux
Ilya, 2017-03-25 23:45:40

How to set up bluetooth auto-pairing in openwrt?

I manage to pair through a series of commands:

hciconfig hci0 up
hciconfig hci0 sspmode enable
hciconfig hci0 piscan

bluetoothctl

agent on
discoverable on
pairable on
scan on

pair XX:XX:XX:XX:XX:XX
trust XX:XX:XX:XX:XX:XX

But how to set up so that the device itself can pair with a pre-configured pincode and then connect?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Axian Ltd., 2017-03-26
@AxianLTD

Learning to search in I-no: google -> bluez auto pairing
We get: stackoverflow.com/questions/12888589/linux-command...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question