AsteroidOSSync icon indicating copy to clipboard operation
AsteroidOSSync copied to clipboard

Frequent pairing requests with PIN

Open indiandragon opened this issue 5 years ago • 13 comments

Greetings team,

After pairing dory to One Plus 5 (android 9.0.5) the watch is spammed with pairing requests with PIN mostly when trying to reconnect (after disconnection) or sometimes when being shown as connected (on watch, but disconnected on the phone app).

Expected behaviour is for the watch to re-connect without asking for pairing each time.

Let me know if you would be needing logs.

indiandragon avatar May 27 '19 16:05 indiandragon

Hi, sorry for the issue. We are aware of this issue and it should be with the software on dory, not the Android app. Are you using the nightlies or the stable 1.0 release of AsteroidOS?

Earlier today we merged a workaround for issues with the bt stack on dory. This should be included in the next nightly.

jrtberlin avatar May 27 '19 17:05 jrtberlin

Hi, needn't be sorry & thanks for clarifying.

I will switch to nightly and comment on this issue after testing the next release.

indiandragon avatar May 27 '19 17:05 indiandragon

Hi, I'm on 12th May nightly build. The re-pairing when connected is not happening anymore but when the watch is disconnected from the phone, repairing happens when connected again where as it should just connect.

Is there a place where I can see the change logs for nightly and also get notified when a nightly is released?

indiandragon avatar Jun 15 '19 02:06 indiandragon

There are no changelogs because nightlies are built automatically. So the closest thing to a changelog is probably the git history. In the IRC is a bot announcing new builds.

jrtberlin avatar Jun 15 '19 05:06 jrtberlin

Thank you, I will check IRC. Would you be needing any logs for diagnosing the pairing issues?

Can you also let me know if the OPKG update method work for nightly?

indiandragon avatar Jun 15 '19 05:06 indiandragon

Would you be needing any logs for diagnosing the pairing issues?

I have dory and the same issue. I spent a lot of time debugging this issue already with not much of a progress. A big problem is that it's hard to locate the issue or narrow it down. The behavior is inconsistent between reboots. I logged pretty much everything, but the logs are not really pointing in any direction.

Can you also let me know if the OPKG update method work for nightly?

Sorry, no idea. @FlorentRevest can probably answer this.

jrtberlin avatar Jun 15 '19 09:06 jrtberlin

17th June Nightly has fixed the frequent PIN requests issues for me, was there any fix?

Though still it doesn't auto connect after long disconnect, but does automatically connect after night time disconnect forced by Oxygen OS's 'Sleep Standby Optimisation' which puts all apps in doze mode during night.

indiandragon avatar Jun 24 '19 03:06 indiandragon

24th June Nightly seems to work fine too. I don't see any changes in our repos that indicate a change. Maybe an upstream dependency got updated.

The OxygenOS thing is a common issue on OnePlus devices. There is nothing we can do. The app should be on the excluded app list on OS side after setup. However, it's up to OnePlus to accept the user decision to exclude apps from battery optimization.

jrtberlin avatar Jun 26 '19 06:06 jrtberlin

Thanks for confirming 24th Jun nightly status.

I need to clarify on my oxygen OS statement. I meant if oxygen OS is capable of reconnecting to asteroid OS every morning successfully after night long disconnect, perhaps we can find a way to re-connect after long disconnect at any time?

indiandragon avatar Jun 26 '19 07:06 indiandragon

@jrtberlin Is the pairing issue affecting only dory or other supported watched have issues with pairing as well?

indiandragon avatar Jul 19 '19 17:07 indiandragon

@jrtberlin Is the pairing issue affecting only dory or other supported watched have issues with pairing as well?

I'm only aware of issues with dory.

jrtberlin avatar Jul 19 '19 17:07 jrtberlin

I see, for such huge effort with asteroidOS the pairing issue seems like an Achilles heel.

indiandragon avatar Jul 19 '19 18:07 indiandragon

Since July 2019 we had a few changes on the AsteroidOS side and recently a major change regarding Bluetooth in Sync. This issue needs retesting to see if it is still a problem.

jrtberlin avatar Jun 05 '21 18:06 jrtberlin