Getting updated Bluetooth discovery names from nearby devices

1 min read >

Getting updated Bluetooth discovery names from nearby devices

Embedded & Engineering Insights

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 of unuseful data obtained if we are looking only for the Bluetooth discovery name.