Closed thesems closed 1 year ago
Hello,
According to upstream NetworkManager documentation:
The wireless_enabled
should be read/write property.
~The python-sdbus
determines if it is writeable by the presence of setter which is obviously missing. This is an issue I would need to fix in the interface file generator.~
~Meanwhile you can try add the setter yourself. It can have raise NotImplementedError
as implementation is not important.~
~See example setter:~
Disregard the part about adding setter.
Just call set_async
with True
or False
and await on result. The presence of setter is not checked for a remote objects.
Thank you, you are right.
I'm trying to enable the wireless device/interface via this library. However, I believe it is not implemented.
File: networkmanager/interfaces_other.py
This suggests its read-only. There is also a method NetworkManager.enable() but it is not capable of turning on the wireless interface. It would appear that a @dbus_method_async is necessary.
Any plans to implement it or is it enabled in some other way?
Best regards.