nisargjhaveri / WirelessAndroidAutoDongle

Use Wireless Android Auto with a car that supports only wired Android Auto using a Raspberry Pi.
MIT License
689 stars 80 forks source link

Unable to stay connected in bluetooth #204

Open muralirc86 opened 2 weeks ago

muralirc86 commented 2 weeks ago

Hi,

Does not stay connected for more than 2-3 seconds to the phone (Galaxy A53), hence android auto is also available only very briefly before it disconnects from the head unit (XUV300 W8(o)). This repeats. Was able to connect using laptop and reproduce the problem. In bluetoothctl,

connect 94:52:44:42:07:52 Attempting to connect to 94:52:44:42:07:52 [CHG] Device 94:52:44:42:07:52 Connected: yes [CHG] Device 94:52:44:42:07:52 ServicesResolved: yes Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable [CHG] Device 94:52:44:42:07:52 ServicesResolved: no [CHG] Device 94:52:44:42:07:52 Connected: no

This repeats. Searching for the bluesz error gave a plausible solution: https://forums.debian.net/viewtopic.php?t=155520

This suggests that one needs to install libspa-0.2-bluetooth.

  1. Is it possible to install this onto the image at my end?
  2. Could you please see if this indeed is the issue and provide an updated image?

By the way, I am using pi zero W. Cables verified, power verified. Using the latest image (v0.4.1)

Thanks in advance, Murali

gamelaster commented 1 day ago

Phone after connecting to AAWireless Bluetooth should keep connected only for short period of time, afterwards it disconnects you, so you can connect to car's Bluetooth.