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

Renaming the bluetooth device doesn't reflect after I reconnect to it #121

Open
devammarzd opened this issue Jan 31, 2025 · 1 comment
Open

Comments

@devammarzd
Copy link

devammarzd commented Jan 31, 2025

I need a help regarding a confusion related to the renaming of my bluetooth device.

Here is the user flow:
I call the requestDevice function which opens the "Scanning" dialog of the browser. I select my desired device, and after connecting to it, I change the name of the device using a characteristic. The name changes successfully on the device. Now, I disconnect the device and again call the requestDevice function. The Scanning dialog still shows the old name of the device followed by "-Paired".

Things I have already tried which didn't work out:

  • Turned off and on bluetooth adapter of the laptop.
  • Refreshing the browser tab
  • relaunching the webapp
  • manually forgetting the device from bluetooth settings of the laptop
  • tried requesting device through this online sample , but still old name shows up.

Other findings: If i connect and disconnect again after changing name, only then I see the new name actually in the dialog. Seems like there is a cache of Bluetooth which stores the names of the device from last session? What can be the possible solutions to it?

@jeroen1602
Copy link
Owner

This looks like a caching issue in either the browser or your operating system. So it goes somewhat goes out of scope for this translation library.

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

2 participants