NMDeviceBt

## NMDeviceBt NMDeviceBt |

## Synopsis

                        NMDeviceBt;
                        NMDeviceBtClass;
    #define             NM_DEVICE_BT_CAPABILITIES
    #define             NM_DEVICE_BT_HW_ADDRESS
    #define             NM_DEVICE_BT_NAME
    NMBluetoothCapabilities nm_device_bt_get_capabilities   (NMDeviceBt *device);
    const char *        nm_device_bt_get_hw_address         (NMDeviceBt *device);
    const char *        nm_device_bt_get_name               (NMDeviceBt *device);
    GObject *           nm_device_bt_new                    (DBusGConnection *connection,
                                                             const char *path);

## Object Hierarchy

      GObject
       +----NMObject
             +----NMDevice
                   +----NMDeviceBt

## Implemented Interfaces

NMDeviceBt implements GInitable and GAsyncInitable.

## Properties

      "bt-capabilities"          guint                 : Read
      "hw-address"               gchar*                : Read
      "name"                     gchar*                : Read

## Description

## Details

### NMDeviceBt

    typedef struct _NMDeviceBt NMDeviceBt;

### NMDeviceBtClass

    typedef struct {
    	NMDeviceClass parent;

    	/* Padding for future expansion */
    	void (*_reserved1) (void);
    	void (*_reserved2) (void);
    	void (*_reserved3) (void);
    	void (*_reserved4) (void);
    	void (*_reserved5) (void);
    	void (*_reserved6) (void);
    } NMDeviceBtClass;

### NM_DEVICE_BT_CAPABILITIES

    #define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"

### 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_get_capabilities ()

    NMBluetoothCapabilities nm_device_bt_get_capabilities   (NMDeviceBt *device);

Returns the Bluetooth device's usable capabilities.

`device` : | a NMDeviceBt
Returns : | a combination of NMBluetoothCapabilities

### nm_device_bt_get_hw_address ()

    const char *        nm_device_bt_get_hw_address         (NMDeviceBt *device);

Gets the hardware (MAC) address of the NMDeviceBt

`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.

`device` : | a NMDeviceBt
Returns : | the name of the device

### nm_device_bt_new ()

    GObject *           nm_device_bt_new                    (DBusGConnection *connection,
                                                             const char *path);

Creates a new NMDeviceBt.

`connection` : | the DBusGConnection
`path` : | the DBus object path of the device
Returns : | a new device. [transfer full]

## Property Details

### The `"bt-capabilities"` property

      "bt-capabilities"          guint                 : Read

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

Default value: 0

### The `"hw-address"` property

      "hw-address"               gchar*                : Read

The hardware (MAC) address of the device.

Default value: NULL

### The `"name"` property

      "name"                     gchar*                : Read

The name of the bluetooth device.

Default value: NULL