1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
|
/* Generated by vala-dbus-binding-tool 0.4.0. Do not modify! */
/* Generated with: vala-dbus-binding-tool --gdbus --directory=. */
using GLib;
namespace org {
namespace bluez {
[DBus (name = "org.bluez.Manager", timeout = 120000)]
public interface Manager : GLib.Object {
[DBus (name = "GetProperties")]
public abstract GLib.HashTable<string, GLib.Variant> get_properties() throws DBusError, IOError;
[DBus (name = "DefaultAdapter")]
public abstract GLib.ObjectPath default_adapter() throws DBusError, IOError;
[DBus (name = "FindAdapter")]
public abstract GLib.ObjectPath find_adapter(string pattern) throws DBusError, IOError;
[DBus (name = "ListAdapters")]
public abstract GLib.ObjectPath[] list_adapters() throws DBusError, IOError;
[DBus (name = "PropertyChanged")]
public signal void property_changed(string name, GLib.Variant value);
[DBus (name = "AdapterAdded")]
public signal void adapter_added(GLib.ObjectPath adapter);
[DBus (name = "AdapterRemoved")]
public signal void adapter_removed(GLib.ObjectPath adapter);
[DBus (name = "DefaultAdapterChanged")]
public signal void default_adapter_changed(GLib.ObjectPath adapter);
}
[DBus (name = "org.bluez.Manager", timeout = 120000)]
public interface ManagerSync : GLib.Object {
[DBus (name = "GetProperties")]
public abstract GLib.HashTable<string, GLib.Variant> get_properties() throws DBusError, IOError;
[DBus (name = "DefaultAdapter")]
public abstract GLib.ObjectPath default_adapter() throws DBusError, IOError;
[DBus (name = "FindAdapter")]
public abstract GLib.ObjectPath find_adapter(string pattern) throws DBusError, IOError;
[DBus (name = "ListAdapters")]
public abstract GLib.ObjectPath[] list_adapters() throws DBusError, IOError;
[DBus (name = "PropertyChanged")]
public signal void property_changed(string name, GLib.Variant value);
[DBus (name = "AdapterAdded")]
public signal void adapter_added(GLib.ObjectPath adapter);
[DBus (name = "AdapterRemoved")]
public signal void adapter_removed(GLib.ObjectPath adapter);
[DBus (name = "DefaultAdapterChanged")]
public signal void default_adapter_changed(GLib.ObjectPath adapter);
}
[DBus (name = "org.bluez.Adapter", timeout = 120000)]
public interface Adapter : GLib.Object {
[DBus (name = "GetProperties")]
public abstract GLib.HashTable<string, GLib.Variant> get_properties() throws DBusError, IOError;
[DBus (name = "SetProperty")]
public abstract void set_property(string name, GLib.Variant value) throws DBusError, IOError;
[DBus (name = "RequestSession")]
public abstract void request_session() throws DBusError, IOError;
[DBus (name = "ReleaseSession")]
public abstract void release_session() throws DBusError, IOError;
[DBus (name = "StartDiscovery")]
public abstract void start_discovery() throws DBusError, IOError;
[DBus (name = "StopDiscovery")]
public abstract void stop_discovery() throws DBusError, IOError;
[DBus (name = "ListDevices")]
public abstract GLib.ObjectPath[] list_devices() throws DBusError, IOError;
[DBus (name = "CreateDevice")]
public abstract GLib.ObjectPath create_device(string address) throws DBusError, IOError;
[DBus (name = "CreatePairedDevice")]
public abstract GLib.ObjectPath create_paired_device(string address, GLib.ObjectPath agent, string capability) throws DBusError, IOError;
[DBus (name = "CancelDeviceCreation")]
public abstract void cancel_device_creation(string address) throws DBusError, IOError;
[DBus (name = "RemoveDevice")]
public abstract void remove_device(GLib.ObjectPath device) throws DBusError, IOError;
[DBus (name = "FindDevice")]
public abstract GLib.ObjectPath find_device(string address) throws DBusError, IOError;
[DBus (name = "RegisterAgent")]
public abstract void register_agent(GLib.ObjectPath agent, string capability) throws DBusError, IOError;
[DBus (name = "UnregisterAgent")]
public abstract void unregister_agent(GLib.ObjectPath agent) throws DBusError, IOError;
[DBus (name = "PropertyChanged")]
public signal void property_changed(string name, GLib.Variant value);
[DBus (name = "DeviceCreated")]
public signal void device_created(GLib.ObjectPath device);
[DBus (name = "DeviceRemoved")]
public signal void device_removed(GLib.ObjectPath device);
[DBus (name = "DeviceFound")]
public signal void device_found(string address, GLib.HashTable<string, GLib.Variant> values);
[DBus (name = "DeviceDisappeared")]
public signal void device_disappeared(string address);
}
[DBus (name = "org.bluez.Adapter", timeout = 120000)]
public interface AdapterSync : GLib.Object {
[DBus (name = "GetProperties")]
public abstract GLib.HashTable<string, GLib.Variant> get_properties() throws DBusError, IOError;
[DBus (name = "SetProperty")]
public abstract void set_property(string name, GLib.Variant value) throws DBusError, IOError;
[DBus (name = "RequestSession")]
public abstract void request_session() throws DBusError, IOError;
[DBus (name = "ReleaseSession")]
public abstract void release_session() throws DBusError, IOError;
[DBus (name = "StartDiscovery")]
public abstract void start_discovery() throws DBusError, IOError;
[DBus (name = "StopDiscovery")]
public abstract void stop_discovery() throws DBusError, IOError;
[DBus (name = "ListDevices")]
public abstract GLib.ObjectPath[] list_devices() throws DBusError, IOError;
[DBus (name = "CreateDevice")]
public abstract GLib.ObjectPath create_device(string address) throws DBusError, IOError;
[DBus (name = "CreatePairedDevice")]
public abstract GLib.ObjectPath create_paired_device(string address, GLib.ObjectPath agent, string capability) throws DBusError, IOError;
[DBus (name = "CancelDeviceCreation")]
public abstract void cancel_device_creation(string address) throws DBusError, IOError;
[DBus (name = "RemoveDevice")]
public abstract void remove_device(GLib.ObjectPath device) throws DBusError, IOError;
[DBus (name = "FindDevice")]
public abstract GLib.ObjectPath find_device(string address) throws DBusError, IOError;
[DBus (name = "RegisterAgent")]
public abstract void register_agent(GLib.ObjectPath agent, string capability) throws DBusError, IOError;
[DBus (name = "UnregisterAgent")]
public abstract void unregister_agent(GLib.ObjectPath agent) throws DBusError, IOError;
[DBus (name = "PropertyChanged")]
public signal void property_changed(string name, GLib.Variant value);
[DBus (name = "DeviceCreated")]
public signal void device_created(GLib.ObjectPath device);
[DBus (name = "DeviceRemoved")]
public signal void device_removed(GLib.ObjectPath device);
[DBus (name = "DeviceFound")]
public signal void device_found(string address, GLib.HashTable<string, GLib.Variant> values);
[DBus (name = "DeviceDisappeared")]
public signal void device_disappeared(string address);
}
[DBus (name = "org.bluez.Agent", timeout = 120000)]
public interface Agent : GLib.Object {
[DBus (name = "Authorize")]
public abstract void authorize(GLib.ObjectPath device, string uuid) throws DBusError, IOError;
[DBus (name = "RequestPinCode")]
public abstract string request_pin_code(GLib.ObjectPath device) throws DBusError, IOError;
[DBus (name = "DisplayPasskey")]
public abstract void display_passkey(GLib.ObjectPath device, uint passkey) throws DBusError, IOError;
[DBus (name = "Release")]
public abstract void release() throws DBusError, IOError;
[DBus (name = "Cancel")]
public abstract void cancel() throws DBusError, IOError;
[DBus (name = "RequestConfirmation")]
public abstract void request_confirmation(GLib.ObjectPath device, uint passkey) throws DBusError, IOError;
[DBus (name = "ConfirmModeChange")]
public abstract void confirm_mode_change(string mode) throws DBusError, IOError;
[DBus (name = "RequestPasskey")]
public abstract uint request_passkey(GLib.ObjectPath device) throws DBusError, IOError;
}
[DBus (name = "org.bluez.Agent", timeout = 120000)]
public interface AgentSync : GLib.Object {
[DBus (name = "Authorize")]
public abstract void authorize(GLib.ObjectPath device, string uuid) throws DBusError, IOError;
[DBus (name = "RequestPinCode")]
public abstract string request_pin_code(GLib.ObjectPath device) throws DBusError, IOError;
[DBus (name = "DisplayPasskey")]
public abstract void display_passkey(GLib.ObjectPath device, uint passkey) throws DBusError, IOError;
[DBus (name = "Release")]
public abstract void release() throws DBusError, IOError;
[DBus (name = "Cancel")]
public abstract void cancel() throws DBusError, IOError;
[DBus (name = "RequestConfirmation")]
public abstract void request_confirmation(GLib.ObjectPath device, uint passkey) throws DBusError, IOError;
[DBus (name = "ConfirmModeChange")]
public abstract void confirm_mode_change(string mode) throws DBusError, IOError;
[DBus (name = "RequestPasskey")]
public abstract uint request_passkey(GLib.ObjectPath device) throws DBusError, IOError;
}
[DBus (name = "org.bluez.Device", timeout = 120000)]
public interface Device : GLib.Object {
[DBus (name = "GetProperties")]
public abstract GLib.HashTable<string, GLib.Variant> get_properties() throws DBusError, IOError;
[DBus (name = "SetProperty")]
public abstract void set_property(string name, GLib.Variant value) throws DBusError, IOError;
[DBus (name = "DiscoverServices")]
public abstract GLib.HashTable<uint, string> discover_services(string pattern) throws DBusError, IOError;
[DBus (name = "CancelDiscovery")]
public abstract void cancel_discovery() throws DBusError, IOError;
[DBus (name = "Disconnect")]
public abstract void disconnect() throws DBusError, IOError;
[DBus (name = "PropertyChanged")]
public signal void property_changed(string name, GLib.Variant value);
[DBus (name = "DisconnectRequested")]
public signal void disconnect_requested();
}
[DBus (name = "org.bluez.Device", timeout = 120000)]
public interface DeviceSync : GLib.Object {
[DBus (name = "GetProperties")]
public abstract GLib.HashTable<string, GLib.Variant> get_properties() throws DBusError, IOError;
[DBus (name = "SetProperty")]
public abstract void set_property(string name, GLib.Variant value) throws DBusError, IOError;
[DBus (name = "DiscoverServices")]
public abstract GLib.HashTable<uint, string> discover_services(string pattern) throws DBusError, IOError;
[DBus (name = "CancelDiscovery")]
public abstract void cancel_discovery() throws DBusError, IOError;
[DBus (name = "Disconnect")]
public abstract void disconnect() throws DBusError, IOError;
[DBus (name = "PropertyChanged")]
public signal void property_changed(string name, GLib.Variant value);
[DBus (name = "DisconnectRequested")]
public signal void disconnect_requested();
}
}
}
|