![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
enum NMDeviceModemError; #define NM_DEVICE_MODEM_ERROR GQuark nm_device_modem_error_quark (void
); #define NM_DEVICE_MODEM_MODEM_CAPABILITIES #define NM_DEVICE_MODEM_CURRENT_CAPABILITIES NMDeviceModemCapabilities nm_device_modem_get_modem_capabilities (NMDeviceModem *self
); NMDeviceModemCapabilities nm_device_modem_get_current_capabilities (NMDeviceModem *self
);
typedef enum { NM_DEVICE_MODEM_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ NM_DEVICE_MODEM_ERROR_NOT_MODEM_CONNECTION, /*< nick=NotModemConnection >*/ NM_DEVICE_MODEM_ERROR_INVALID_MODEM_CONNECTION, /*< nick=InvalidModemConnection >*/ NM_DEVICE_MODEM_ERROR_MISSING_DEVICE_CAPS, /*< nick=MissingDeviceCaps >*/ } NMDeviceModemError;
unknown or unclassified error | |
the connection was not of modem type | |
the modem connection was invalid | |
the device missed required capabilities |
GQuark nm_device_modem_error_quark (void
);
Registers an error quark for NMDeviceModem if necessary.
Returns : |
the error quark used for NMDeviceModem errors. |
#define NM_DEVICE_MODEM_CURRENT_CAPABILITIES "current-capabilities"
NMDeviceModemCapabilities nm_device_modem_get_modem_capabilities
(NMDeviceModem *self
);
Returns a bitfield of the generic access technology families the modem supports. Not all capabilities are available concurrently however; some may require a firmware reload or reinitialization.
|
a NMDeviceModem |
Returns : |
the generic access technology families the modem supports |
NMDeviceModemCapabilities nm_device_modem_get_current_capabilities
(NMDeviceModem *self
);
Returns a bitfield of the generic access technology families the modem supports without a firmware reload or reinitialization. This value represents the network types the modem can immediately connect to.
|
a NMDeviceModem |
Returns : |
the generic access technology families the modem supports without a firmware reload or other reinitialization |