Hi
If a bluetooth sensor is not found i keep searching for it using the following line of codes
bluetoothClient.BeginDiscoverDevices(255, false, false, false, discoverableOnly, new AsyncCallback(HandleDiscoverComplete), null);
Then i have the following to capture the result of the bluetooth search
private void HandleDiscoverComplete(IAsyncResult ar)
{
BluetoothDeviceInfo[ devices = bluetoothClient.EndDiscoverDevices(ar);
.......
}
On a widcom phone the handler is called exactly once but any subsequent calls executing bluetoothClient.BeginDiscoverDevices will never result in the handler being called. I read up on your document but it is not clear to me that this is a know problem or not for widcom. Should i explicitely close the bluetoothClient on each call of bluetoothClient.BeginDiscoverDevices?
Cheers Peter