Top |
MMSignalThresholdPropertiesMMSignalThresholdProperties — Helper object to handle signal threshold properties. |
The MMSignalThresholdProperties is an object handling the properties requested when setting up threshold based signal quality information reporting.
This object is created by the user and passed to ModemManager with either
mm_modem_signal_setup_thresholds()
or mm_modem_signal_setup_thresholds_sync()
.
MMSignalThresholdProperties *
mm_signal_threshold_properties_new (void
);
Creates a new empty MMSignalThresholdProperties.
a MMSignalThresholdProperties. The returned value should be freed with g_object_unref()
.
[transfer full]
Since: 1.20
guint
mm_signal_threshold_properties_get_rssi
(MMSignalThresholdProperties *self
);
Gets the RSSI threshold, in dBm.
Since: 1.20
void mm_signal_threshold_properties_set_rssi (MMSignalThresholdProperties *self
,guint rssi_threshold
);
Sets the RSSI threshold, in dBm.
Since: 1.20
gboolean
mm_signal_threshold_properties_get_error_rate
(MMSignalThresholdProperties *self
);
Gets whether the error rate threshold is enabled or disabled.
Since: 1.20
void mm_signal_threshold_properties_set_error_rate (MMSignalThresholdProperties *self
,gboolean error_rate_threshold
);
Enables or disables the error rate threshold.
Since: 1.20
struct MMSignalThresholdProperties;
The MMSignalThresholdProperties structure contains private data and should only be accessed using the provided API.