- Forum posts: 1
May 5, 2016, 1:03:04 PM via Website
May 5, 2016 1:03:04 PM via Website
I'm currently developing a bluetooth controller app in android and in that I need to change the default name "HC-06" of the device as per my wish. I achieved it by sending AT commands from my app to the hc-06 module which is connected to an arduino board. Inorder to get the updated device name, it needs to be unpaired and scanned again.
However when the device is discovered, it still retains the old name and gets refreshed only when it is selected to pair again. The name gets updated when the pairing request menu pops up.
But I want to get the updated device name during the scan itself. Saw some posts regarding caching of bluetooth names and "fetchUuidsWithSdp". But it didn't work out. How to properly use the fetchUuidsWithSdp method ? or is there any other solution?
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.