Tiny Core Extensions > TCE Talk
Bluetooth problem
bukashka:
Hi all! I have problem with pairing with HC-06 BT module. In bluez.tcz info I have find this:
Howto pair:
$ echo "0000" | simple-agent hci0 00:1B:66:00:31:88 [0000 for a bt headset]
but when I try to run this script I have message:
ImportError: libgiropositary-1.0.so.1: cannot open shared object file: No such file or directory.
May be somebody knows what my problem is? Is there most simple way to pair with BT module and communicate through virtual serial port? Thanks for any help!
Juanito:
It looks like you need to load the gobject-introspection extension.
Note that you can also use the blueman gui.
bukashka:
After loading gobject-introspection extension I have new Import Error: /usr/local/lib/libgmodule-2.0.0.so.0: undefined symbol: g_rec_mutex_lock
pygobject was installed. Is any idea?
BTW, as I can see, blueman was removed from 5.x TCE. Now I use exactly 5.2 environment..
Juanito:
Assuming you have dbus-python and pygobject (and their deps) loaded..
..and the dbus and bluetooth daemons started, it should work.
However, it would perhaps be easier to update to tc-7.2.
bukashka:
Juanito, thanks a lot for your help. dbus is loaded, but when I try to start bluez (sudo /usr/local/etc/init.d/bluez start) I get the message:
no /usr/local/bin/dbus-daemon found; none killed
rm: can't remove '/var/run/dbus/pid': No such file or directory
Although /usr/local/bin/dbus-daemon exists.. What happens?
Update to 7.2 is last chance for me, but preferable stay on 5.2
Navigation
[0] Message Index
[#] Next page
Go to full version