[bug] 2.1.3.5 Xperia - certain bluetooth devices always listed as nearby

asked 2017-10-29 21:54:00 +0300

mosen gravatar image

updated 2017-10-29 22:13:52 +0300

DaveRo gravatar image

Some bluetooth devices are permanently listed as "nearby" in bt-settings and can not be deleted by UI means once they are discovered. In my case, i picked up a random device while scanning for my pebble in public. Longpress on the MAC-adress to delete did not work.

Thanks to user lanterns hint at TMO i was able to delete the persistant MAC adress entry by deleting the MAC adresses folder from /var/lib/bluetooth/MY-DEVICES-MAC/...

rm -R /var/lib/bluetooth/*MY-DEVICES-MAC*/*MAC-IN-QUESTION*/

User Heik reports the same bug. In his case a failed pair attempt left the devices MAC listed in "nearby" permanently.

edit retag flag offensive close delete

Comments

2

Confirmed.

eson ( 2017-10-29 22:00:06 +0300 )edit
2

@eson from failed pairing or randomly during discovery mode?

mosen ( 2017-10-29 22:10:24 +0300 )edit
1

@mosen Same as you, during discovery mode and listed as "nearby".

eson ( 2017-10-30 06:20:47 +0300 )edit
1

Confirming, with Sony Xperia X and Sailfish 2.1.4.14.

I'd like to add that I had two devices; one with a mac, one with a name shown. In this case I had to look into file info inside each directory. In the end I used this approach for each MAC address folder until I got the name I wanted:

cd /var/lib/bluetooth/*MY-DEVICES-MAC*/
grep Name /*MAC-IN-QUESTION*/info

Oh yeah. You have to turn bluetooth off and on again in order for those removed device(s) to go away from the Bluetooth settings.

Direc ( 2018-02-28 21:14:48 +0300 )edit