Hi I am having problems in recieving found devices. I use a loop, first it was ok, now even after a restart the divicediscovery does not return any device. what is the solution? is it like stack over flow? how can I solve this. help needed ASAP!
this is my code...
public BluetoothClient12()
{
bc = new BluetoothClient();
bc.InquiryLength = new TimeSpan(5000);
}
public Dictionary deviceIdentifier()
{
Dictionary btDictionary = new Dictionary();
//Array of type BluetoothDeviceInfo
BluetoothDeviceInfo[ discoveredDevices = bc.DiscoverDevices(10, false,true, true);
}
when I debug, discoveredDevices is always empty.