| Top |  |  |  |  | 
| MmGdbusModemSignalMmGdbusModemSignal — Generated C code for the org.freedesktop.ModemManager1.Modem.Signal D-Bus interface | 
| GVariant * | cdma | Read / Write | 
| gboolean | error-rate-threshold | Read / Write | 
| GVariant * | evdo | Read / Write | 
| GVariant * | gsm | Read / Write | 
| GVariant * | lte | Read / Write | 
| GVariant * | nr5g | Read / Write | 
| guint | rate | Read / Write | 
| guint | rssi-threshold | Read / Write | 
| GVariant * | umts | Read / Write | 
MmGdbusModemSignal is implemented by MMModemSignal, MmGdbusModemSignalProxy and MmGdbusModemSignalSkeleton.
This section contains code for working with the org.freedesktop.ModemManager1.Modem.Signal D-Bus interface in C.
guint
mm_gdbus_modem_signal_get_rate (MmGdbusModemSignal *object);
Gets the value of the "Rate" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
gboolean
mm_gdbus_modem_signal_get_error_rate_threshold
                               (MmGdbusModemSignal *object);
Gets the value of the "ErrorRateThreshold" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
guint
mm_gdbus_modem_signal_get_rssi_threshold
                               (MmGdbusModemSignal *object);
Gets the value of the "RssiThreshold" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
GVariant *
mm_gdbus_modem_signal_get_cdma (MmGdbusModemSignal *object);
Gets the value of the "Cdma" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
 was constructed. Use mm_gdbus_modem_signal_dup_cdma() if on another thread.
[skip]
GVariant *
mm_gdbus_modem_signal_get_evdo (MmGdbusModemSignal *object);
Gets the value of the "Evdo" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
 was constructed. Use mm_gdbus_modem_signal_dup_evdo() if on another thread.
[skip]
GVariant *
mm_gdbus_modem_signal_get_gsm (MmGdbusModemSignal *object);
Gets the value of the "Gsm" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
 was constructed. Use mm_gdbus_modem_signal_dup_gsm() if on another thread.
[skip]
GVariant *
mm_gdbus_modem_signal_get_umts (MmGdbusModemSignal *object);
Gets the value of the "Umts" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
 was constructed. Use mm_gdbus_modem_signal_dup_umts() if on another thread.
[skip]
GVariant *
mm_gdbus_modem_signal_get_lte (MmGdbusModemSignal *object);
Gets the value of the "Lte" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
 was constructed. Use mm_gdbus_modem_signal_dup_lte() if on another thread.
[skip]
GVariant *
mm_gdbus_modem_signal_get_nr5g (MmGdbusModemSignal *object);
Gets the value of the "Nr5g" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
 was constructed. Use mm_gdbus_modem_signal_dup_nr5g() if on another thread.
[skip]
GVariant *
mm_gdbus_modem_signal_dup_cdma (MmGdbusModemSignal *object);
Gets a copy of the "Cdma" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
GVariant *
mm_gdbus_modem_signal_dup_evdo (MmGdbusModemSignal *object);
Gets a copy of the "Evdo" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
GVariant *
mm_gdbus_modem_signal_dup_gsm (MmGdbusModemSignal *object);
Gets a copy of the "Gsm" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
GVariant *
mm_gdbus_modem_signal_dup_umts (MmGdbusModemSignal *object);
Gets a copy of the "Umts" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
GVariant *
mm_gdbus_modem_signal_dup_lte (MmGdbusModemSignal *object);
Gets a copy of the "Lte" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
GVariant *
mm_gdbus_modem_signal_dup_nr5g (MmGdbusModemSignal *object);
Gets a copy of the "Nr5g" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void mm_gdbus_modem_signal_call_setup (MmGdbusModemSignal *proxy,guint arg_rate,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Setup()proxy
.
When the operation is finished, callback
 will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call mm_gdbus_modem_signal_call_setup_finish() to get the result of the operation.
See mm_gdbus_modem_signal_call_setup_sync() for the synchronous, blocking version of this method.
gboolean mm_gdbus_modem_signal_call_setup_finish (MmGdbusModemSignal *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with mm_gdbus_modem_signal_call_setup().
| proxy | ||
| res | The GAsyncResult obtained from the GAsyncReadyCallback passed to  | |
| error | Return location for error or  | 
gboolean mm_gdbus_modem_signal_call_setup_sync (MmGdbusModemSignal *proxy,guint arg_rate,GCancellable *cancellable,GError **error);
Synchronously invokes the Setup()proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_signal_call_setup() for the asynchronous version of this method.
void mm_gdbus_modem_signal_call_setup_thresholds (MmGdbusModemSignal *proxy,GVariant *arg_settings,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the SetupThresholds()proxy
.
When the operation is finished, callback
 will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call mm_gdbus_modem_signal_call_setup_thresholds_finish() to get the result of the operation.
See mm_gdbus_modem_signal_call_setup_thresholds_sync() for the synchronous, blocking version of this method.
gboolean mm_gdbus_modem_signal_call_setup_thresholds_finish (MmGdbusModemSignal *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with mm_gdbus_modem_signal_call_setup_thresholds().
| proxy | ||
| res | The GAsyncResult obtained from the GAsyncReadyCallback passed to  | |
| error | Return location for error or  | 
gboolean mm_gdbus_modem_signal_call_setup_thresholds_sync (MmGdbusModemSignal *proxy,GVariant *arg_settings,GCancellable *cancellable,GError **error);
Synchronously invokes the SetupThresholds()proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_signal_call_setup_thresholds() for the asynchronous version of this method.
typedef struct _MmGdbusModemSignal MmGdbusModemSignal;
Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem.Signal.
struct MmGdbusModemSignalIface {
  GTypeInterface parent_iface;
  gboolean (*handle_setup) (
    MmGdbusModemSignal *object,
    GDBusMethodInvocation *invocation,
    guint arg_rate);
  gboolean (*handle_setup_thresholds) (
    MmGdbusModemSignal *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_settings);
  GVariant * (*get_cdma) (MmGdbusModemSignal *object);
  gboolean  (*get_error_rate_threshold) (MmGdbusModemSignal *object);
  GVariant * (*get_evdo) (MmGdbusModemSignal *object);
  GVariant * (*get_gsm) (MmGdbusModemSignal *object);
  GVariant * (*get_lte) (MmGdbusModemSignal *object);
  GVariant * (*get_nr5g) (MmGdbusModemSignal *object);
  guint  (*get_rate) (MmGdbusModemSignal *object);
  guint  (*get_rssi_threshold) (MmGdbusModemSignal *object);
  GVariant * (*get_umts) (MmGdbusModemSignal *object);
};
Virtual table for the D-Bus interface org.freedesktop.ModemManager1.Modem.Signal.
| The parent interface. | ||
| Handler for the “handle-setup” signal. | ||
| Handler for the “handle-setup-thresholds” signal. | ||
| Getter for the “cdma” property. | ||
| Getter for the “error-rate-threshold” property. | ||
| Getter for the “evdo” property. | ||
| Getter for the “gsm” property. | ||
| Getter for the “lte” property. | ||
| Getter for the “nr5g” property. | ||
| Getter for the “rate” property. | ||
| Getter for the “rssi-threshold” property. | ||
| Getter for the “umts” property. | 
“cdma” property  “cdma”                     GVariant *
Represents the D-Bus property "Cdma".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: MmGdbusModemSignal
Flags: Read / Write
Allowed values: GVariant<a{sv}>
Default value: NULL
“error-rate-threshold” property  “error-rate-threshold”     gboolean
Represents the D-Bus property "ErrorRateThreshold".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: MmGdbusModemSignal
Flags: Read / Write
Default value: FALSE
“evdo” property  “evdo”                     GVariant *
Represents the D-Bus property "Evdo".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: MmGdbusModemSignal
Flags: Read / Write
Allowed values: GVariant<a{sv}>
Default value: NULL
“gsm” property  “gsm”                      GVariant *
Represents the D-Bus property "Gsm".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: MmGdbusModemSignal
Flags: Read / Write
Allowed values: GVariant<a{sv}>
Default value: NULL
“lte” property  “lte”                      GVariant *
Represents the D-Bus property "Lte".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: MmGdbusModemSignal
Flags: Read / Write
Allowed values: GVariant<a{sv}>
Default value: NULL
“nr5g” property  “nr5g”                     GVariant *
Represents the D-Bus property "Nr5g".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: MmGdbusModemSignal
Flags: Read / Write
Allowed values: GVariant<a{sv}>
Default value: NULL
“rate” property  “rate”                     guint
Represents the D-Bus property "Rate".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: MmGdbusModemSignal
Flags: Read / Write
Default value: 0
“rssi-threshold” property  “rssi-threshold”           guint
Represents the D-Bus property "RssiThreshold".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: MmGdbusModemSignal
Flags: Read / Write
Default value: 0
“umts” property  “umts”                     GVariant *
Represents the D-Bus property "Umts".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Owner: MmGdbusModemSignal
Flags: Read / Write
Allowed values: GVariant<a{sv}>
Default value: NULL
“handle-setup” signalgboolean user_function (MmGdbusModemSignal *object, GDBusMethodInvocation *invocation, guint arg_rate, gpointer user_data)
Signal emitted when a remote caller is invoking the Setup()
If a signal handler returns TRUE, it means the signal handler will handle the invocation (e.g. take a reference to invocation
 and eventually call mm_gdbus_modem_signal_complete_setup() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
| object | ||
| invocation | A GDBusMethodInvocation. | |
| arg_rate | Argument passed by remote caller. | |
| user_data | user data set when the signal handler was connected. | 
 G_DBUS_METHOD_INVOCATION_HANDLED or TRUE if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED or FALSE to let other signal handlers run.
Flags: Run Last
“handle-setup-thresholds” signalgboolean user_function (MmGdbusModemSignal *object, GDBusMethodInvocation *invocation, GVariant *arg_settings, gpointer user_data)
Signal emitted when a remote caller is invoking the SetupThresholds()
If a signal handler returns TRUE, it means the signal handler will handle the invocation (e.g. take a reference to invocation
 and eventually call mm_gdbus_modem_signal_complete_setup_thresholds() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
| object | ||
| invocation | A GDBusMethodInvocation. | |
| arg_settings | Argument passed by remote caller. | |
| user_data | user data set when the signal handler was connected. | 
 G_DBUS_METHOD_INVOCATION_HANDLED or TRUE if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED or FALSE to let other signal handlers run.
Flags: Run Last