I have some application where I search the Bluetooth surrounding with RHostResolver.
After every search I check which devices are around and make a connection to some of those devices and exchange some data.
Now when disconnecting from a device the Active object informs that the disconnecting has been done. So, I start searching again...
But I have noticed that even though the active object has informed about the disconnecting the bluetooth connecting is actually still there?!? Why does the active object informs that the connection is gone when it's not?
As I have read on this Forum disconnecting a Bluetooth connection in Symbian OS takes about 3 seconds. Why does the active object informs (lets say after 1 second) that we are disconnected when it is not!
When putting some delay (lets say 5sec) after the active object has informed that the connection is gone the connection is actually gone??!! and starting the search again works better...
When is it sure that a bluetooth connection has been disconnected? Using delays is not the good way of doing this!