1ORG.BLUEZ.OBEX.CLIENT(5) Linux System Administration ORG.BLUEZ.OBEX.CLIENT(5)
2
3
4
6 org.bluez.obex.Client - BlueZ D-Bus OBEX Client API documentation
7
9 Service
10 org.bluez.obex
11
12 Interface
13 org.bluez.obex.Client1
14
15 Object path
16 /org/bluez/obex
17
18 Methods
19 object CreateSession(string destination, dict args)
20 Connects to the destination address and then proceed to create an
21 OBEX session object which implements org.bluez.obex.Session(5) in‐
22 terface.
23
24 The last parameter is a dictionary to hold optional or type-specific
25 parameters.
26
27 Possible args values:
28
29 string Target
30 Type of session to be created.
31
32 Possible values:
33
34 "ftp"
35
36 "map"
37
38 "opp"
39
40 "pbap"
41
42 "sync"
43
44 string Source
45 Local address to be used.
46
47 byte Channel
48 Channel to be used.
49
50 Possible errors:
51
52 org.bluez.obex.Error.InvalidArguments
53
54 org.bluez.obex.Error.Failed
55
56 void RemoveSession(object session)
57 Disconnects and removes session previously created by CreateSes‐
58 sion() aborting any pending transfers.
59
60 Possible errors:
61
62 org.bluez.obex.Error.InvalidArguments
63
64 org.bluez.obex.Error.NotAuthorized
65
66
67
68
69BlueZ October 2023 ORG.BLUEZ.OBEX.CLIENT(5)