For Windows 10, you can use the Radio Manager APIs to control different radio states. You can find the full (both C# and C). First you need to get access to all of the system radios.
![]()
Feb 18, 2010 • If Bluetooth capability is integrated into your computer, make sure the Bluetooth radio transmitter is turned on. This might also turn your wireless network receiver on and off. Many laptops have an external switch for turning the transmitter on and off.
This must be called in a UI thread: var accessLevel = await Radio.RequestAccessAsync; Then, you can find all radios on the system (the sample describes other ways to access the radios): var radios = await Radio.GetRadiosAsync; Given a radio object, you can then change state by the following: Radio radio = SOMERADIO; radio.StateChanged = RadioStateChangedCallback; // Called when the radio state completes the change radio.SetStateAsync(RadioState.On); // Or RadioState.Off.
Placing as answer as too long for comment, not sure if this will be the fix however worth checking/trying: Go to Control Panel by clicking the Start button, and then clicking Control Panel. In the top right search type Bluetooth, and then click Change Bluetooth settings. Click the Options tab change the below settings: Select the check box for Allow Bluetooth devices to find this computer. Select the check box for Allow Bluetooth devices to connect to this computer. Also check for any other setting in here that could be helpful to your issue.
Let me know how you get on.
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |