Getting updated Bluetooth discovery names from nearby devices
lstroie in
linux
I’ve needed to see updated information related to nearby Bluetooth devices.
When using < hcitool scan > command, the output is not updated on every run, and even when used with the –flush option, the obtained results did not reflect the reality because the data is cached.
The solution seems to be < hcitool scan –flush –info > . This forces a detailed inquiry that is not cached.
One minor disadvantage would be the bigger amount unuseful data obtained, if we are looking only for the Bluetooth discovery name.