[HowTo] XA2 Bluetooth connection to car [released]
I've paired my Xperia XA2 with my 2013 Volvo Sensus successfully. It works pretty fine, even better than the Xperia X. Phone book, recent calls, etc. work.
The known problems when pairing the usual way still exist. It works if you make your car's Bluetooth interface visible and search for it in the phone. When you try to connect, the car will request a PIN, but the phone doesn't show one. Just enter 0000 to pair them.
Update for Sailfish 3.1.0.11: Now, my car does not find my phone anymore. Even if I make it visible. Workaround is to connect to the car manually using the phone by clicking the car under Paired devices in the Bluetooth menu. Unfortunately, I need to do this every time anew.
Update: Manual pairing needs the correct order. It's necessary to try to initiate pairing from the car first before manual pairing triggered on the phone works.
Update for Sailfish 3.2.0: I can confirm that auto-pairing works now! Thanks for fixing this!
Hi. Is it only me that can't get the bluetooth working as a key on my Tesla Model 3 through the Tesla android app? I can pair the phone with the media stuff so i can play music, have the phone book, recent calls and sync my calendar. XA2 3.0.3.8 Hossa
Breeze ( 2019-05-06 00:07:32 +0200 )edit@Breeze :
in a nutshell: it's a common type of problems with some type of Bluetooth peripherals with Android apps (that want direct access to the Bluetooth) on Sailfish. Try Wifi if possible.
The long version: for Bluetooth, Sailfish uses bluez like any other GNU/Linux system (same as Ubuntu running on your Laptop). Android uses it's own thing - BlueDroid.
For a few devices, Sailfish handles the Bluetooth device, and it shows up as a standard device.
Bluetooth Speaker work, because Bluez5 and Pulseaudio handle them in Sailfish, and they simply show as "audio output" to Android app, (so Spotify works). Same with keyboards.
But currently the Jolla devs have not made something yet to forward between bluez and AlienDalvik.
So apps that want to directly control the Bluetooth connection don't work. To take again the example of Bluetooth speaker: although Spotify works, the special dedicated app by the manufacturer to upgrade the Firmware or upload equalizer settings will not work (because that one does't just play music over an audio output, but want direct access).
It seems very likely that Tesla isn't simply using the standard Bluetooth protocols that Sailfish already hands ("Car Handsfree" audio out, contacts sharing, etc) but is using some proprietary protocols that would require direct access to the Bluetooth stack, which won't work.
I don't own a Tesla (the joys of working in academic research) but check if it is possible to unlock over Wifi: Sailfish gives some (relative) access to the Wifi connection to Android Apps, and depending on how the apps checks if it is connected to the car's Wifi, it might correctly detect it and proceed.
DrYak ( 2019-07-21 14:39:36 +0200 )edit@DrYak: Ok, thanks for the information. Do you think we gonna get something so bluez can give AlienDalvik access? Wifi is not possible to use as a key. The car detects your bluetooth and allows you to open the doors.
Breeze ( 2019-07-21 21:14:04 +0200 )editI can also confirm Bluetooth auto connections from car fail for 3.1.0 11
GD ( 2019-07-23 13:09:55 +0200 )editSame issue here: After updating to 3.1.0.11 (Seitseminen) my phone no longer automatically connects to my car (Volvo C30 2012). I have to manually establish the connection from the phone each time I enter the car. Re-Pairing did not fix the problem :(
mlohse ( 2019-09-10 12:08:36 +0200 )edit