Using Winrt APIs in python to turn on/off Mobile BoardBand radio via Windows.Devices.Radios SetStateAsync(RadioState)
I want to use winrt api python to turn on Mobile BoardBand ratio by using SetStateAsync(RadioState) in Windows.Devices.Radios.
I can get the Mobile BoardBand radio info successful, and the problem is setSateAsync doesnt work properly.
The api page is shown the app capability has to be set "cellularDeviceControl radios", However, I am using python code and there is no "package.menifest" file to edit.
https://learn.microsoft.com/en-us/uwp/api/windows.devices.radios.radio.setstateasync?view=winrt-22000#windows-devices-radios-radio-setstateasync(windows-devices-radios-radiostate)
Is anyone can use winrt api python to turn on/off the radio?
Thanks.