knownnetwork-api.txt (1533B)
1 KnownNetwork hierarchy 2 ====================== 3 4 Service net.connman.iwd 5 Interface net.connman.iwd.KnownNetwork 6 Object path /net/connman/iwd/Xxx 7 8 Methods void Forget() 9 10 Removes the network from the 'known networks' list and 11 removes any associated configuration data. If the 12 network is currently connected, then it is immediately 13 disconnected. 14 15 Properties string Name [readonly] 16 17 Contains the Name of the network. This is usually the 18 SSID, unless the network is a hotspot. In the hotspot 19 case the Name is obtained from the provisioning file. 20 21 string Type [readonly] 22 23 Contains the type of the network. Possible 24 types are "open", "psk", "8021x" (EAP), "hotspot" 25 26 bool Hidden [readonly] 27 28 True if this is a hidden network. The existence of 29 an object with this property set to True -- either 30 preprovisioned or created after a successful 31 net.connman.iwd.Station.ConnectHiddenNetwork() -- 32 enables IWD to scan for and show this network in 33 the scan results. 34 35 string LastConnectedTime [readonly, optional] 36 37 Contains the last time this network has been 38 successfully connected to. The time is given as a 39 ISO 8601-formatted string. If the network is known 40 but has never been successfully connected to, 41 this property is not visible. 42 43 boolean AutoConnect [readwrite] 44 45 Setting 'AutoConnect' to False prevents this network 46 from being considered as a candidate for the automatic 47 connection when its BSSIDs are observed in the scan 48 results. The default value is True.