iwd/doc/wsc-api.txt

42 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-11-11 18:29:04 +01:00
WiFiSimpleConfiguration hierarchy
=================================
Service net.connman.iwd
Interface net.connman.iwd.WiFiSimpleConfiguration [Experimental]
Object path /{phy0,phy1,...}/{1,2,...}
2017-02-17 19:07:43 +01:00
Methods void PushButton()
2016-11-11 18:29:04 +01:00
Start WSC (formerly known as WPS, Wi-Fi Protected
Setup) configuration in PushButton mode.
Any connected networks on the device will be
disconnected and scanning will commence to find the
access point in PushButton mode. If multiple access
points are found, then a SessionOverlap error will be
returned.
This method returns once the configuration has been
completed and the network has been successfully
connected.
Possible errors:
net.connman.iwd.WiFiSimpleConfiguration.SessionOverlap
net.connman.iwd.WiFiSimpleConfiguration.NoCredentials
net.connman.iwd.WiFiSimpleConfiguration.WalkTimerExpired
net.connman.iwd.WiFiSimpleConfiguration.NotReachable
net.connman.iwd.Aborted
net.connman.iwd.Failed
net.connman.iwd.Busy
2017-02-17 19:31:56 +01:00
string GeneratePin()
Generates a random 8 digit PIN with an included check
digit suitable for use by most user interfaces.
2016-11-11 18:29:04 +01:00
void Cancel()
Aborts any ongoing WSC operations. If no WSC
operation is ongoing, net.connman.iwd.NotAvailable is
returned.