station-debug-api.txt (1904B)
1 Station Debug hierarchy [experimental] 2 ============================ 3 4 These are all development APIs not meant for production use. 5 6 Service net.connman.iwd 7 Interface net.connman.iwd.StationDebug 8 Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...} 9 10 Methods void ConnectBssid(array(y) address) 11 12 Connect to a specific BSS. The address parameter should 13 be a byte array of length 6, the BSSID of a BSS which 14 IWD already has in its scan list. 15 16 Possible errors: net.connman.iwd.InvalidArguments 17 net.connman.iwd.NotFound 18 19 void Roam(array(y) address) 20 21 Roam to a specific BSS. The address parameter should be 22 a byte array of length 6, the BSSID of a BSS to roam to. 23 This BSS needs to be in IWD's scan results and fit the 24 requirements for a roam candidate (same network). 25 The type of roam is dependent on the network and is 26 chosen automatically by IWD. 27 28 Possible errors: net.connman.iwd.InvalidArguments 29 net.connman.iwd.NotConnected 30 31 void Scan(array(q) frequencies) 32 33 Scan on specific frequencies. The frequencies parameter 34 should be a list of valid frequencies. 35 36 Possible errors: net.connman.iwd.Busy 37 net.connman.iwd.InvalidArguments 38 net.connamn.iwd.Failed 39 40 a{oaa{sv}} GetNetworks() 41 42 Get a list of networks including data for individual 43 BSS's. Returns a dictionary where keys are network 44 object paths and values are arrays of dictionaries 45 containing BSS information: 46 47 { 48 /network/path/1: [ 49 { 50 Address: 11:22:33:44:55, 51 Frequency: 1234, 52 RSSI: -20, 53 Rank: 1000 54 MDE: 001122 55 }, 56 { ... } 57 ] 58 } 59 60 Signals: Event(s name, av data) 61 62 Signal sent for various debug events. The 'name' is the 63 event name, and 'data' is event dependent. 64 65 Properties: boolean AutoConnect 66 67 True if IWD is in an autoconnect state. This property 68 can be written to put IWD into an autoconnect state.