Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth unable to connect after a few days #282

Closed
tbenst opened this issue Dec 1, 2023 · 11 comments
Closed

Bluetooth unable to connect after a few days #282

tbenst opened this issue Dec 1, 2023 · 11 comments

Comments

@tbenst
Copy link

tbenst commented Dec 1, 2023

On all of my profiles (Macbook, iPad, iPhone), after a couple days I have to reset to Adv360 profiles with mod-win key as they no longer pair. I have no issues with my other bluetooth keyboards, mice, or other devices.

Anecdotally, the issues seems to occur more often if the keyboard is left with the toggles in the ON position overnight, I haven't noticed this occurring after being in the OFF position.

Please note that power toggling does not resolve.

@KinesisCorporation
Copy link
Owner

Hi Tyler,

Thanks for sharing this and sorry to hear about it. Can you try leaving the keyboard powered on exclusively for a week and report back? That shouldn't have any impact on battery life as they go to sleep after 30 seconds.

@ReFil may have some ideas on your config settings too.

@ReFil
Copy link
Collaborator

ReFil commented Dec 2, 2023

Hi Tyler, is your Mac running the latest available software? Apple made some Bluetooth changes approximately a month ago that affected how it behaved with the 360

Please try removing these lines from your adv360_left_defconfig file and try again https://github.com/tbenst/Adv360-Pro-ZMK/blob/V3.0/config/boards/arm/adv360/adv360_left_defconfig#L52-L57 Please note: these settings are now default and this link is invalid

tbenst added a commit to tbenst/Adv360-Pro-ZMK that referenced this issue Dec 2, 2023
@tbenst
Copy link
Author

tbenst commented Dec 2, 2023

I'm happy to report that I've figured out how to reliably reproduce the issue.

  1. using keyboard with laptop on desk
  2. clsoe lid, laptop moved to another room (~35ft w/ one wall), keyboard left on table (switches in on position)
  3. Use laptop for a bit, wait until keyboard disconnects (~3-5 min)
  4. close lid, move laptop next to keyboard on desk
  5. Notice that keyboard not paired, power toggling does not fix

In order to fix I have to:

  1. Mod-windows to reset keyboard bluetooth profile
  2. delete profile on device
  3. power toggle keyboard (necessary!)
  4. connect as new device

After making the fix suggested by @ReFil, the issue does appear to be resolved.

I understand that pairing challenges with bluetooth are frustrating to debug. I know hardware testing automation is one approach for testing new firmware across a complex user story of pairing, unpairing, losing signal range, reconnecting, power toggling, etc.

Hope this fix can be deployed by default!

@ReFil
Copy link
Collaborator

ReFil commented Dec 3, 2023

If the issue hasn't recurred would you be able to close this GitHub issue out as solved? Many thanks

@ReFil
Copy link
Collaborator

ReFil commented Dec 5, 2023

Hi Tyler, just following up, has the issue recurred?

@tbenst
Copy link
Author

tbenst commented Dec 5, 2023

The issue has not occurred on my keyboard in the past few days.

Perhaps it would make sense to close this issue with a commit to the kinesis repo that makes this change for everyone?

If this simple fix solves the underlying issue, and I think it does, it'll make lots of folks happy, and they shouldn't have to manually adjust these settings.

https://www.reddit.com/r/kinesisadvantage/comments/1183xdh/hey_has_anyone_had_connection_issues_i_cant_get/

https://www.reddit.com/r/kinesisadvantage/comments/12z30xz/advantage360_pro_bluetooth_connectivity_problems/

@ReFil
Copy link
Collaborator

ReFil commented Dec 5, 2023

Those settings are planning to be merged in a upcoming update

@ReFil
Copy link
Collaborator

ReFil commented Dec 6, 2023

Settings are now default as of #289

@ReFil ReFil closed this as completed Dec 6, 2023
humblehacker added a commit to humblehacker/Adv360-Pro-ZMK that referenced this issue Dec 6, 2023
Following the advice in this issue comment: KinesisCorporation#282 (comment)
@ReFil
Copy link
Collaborator

ReFil commented Dec 7, 2023

@humblehacker Sorry to bother you, I noticed you have removed some lines from your defconfig file to mirror some changes however the link pointed to some lines that have since been removed so the reference is no longer valid and you have inadvertently removed some other lines. In this commit: 2055aa2 the changes were merged into the official firmware so you don't have to make other alterations. My apologies for any confusion caused

@humblehacker
Copy link
Contributor

Talk about proactive customer service! Thanks, I was concerned that the lines may have been out of sync since the link pointed to a branch and not a specific commit. Surprisingly, the keyboard is working with those changes on bluetooth again (had it plugged in for quite a while). So thanks for the heads up. I'll revert my changes.

@tbenst
Copy link
Author

tbenst commented Dec 21, 2023

Hey! Unfortunately it seems that this fix doesn't fully fix the issue--if I increase the time in which the laptop is apart from the keyboard, the bluetooth profile ends up in a broken state

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants