Top | ![]() |
![]() |
![]() |
![]() |
GQuark | nm_setting_bluetooth_error_quark () |
NMSetting * | nm_setting_bluetooth_new () |
const GByteArray * | nm_setting_bluetooth_get_bdaddr () |
const char * | nm_setting_bluetooth_get_connection_type () |
#define | NM_SETTING_BLUETOOTH_SETTING_NAME |
enum | NMSettingBluetoothError |
#define | NM_SETTING_BLUETOOTH_ERROR |
#define | NM_SETTING_BLUETOOTH_BDADDR |
#define | NM_SETTING_BLUETOOTH_TYPE |
#define | NM_SETTING_BLUETOOTH_TYPE_DUN |
#define | NM_SETTING_BLUETOOTH_TYPE_PANU |
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.
GQuark
nm_setting_bluetooth_error_quark (void
);
Registers an error quark for NMSettingBluetooth if necessary.
NMSetting *
nm_setting_bluetooth_new (void
);
Creates a new NMSettingBluetooth object with default values.
const GByteArray *
nm_setting_bluetooth_get_bdaddr (NMSettingBluetooth *setting
);
Gets the Bluetooth address of the remote device which this setting describes a connection to.
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).
unknown or unclassified error |
||
the property was invalid |
||
the property was missing and is required |
||
the connection did not contain a required type setting, ie for DUN connections the connection must also contain an NMSettingGsm or NMSettingCdma as appropriate |
#define NM_SETTING_BLUETOOTH_TYPE_DUN "dun"
Connection type describing a connection to devices that support the Bluetooth DUN profile.
“bdaddr”
property “bdaddr” GArray_guchar_ *
The Bluetooth address of the device.
Flags: Read / Write
“type”
property“type” gchar *
Either "dun" for Dial-Up Networking connections or "panu" for Personal Area Networking connections to devices supporting the NAP profile.
Flags: Read / Write
Default value: NULL