4 Service org.moblin.connman
5 Interface org.moblin.connman.Manager
8 Methods dict GetProperties()
10 Returns all global system properties. See the
11 properties section for available properties.
13 Possible Errors: [service].Error.InvalidArguments
15 void SetProperty(string name, variant value)
17 Changes the value of the specified property. Only
18 properties that are listed as read-write are
19 changeable. On success a PropertyChanged signal
22 Possible Errors: [service].Error.InvalidArguments
23 [service].Error.InvalidProperty
25 object AddProfile(string name)
27 Add a new profile with the specified name.
29 It is possible to create two profiles with the same
30 name. The identification is done via the object path
31 and not the name of the profile.
33 Possible Errors: [service].Error.InvalidArguments
35 void RemoveProfile(object path)
37 Remove profile with specified object path.
39 It is not possible to remove the current active
40 profile. To remove the active profile a different
41 one must be selected via ActiveProfile property
44 At minimum one profile must be available all the time.
46 Possible Errors: [service].Error.InvalidArguments
48 void RequestScan(string type)
50 Request to trigger a scan for the specified
51 technology. The empty string "" triggers scanning
54 Possible Errors: [service].Error.InvalidArguments
56 void RegisterAgent(object path)
58 Register new agent for handling user requests.
60 Possible Errors: [service].Error.InvalidArguments
62 void UnregisterAgent(object path)
64 Unregister an existing agent.
66 Possible Errors: [service].Error.InvalidArguments
68 Signals PropertyChanged(string name, variant value)
70 This signal indicates a changed value of the given
73 StateChanged(string state)
75 This signal is similar to the PropertyChanged signal
76 for the State property.
78 It exists for application state only care about the
79 current state and so can avoid to be woken up when
80 other details changes.
82 Properties string State [readonly]
84 The global connection state of a system. Possible
85 values are "online" if at least one connection exists
86 and "offline" if no device is connected.
88 In certain situations the state might change to
89 the value "connected". This can only be seen if
90 previously no connection was present.
92 boolean OfflineMode [readwrite]
94 The offline mode indicates the global setting for
95 switching all radios on or off. Changing offline mode
96 to true results in powering down all devices. When
97 leaving offline mode the individual policy of each
98 device decides to switch the radio back on or not.
100 During offline mode, it is still possible to switch
101 certain technologies manually back on. For example
102 the limited usage of WiFi or Bluetooth devices might
103 be allowed in some situations.
105 object ActiveProfile [readwrite]
107 Object path of the current active profile.
109 array{object} Profiles [readonly]
111 List of profile object paths.
113 array{object} Devices [readonly]
115 List of device object paths.
117 array{object} Services [readonly]
119 List of service object paths. The list is sorted
120 internally to have the service with the default
121 route always first and then the favorite services
122 followed by scan results.
124 This list represents the available services for the
125 current selected profile. If the profile gets changed
126 then this list will be updated.
128 The same list is available via the profile object
129 itself. It is just provided here for convenience of
130 applications only dealing with the current active
133 array{object} Connections [readonly]
135 List of active connection object paths.