Frameworks > Bluetooth Framework
Bluetooth adapter not found scenario
Mike Petrichenko:
Aha. OK.
I think the better and fast way to do what you need is:
1. Write procedure
wclBluetoothRadio GetRadio()
{
if (wclAPI.Transports.Contains(trBluetooth)
{
wclBluetoothRadios Radios = wclBluetoothDiscovery.EnumRadio();
wclBluetoothRadio Radio = Radio[0];
Radios = null;
return Radio;
}
return null;
}
2. Write OnChanged event for wcvlAPI and when it called (and when your app start) call the procedure.
3. If the procdure returns null show message about No Radio.
Navigation
[0] Message Index
[*] Previous page
Go to full version