AsteroidOSSync icon indicating copy to clipboard operation
AsteroidOSSync copied to clipboard

Bass watch can't connect to phone

Open tioui opened this issue 5 years ago • 5 comments

Hi.

I have a problem connecting my watch with my phone. It does not seems to be on the watch side because I successfully sync it with my girl friend phone. So I assume that the Android phone side is to blame.

When I try to pair the watch using AsteroidOSSync, the app detect the phone and try to connect to it. The Watch write "Connected", the phone give me options to sync with the watch and then both devices gives me a confirmation pairing key. I confirm the key on both device. The phone then write "Connecting..." and after some time, it give me a "Can't connect to Bass" toast alert and write "Disconnected" on both device.

You can see the logcat at https://nuage.libreti.net/index.php/s/69LnwGQWWyPQXzf and the bluetooth snooping log file at https://nuage.libreti.net/index.php/s/RcKdbFarDyebAwS . For the log, the watch is called "bass" and the address is "43:43:A0:12:1F:AC".

tioui avatar Mar 01 '20 03:03 tioui

Hi, sorry to hear you're having issues.

  • What phone (model + ROM) do you have and which one has your girlfriend?
  • Are you running AsteroidOS 1.0 or nightlies (in this case do you remember the date you downloaded the nightly)?
  • Has it worked before?
  • Are you using a selfbuilt app or 0.14 from F-Droid?

Thank you for the logs, I will look into them. If the issue is indeed AsteroidOSSync we should wait until #101 is resolved, since that changes the relevant code.

jrtberlin avatar Mar 01 '20 08:03 jrtberlin

I have a Samsung Galaxy S4 mini (SGH-I257H) with LineageOS 14.1 (Android version 7.1.2). My girlfriend use a tablet type Samsung Galaxy Tab A (SM-T580) with the upgraded Stock rom (Android version 8.1.0).

I have tried the AsteroidOS 1.0 and the Nighty build downloaded at February 28 and both had the same problem.

I just got the watch, so the only time it worked was with my girl friend tablet. It never worked with my cell phone.

I am using (both on my phone and on my girl friend tablet) the 0.14 F-Droid build of AsteroidOSsync.

Hope this help. If you want me to test something, just ask.

tioui avatar Mar 01 '20 13:03 tioui

@tioui I searched a bit online and it seems multiple people reported Bluetooth connection issues for your model and other variants of the s4 mini. Have you tried Bluetooth LE with a different device on this phone already? One suggested "fix" is wiping the cache partition and toggling Bluetooth multiple times in settings. Since it works on your girlfriend's tablet I would assume that it's either a model-specific issue with our Bluetooth library (that we are currently trying to drop #101) or an issue with your ROM/vendor device drivers.

Edit: We had a small discussion on IRC and there was a recent change in the Bluetooth baudrate. You can edit /lib/systemd/system/patchram.service on your watch and remove --baudrate 3000000 from the ExecStart line to revert the changes. Can you report if that improves anything?

jrtberlin avatar Mar 01 '20 14:03 jrtberlin

It does not seems to work. I have clear the cache partition and toggled the bluetooth on and off multiple times. I also change the file /lib/systemd/system/patchram.service on the watch to remove the --baudrate 3000000. Still not connecting properly.

For the question, I don't know if I have used a Bluetooth LE device before. I use my car bluetooth connexion, my bluetooth earbuds and a wireless home phone that connect by bluetooth with my cell phone. Every one of those work as they should. But I don't know if they use bluetooth LE.

tioui avatar Mar 02 '20 01:03 tioui

Just to let you know. I just installed crDroid (Android 8.0) on my phone with a clean install. Wipe everything but the sdcard. The first thing I did was installing FDroid and the second was installing AsteroidOSSync. I had the same problem while trying to connect to my watch.

Also, I did pair the Watch to the Phone using bluetoothctl with this tutorial (at the end of the page): https://asteroidos.org/wiki/bluetooth/ . The problem is, the watch and the phone correctly pair, but the AsteroidOSSync app still try to pair it.

tioui avatar Mar 04 '20 02:03 tioui