![]() |
![]() |
![]() |
libnm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define NM_SETTING_BLUETOOTH_SETTING_NAME #define NM_SETTING_BLUETOOTH_BDADDR #define NM_SETTING_BLUETOOTH_TYPE #define NM_SETTING_BLUETOOTH_TYPE_DUN #define NM_SETTING_BLUETOOTH_TYPE_PANU struct NMSettingBluetooth; NMSettingBluetoothClass; NMSetting * nm_setting_bluetooth_new (void
); const char * nm_setting_bluetooth_get_bdaddr (NMSettingBluetooth *setting
); const char * nm_setting_bluetooth_get_connection_type (NMSettingBluetooth *setting
);
The NMSettingBluetooth object is a NMSetting subclass that describes properties necessary for connection to devices that provide network connections via the Bluetooth Dial-Up Networking (DUN) and Network Access Point (NAP) profiles.
#define NM_SETTING_BLUETOOTH_TYPE_DUN "dun"
Connection type describing a connection to devices that support the Bluetooth DUN profile.
#define NM_SETTING_BLUETOOTH_TYPE_PANU "panu"
Connection type describing a connection to devices that support the Bluetooth NAP (Network Access Point) protocol, which accepts connections via PANU.
NMSetting * nm_setting_bluetooth_new (void
);
Creates a new NMSettingBluetooth object with default values.
Returns : |
the new empty NMSettingBluetooth object. [transfer full] |
const char * nm_setting_bluetooth_get_bdaddr (NMSettingBluetooth *setting
);
Gets the Bluetooth address of the remote device which this setting describes a connection to.
|
the NMSettingBluetooth |
Returns : |
the Bluetooth address |
const char * nm_setting_bluetooth_get_connection_type
(NMSettingBluetooth *setting
);
Returns the connection method for communicating with the remote device (i.e. either DUN to a DUN-capable device or PANU to a NAP-capable device).
|
the NMSettingBluetooth |
Returns : |
the type, either NM_SETTING_BLUETOOTH_TYPE_PANU or
NM_SETTING_BLUETOOTH_TYPE_DUN
|
"bdaddr"
property"bdaddr" gchar* : Read / Write
The Bluetooth address of the device.
Default value: NULL
"type"
property"type" gchar* : Read / Write
Either "dun" for Dial-Up Networking connections or "panu" for Personal Area Networking connections to devices supporting the NAP profile.
Default value: NULL