NMDeviceBt

NMDeviceBt

Object Hierarchy

    GObject
    ╰── NMObject
        ╰── NMDevice
            ╰── NMDeviceBt

Implemented Interfaces

NMDeviceBt implements GInitable and GAsyncInitable.

Description

Functions

nm_device_bt_get_hw_address ()

const char *
nm_device_bt_get_hw_address (NMDeviceBt *device);

Gets the hardware (MAC) address of the NMDeviceBt

Parameters

device

a NMDeviceBt

 

Returns

the hardware address. This is the internal string used by the device, and must not be modified.


nm_device_bt_get_name ()

const char *
nm_device_bt_get_name (NMDeviceBt *device);

Gets the name of the NMDeviceBt.

Parameters

device

a NMDeviceBt

 

Returns

the name of the device


nm_device_bt_get_capabilities ()

NMBluetoothCapabilities
nm_device_bt_get_capabilities (NMDeviceBt *device);

Returns the Bluetooth device's usable capabilities.

Parameters

device

a NMDeviceBt

 

Returns

a combination of NMBluetoothCapabilities

Types and Values

NM_DEVICE_BT_HW_ADDRESS

#define NM_DEVICE_BT_HW_ADDRESS   "hw-address"

NM_DEVICE_BT_NAME

#define NM_DEVICE_BT_NAME         "name"

NM_DEVICE_BT_CAPABILITIES

#define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"

NMDeviceBt

typedef struct _NMDeviceBt NMDeviceBt;

Property Details

The “bt-capabilities” property

  “bt-capabilities”          NMBluetoothCapabilities

The device's bluetooth capabilities, a combination of NMBluetoothCapabilities.

Flags: Read


The “hw-address” property

  “hw-address”               gchar *

The hardware (MAC) address of the device.

Flags: Read

Default value: NULL


The “name” property

  “name”                     gchar *

The name of the bluetooth device.

Flags: Read

Default value: NULL