Blob: org.bluez.NetworkServer.rst

Blob id: ce5e619409792f1c664e061205c3ede2d09bb8b1

Size: 1.5 KB

 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
=======================
org.bluez.NetworkServer
=======================

-------------------------------------------
BlueZ D-Bus NetworkServer API documentation
-------------------------------------------

:Version: BlueZ
:Date: October 2023
:Manual section: 5
:Manual group: Linux System Administration

Interface
=========

:Service:	org.bluez
:Interface:	org.bluez.NetworkServer1
:Object path:	/org/bluez/{hci0,hci1,...}


Methods
-------

void Register(string uuid, string bridge)
`````````````````````````````````````````

Registers server for the provided UUID.

Every new connection to this server will be added the bridge interface.

Possible uuid values:

:"panu", "00001115-0000-1000-8000-00805f9b34fb":

	Personal Network User role.

:"nap", "00001116-0000-1000-8000-00805f9b34fb":

	Network Access Point role.

:"gn", "00001117-0000-1000-8000-00805f9b34fb":

	Group Network role.

Initially no network server SDP is provided. Only after this method a SDP record
will be available and the BNEP server will be ready for incoming connections.

Possible errors:

:org.bluez.Error.InvalidArguments:
:org.bluez.Error.AlreadyExists:
:org.bluez.Error.Failed:

void Unregister(string uuid)
````````````````````````````

Unregisters the server for provided UUID which was previously registered with
**Register()** method.

All servers will be automatically unregistered when the calling application
terminates.

Possible errors:

:org.bluez.Error.InvalidArguments:
:org.bluez.Error.Failed: