org.bluez.NetworkServer(5) Linux System Administration org.bluez.NetworkServer(5)

# [Name](#Name)

org.bluez.NetworkServer - BlueZ D-Bus NetworkServer API documentation

# [Interface](#Interface)

[**Service**](#Service)

org.bluez

[**Interface**](#Interface~2)

org.bluez.NetworkServer1

[**Object path**](#Object)

/org/bluez/{hci0,hci1,...}

## [Methods](#Methods)

## [void Register(string uuid, string bridge)](#void_Register%28string_uuid,_string_bridge%29)

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.InvalidArguments)

[**org.bluez.Error.AlreadyExists**](#org.bluez.Error.AlreadyExists)

[**org.bluez.Error.Failed**](#org.bluez.Error.Failed)

## [void Unregister(string uuid)](#void_Unregister%28string_uuid%29)

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.InvalidArguments~2)

[**org.bluez.Error.Failed**](#org.bluez.Error.Failed~2)

October 2023 BlueZ

---

Document: org.bluez.NetworkServer(5) from bluez 5.87-r4 (Chainguard OS)
Source: https://github.com/bluez/bluez
