network-api.txt (1916B)
1 Network hierarchy 2 ================= 3 4 Service net.connman.iwd 5 Interface net.connman.iwd.Network 6 Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...}/Xxx 7 8 Methods void Connect() 9 10 Connect to the network. Request the device implied by 11 the object path to connect to specified network. 12 Connecting to WEP networks is not supported. 13 14 Note: When [General].EnableNetworkConfiguration is set 15 to true a call to Connect() has the potential to take 16 a significant amount of time. Specifically if DHCP is 17 either slow, or is unable to complete. The timeout for 18 DHCP is roughly 30 seconds per BSS. 19 20 Possible errors: net.connman.iwd.Aborted 21 net.connman.iwd.Busy 22 net.connman.iwd.Failed 23 net.connman.iwd.NoAgent 24 net.connman.iwd.NotSupported 25 net.connman.iwd.Timeout 26 net.connman.iwd.InProgress 27 net.connman.iwd.NotConfigured 28 29 Properties string Name [readonly] 30 31 Network SSID 32 33 boolean Connected [readonly] 34 35 Reflects whether the network is currently connected 36 or actively being connected to. This is meant for 37 the application to show a check-box or some other 38 means to notify the user which network is currently 39 selected. Refer to net.connman.iwd.Station 40 documentation for more details if you need to know 41 the actual state of the connection (i.e connecting, 42 connected, etc) 43 44 object Device [readonly] 45 46 The object path of the station the network belongs to. 47 48 string Type [readonly] 49 50 Contains the type of the network. Possible 51 types are "open", "wep", "psk", or "8021x" (EAP) 52 53 object KnownNetwork [readonly, optional] 54 55 Contains the path of the KnownNetwork object 56 corresponding to this Network. If the network 57 is not provisioned or has not been connected to 58 before, the property is omitted. 59 60 array(object) ExtendedServiceSet [readonly] 61 62 Contains a list of paths of each individual 63 BasicServiceSet object.