![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
enum NMDeviceWimaxError; #define NM_DEVICE_WIMAX_ERROR GQuark nm_device_wimax_error_quark (void
); #define NM_DEVICE_WIMAX_HW_ADDRESS #define NM_DEVICE_WIMAX_ACTIVE_NSP #define NM_DEVICE_WIMAX_CENTER_FREQUENCY #define NM_DEVICE_WIMAX_RSSI #define NM_DEVICE_WIMAX_CINR #define NM_DEVICE_WIMAX_TX_POWER #define NM_DEVICE_WIMAX_BSID #define NM_DEVICE_WIMAX_NSPS GObject * nm_device_wimax_new (DBusGConnection *connection
,const char *path
); const char * nm_device_wimax_get_hw_address (NMDeviceWimax *wimax
); NMWimaxNsp * nm_device_wimax_get_active_nsp (NMDeviceWimax *wimax
); NMWimaxNsp * nm_device_wimax_get_nsp_by_path (NMDeviceWimax *wimax
,const char *path
); const GPtrArray * nm_device_wimax_get_nsps (NMDeviceWimax *wimax
); guint nm_device_wimax_get_center_frequency (NMDeviceWimax *self
); gint nm_device_wimax_get_rssi (NMDeviceWimax *self
); gint nm_device_wimax_get_cinr (NMDeviceWimax *self
); gint nm_device_wimax_get_tx_power (NMDeviceWimax *self
); const char * nm_device_wimax_get_bsid (NMDeviceWimax *self
);
typedef enum { NM_DEVICE_WIMAX_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ NM_DEVICE_WIMAX_ERROR_NOT_WIMAX_CONNECTION, /*< nick=NotWimaxConnection >*/ NM_DEVICE_WIMAX_ERROR_INVALID_WIMAX_CONNECTION, /*< nick=InvalidWimaxConnection >*/ NM_DEVICE_WIMAX_ERROR_INVALID_DEVICE_MAC, /*< nick=InvalidDeviceMac >*/ NM_DEVICE_WIMAX_ERROR_MAC_MISMATCH, /*< nick=MacMismatch >*/ } NMDeviceWimaxError;
unknown or unclassified error | |
the connection was not of WiMax type | |
the WiMax connection was invalid | |
the device's MAC was invalid | |
the MACs of the connection and the device mismatched |
GQuark nm_device_wimax_error_quark (void
);
nm_device_wimax_error_quark
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Registers an error quark for NMDeviceWimax if necessary.
Returns : |
the error quark used for NMDeviceWimax errors. |
GObject * nm_device_wimax_new (DBusGConnection *connection
,const char *path
);
nm_device_wimax_new
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Creates a new NMDeviceWimax.
|
the DBusGConnection |
|
the D-Bus object path of the WiMAX device |
Returns : |
a new WiMAX device. [transfer full] |
const char * nm_device_wimax_get_hw_address (NMDeviceWimax *wimax
);
nm_device_wimax_get_hw_address
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Gets the hardware (MAC) address of the NMDeviceWimax
|
a NMDeviceWimax |
Returns : |
the hardware address. This is the internal string used by the device, and must not be modified. |
NMWimaxNsp * nm_device_wimax_get_active_nsp (NMDeviceWimax *wimax
);
nm_device_wimax_get_active_nsp
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Gets the active NMWimaxNsp.
|
a NMDeviceWimax |
Returns : |
the access point or NULL if none is active. [transfer full]
|
NMWimaxNsp * nm_device_wimax_get_nsp_by_path (NMDeviceWimax *wimax
,const char *path
);
nm_device_wimax_get_nsp_by_path
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Gets a NMWimaxNsp by path.
|
a NMDeviceWimax |
|
the object path of the NSP |
Returns : |
the access point or NULL if none is found. [transfer none]
|
const GPtrArray * nm_device_wimax_get_nsps (NMDeviceWimax *wimax
);
nm_device_wimax_get_nsps
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Gets all the scanned NSPs of the NMDeviceWimax.
|
a NMDeviceWimax |
Returns : |
a GPtrArray containing all the scanned NMWimaxNsps. The returned array is owned by the client and should not be modified. [element-type NMWimaxNsp] |
guint nm_device_wimax_get_center_frequency
(NMDeviceWimax *self
);
nm_device_wimax_get_center_frequency
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Gets the center frequency (in KHz) of the radio channel the device is using to communicate with the network when connected. Has no meaning when the device is not connected.
|
a NMDeviceWimax |
Returns : |
the center frequency in KHz, or 0 |
gint nm_device_wimax_get_rssi (NMDeviceWimax *self
);
nm_device_wimax_get_rssi
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Gets the RSSI of the current radio link in dBm. This value indicates how strong the raw received RF signal from the base station is, but does not indicate the overall quality of the radio link. Has no meaning when the device is not connected.
|
a NMDeviceWimax |
Returns : |
the RSSI in dBm, or 0 |
gint nm_device_wimax_get_cinr (NMDeviceWimax *self
);
nm_device_wimax_get_cinr
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Gets the CINR (Carrier to Interference + Noise Ratio) of the current radio link in dB. CINR is a more accurate measure of radio link quality. Has no meaning when the device is not connected.
|
a NMDeviceWimax |
Returns : |
the CINR in dB, or 0 |
gint nm_device_wimax_get_tx_power (NMDeviceWimax *self
);
nm_device_wimax_get_tx_power
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Average power of the last burst transmitted by the device, in units of 0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of -5.5 dBm. Has no meaning when the device is not connected.
|
a NMDeviceWimax |
Returns : |
the TX power in dBm, or 0 |
const char * nm_device_wimax_get_bsid (NMDeviceWimax *self
);
nm_device_wimax_get_bsid
has been deprecated since version 1.2 and should not be used in newly-written code. WiMAX is no longer supported.
Gets the ID of the serving Base Station when the device is connected.
|
a NMDeviceWimax |
Returns : |
the ID of the serving Base Station, or NULL
|