I need a Pi to pair promiscuously with anything with a Bluetooth antenna, because we need to use it headless, in the field, with no desktop, to pair to a Brand X tablet.
Here's the existing literature on headless pairing. Even after I upgraded it to use modern commands, it is fragile and inconsistent:
Now other literature recommends this to turn on discovery:
sudo bt-adapter --set Discoverable 1
bluez-tools package provides
man bt-adapter does not discuss automatic pairing. Should I run
bt-agent as a daemon and allow it to pair with anyone with the correct passkey?
Another problem: When I activated the network-over-Bluetooth system, PAN, it destroyed autopairing from both the old and new systems...