-
Notifications
You must be signed in to change notification settings - Fork 16
Description
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?