Currently i am using Bluetooth APIs meant for Microsoft bluetooth stack. I have developed an bluetooth PC application in C++ which discovers remote bluetooth device and then authenticate device through some API. Problem is when i turn off bluetooth radio from remote device and then start searching the device again through PC application, API still detects the remote device even if remote device radio is turned off.
I suspect device cache which is part of OS is not getting updated. So API returns the same device name.
Any help in finding why device is not updated and also any pointers to bluetooth API would be appreciated.