mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
auto-t: iwd.py: allow passing uri to start_configurator
If a URI is passed this will envoke ConfigureEnrollee()
This commit is contained in:
parent
82b808cdfe
commit
50a546705e
@ -280,7 +280,10 @@ class DeviceProvisioning(IWDDBusAbstract):
|
|||||||
def start_enrollee(self):
|
def start_enrollee(self):
|
||||||
return self._iface.StartEnrollee()
|
return self._iface.StartEnrollee()
|
||||||
|
|
||||||
def start_configurator(self):
|
def start_configurator(self, uri=None):
|
||||||
|
if uri:
|
||||||
|
return self._iface.ConfigureEnrollee(uri)
|
||||||
|
else:
|
||||||
return self._iface.StartConfigurator()
|
return self._iface.StartConfigurator()
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
@ -668,8 +671,8 @@ class Device(IWDDBusAbstract):
|
|||||||
def dpp_start_enrollee(self):
|
def dpp_start_enrollee(self):
|
||||||
return self._device_provisioning.start_enrollee()
|
return self._device_provisioning.start_enrollee()
|
||||||
|
|
||||||
def dpp_start_configurator(self):
|
def dpp_start_configurator(self, uri=None):
|
||||||
return self._device_provisioning.start_configurator()
|
return self._device_provisioning.start_configurator(uri)
|
||||||
|
|
||||||
def dpp_stop(self):
|
def dpp_stop(self):
|
||||||
return self._device_provisioning.stop()
|
return self._device_provisioning.stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user