1ORG.BLUEZ.OBEX.OBJECTPUSH(5L)inux System AdministratiOoRnG.BLUEZ.OBEX.OBJECTPUSH(5)
2
3
4
6 org.bluez.obex.ObjectPush - BlueZ D-Bus OBEX ObjectPush API documenta‐
7 tion
8
10 Service
11 org.bluez.obex
12
13 Interface
14 org.bluez.obex.ObjectPush1
15
16 Object path
17 [Session object path]
18
19 Methods
20 object, dict SendFile(string sourcefile)
21 Sends local file to the remote device.
22
23 The returned path represents the newly created transfer, which
24 should be used to find out if the content has been successfully
25 transferred or if the operation fails.
26
27 The properties of this transfer are also returned along with the ob‐
28 ject path, to avoid a call to GetProperties, see
29 org.bluez.obex.Transfer(5) for the possible list of properties.
30
31 Possible errors:
32
33 org.bluez.obex.Error.InvalidArguments
34
35 org.bluez.obex.Error.Failed
36
37 object, dict PullBusinessCard(string targetfile)
38 Request the business card from a remote device and store it in the
39 local file.
40
41 If an empty target file is given, a name will be automatically gen‐
42 erated for the temporary file.
43
44 The returned path represents the newly created transfer, which
45 should be used to find out if the content has been successfully
46 transferred or if the operation fails.
47
48 The properties of this transfer are also returned along with the ob‐
49 ject path, to avoid a call to GetProperties, see
50 org.bluez.obex.Transfer(5) for the possible list of properties.
51
52 Possible errors:
53
54 org.bluez.obex.Error.InvalidArguments
55
56 org.bluez.obex.Error.Failed
57
58 object, dict ExchangeBusinessCards(string clientfile, string targetfile)
59 Push the client's business card to the remote device and then re‐
60 trieve the remote business card and store it in a local file.
61
62 If an empty target file is given, a name will be automatically gen‐
63 erated for the temporary file.
64
65 The returned path represents the newly created transfer, which
66 should be used to find out if the content has been successfully
67 transferred or if the operation fails.
68
69 The properties of this transfer are also returned along with the ob‐
70 ject path, to avoid a call to GetProperties, see
71 org.bluez.obex.Transfer(5) for the possible list of properties.
72
73 Possible errors:
74
75 org.bluez.obex.Error.InvalidArguments
76
77 org.bluez.obex.Error.Failed
78
79
80
81
82BlueZ October 2023 ORG.BLUEZ.OBEX.OBJECTPUSH(5)