nm-setting-wpan: libnm Reference Manual

## nm-setting-wpan nm-setting-wpan — Describes connection properties for IEEE 802.15.4 (WPAN) MAC |

## Functions

NMSetting * | nm_setting_wpan_new ()
const char * | nm_setting_wpan_get_mac_address ()
guint16 | nm_setting_wpan_get_pan_id ()
guint16 | nm_setting_wpan_get_short_address ()

## Types and Values

#define | NM_SETTING_WPAN_SETTING_NAME
#define | NM_SETTING_WPAN_MAC_ADDRESS
#define | NM_SETTING_WPAN_PAN_ID
#define | NM_SETTING_WPAN_SHORT_ADDRESS

## Description

The NMSettingWpan object is a NMSetting subclass that describes properties necessary for configuring IEEE 802.15.4 (WPAN) MAC layer devices.

## Functions

### nm_setting_wpan_new ()

    NMSetting *
    nm_setting_wpan_new (void);

Creates a new NMSettingWpan object with default values.

#### Returns

the new empty NMSettingWpan object.

[transfer full]

Since: 1.14

### nm_setting_wpan_get_mac_address ()

    const char *
    nm_setting_wpan_get_mac_address (NMSettingWpan *setting);

#### Parameters

setting | the NMSettingWpan |

#### Returns

the “mac-address” property of the setting

Since: 1.14

### nm_setting_wpan_get_pan_id ()

    guint16
    nm_setting_wpan_get_pan_id (NMSettingWpan *setting);

#### Parameters

setting | the NMSettingWpan |

#### Returns

the “pan-id” property of the setting

Since: 1.14

### nm_setting_wpan_get_short_address ()

    guint16
    nm_setting_wpan_get_short_address (NMSettingWpan *setting);

#### Parameters

setting | the NMSettingWpan |

#### Returns

the “short-address” property of the setting

Since: 1.14

## Types and Values

### NM_SETTING_WPAN_SETTING_NAME

    #define NM_SETTING_WPAN_SETTING_NAME       "wpan"

### NM_SETTING_WPAN_MAC_ADDRESS

    #define NM_SETTING_WPAN_MAC_ADDRESS        "mac-address"

### NM_SETTING_WPAN_PAN_ID

    #define NM_SETTING_WPAN_PAN_ID             "pan-id"

### NM_SETTING_WPAN_SHORT_ADDRESS

    #define NM_SETTING_WPAN_SHORT_ADDRESS      "short-address"