InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.71k stars 926 forks source link

Can't pair with GadgetBridge after uninstalling and reinstalling GadgetBridge #1008

Closed duncan-bayne closed 2 years ago

duncan-bayne commented 2 years ago

Verification

What happened?

I uninstalled then reinstalled GadgetBridge; now my PineTime can't pair

What should happen instead?

I'd expect to be able to pair my PineTime

Reproduction steps

  1. Install GadgetBridge.
  2. Pair PineTime with GadgetBridge.
  3. Uninstall GadgetBridge (without removing PineTime from GadgetBridge first).
  4. Install GadgetBridge.
  5. Configure required permissions in Android.
  6. Wake up PineTime.
  7. Click Start Discovery in GadgetBridge.

More details?

At this point I'd expect the PineTime device to show up in Gadgetbridge; however, it doesn't.

I've also tried restarting both the PineTime and Gadgetbridge. If I configure GadgetBridge to display all BTLE devices (including incompatible devices) it lists many; so I suspect the problem isn't with BT / BTLE or Android.

Versions of things:

Version

1.8.0

Companion app

GadgetBridge 0.65.0

Avamander commented 2 years ago

Unpair the PT from Android settings and/or reboot the PineTime.

duncan-bayne commented 2 years ago

Ah son of a ...

Thank you @Avamander :) It was somewhat hidden. In case someone else hits this issue, on Android 11:

  1. Open Settings.
  2. Tap Connected devices.
  3. Tap 'See all'.
  4. There you'll see the InfiniTime device.
  5. Tap the gear icon to the right of the InfiniTime device.
  6. Tap Forget.

Then the PineTime will pair as expected.