I'm trying to get a bluetooth handsfree device working with OpenWRT 8.09.1, running on the brcm2.4 version. I installed bluetooth software (bluez-utils, bluez-libs, kmod-bluetooth; and their dependencies), and am now stuck when trying to pair the bluetooth device and the OpenWRT machine.
After poking around the forums, it seems like the method for exchanging PINs has changed over the years, but I haven't found any mention of how it's done today. Right now there is a small script called "givepin" distributed with the bluez-utils package, but it doesn't actually get installed when the bluez-utils package is installed, and may have been used with the old pin_helper option in hcid.conf (?). And 18 months ago, florian disabled installation of the passkey-agent program that ships with bluez v.3.36, saying that it was useless. (seen here: https://dev.openwrt.org/changeset/11222 … /Makefile). I've seen plenty of people setting up PINs and pairing with devices by using GUI programs on desktop versions of linux, but I can't find the command line equivalent for OpenWRT.
What is the proper way to pair with a bluetooth device that has no keypad (and no display) ?
And to cover the basic question, yes I think my hardware is operating correctly, and the drivers are installed ok. The USB dongle works fine on a desktop linux machine, and its address shows up when running the command "hcitool dev" on the OpenWRT machine. And I can see the target device listed in the results of a "hcitool scan"
And I can't use the python agent script suggested by this thread because I don't have any more room to install python. https://forum.openwrt.org/viewtopic.php?id=20580
Thanks for your help!
Dan