Monday, 2021-02-22

*** zbenjamin_ is now known as zbenjamin02:50
frojndHi there..09:23
frojndI think my car uses some old bluetooth and pairing fails. It goes like this: car offers a pin but phone closes connection no screen of pin input on the phone... so I found this thread: https://together.jolla.com/question/168301/bluetooth-pairing-between-car-and-jolla-1-and-between-car-xperia-x-fails/?answer=175787 but it seems hcitool is not installed on 4.009:24
malwhich device?09:26
frojndXA209:26
frojndI'09:26
frojndI've installed bluez5-tools09:26
frojndWhen I get near a car will try to pair it from cli09:27
frojndIf the car requires a PIN, then it is using legacy pairing from BT <= 2.0. If you are using bluez5 (which you would have actively had to change to on a Jolla 1 i think), then it comes with an autopair plugin, but only tries the code 0000, so if the code is something other than that, then the pairing will fail (i have this on my parrot ck3100).09:27
frojndThe solution for me is to disable the autopair plugin. This involves editing /usr/lib/systemd/system/bluethoothd.service and adding the parameter "-P autopair" and rebooting.09:27
frojndHm I can't find bluetoothd.service file09:28
malit's bluetooth.service09:42
frojndAh09:54
frojndhe solution for me is to disable the autopair plugin. This involves editing /usr/lib/systemd/system/bluethoothd.service and adding the parameter "-P autopair" and rebooting.10:23
frojndNow re reading this not sure what's the syntax here10:24
frojndSo at the end of [Install] I just add -P autopair10:24
frojndNot sure this is correct way since looking at unit file it has key=value10:24
malthat would go to the end of line ExecStart10:25
frojndThank you10:26
frojndOk that didn't help appending -P autopair to ExecStart line... however using bluetoothctl and entering pin in that cli tool did the trick.11:10
frojndIt appears Sailfish does not support legacy pearing11:22
frojndpairing..11:23
*** albertux1 is now known as albertux15:30
bionade24frojnd: I was able to connect my Phone to a older car where I needed to compare PINs.15:41
*** vilpan is now known as Guest9388416:53
*** vilpan is now known as Guest7082017:52
*** pa- is now known as pa23:14
*** Herrie|2 is now known as Herrie23:33

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!