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

# [Name](#Name)

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

# [Interface](#Interface)

[**Service**](#Service)

org.bluez

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

org.bluez.Network1

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

\[variable prefix]/{hci0,hci1,...}/dev\_{BDADDR}

## [Methods](#Methods)

## [string Connect(string uuid)](#string_Connect%28string_uuid%29)

Connects to the network device and return the network interface name.

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.

The connection will be closed and network device released either upon calling **Disconnect()** or when the client disappears from the message bus.

Possible errors:

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

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

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

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

## [void Disconnect()](#void_Disconnect%28%29)

Disconnects from the network device.

To abort a connection attempt in case of errors or timeouts in the client it is fine to call this method.

Possible errors:

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

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

## [Properties](#Properties)

## [boolean Connected \[readonly\]](#boolean_Connected__readonly_)

Indicates if the device is connected.

## [string Interface \[readonly, optional\]](#string_Interface__readonly,_optional_)

Indicates the network interface name when available.

## [string UUID \[readonly, optional\]](#string_UUID__readonly,_optional_)

Indicates the connection role when available.

October 2023 BlueZ

---

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