|  |  |  | libqmi-glib Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
QmiMessageWmsRawSendInput; QmiMessageWmsRawSendOutput; QmiMessageWmsRawSendInput * qmi_message_wms_raw_send_input_new (void); QmiMessageWmsRawSendInput * qmi_message_wms_raw_send_input_ref (QmiMessageWmsRawSendInput *self); void qmi_message_wms_raw_send_input_unref (QmiMessageWmsRawSendInput *self); gboolean qmi_message_wms_raw_send_input_get_sms_on_ims (QmiMessageWmsRawSendInput *self,gboolean *sms_on_ims,GError **error); gboolean qmi_message_wms_raw_send_input_set_sms_on_ims (QmiMessageWmsRawSendInput *self,gboolean sms_on_ims,GError **error); gboolean qmi_message_wms_raw_send_input_get_gsm_wcdma_link_timer (QmiMessageWmsRawSendInput *self,guint8 *gsm_wcdma_link_timer,GError **error); gboolean qmi_message_wms_raw_send_input_set_gsm_wcdma_link_timer (QmiMessageWmsRawSendInput *self,guint8 gsm_wcdma_link_timer,GError **error); gboolean qmi_message_wms_raw_send_input_get_cdma_follow_on_dc (QmiMessageWmsRawSendInput *self,gboolean *cdma_follow_on_dc_follow,GError **error); gboolean qmi_message_wms_raw_send_input_set_cdma_follow_on_dc (QmiMessageWmsRawSendInput *self,gboolean cdma_follow_on_dc_follow,GError **error); gboolean qmi_message_wms_raw_send_input_get_cdma_force_on_dc (QmiMessageWmsRawSendInput *self,gboolean *cdma_force_on_dc_force,QmiWmsCdmaServiceOption *cdma_force_on_dc_service_option,GError **error); gboolean qmi_message_wms_raw_send_input_set_cdma_force_on_dc (QmiMessageWmsRawSendInput *self,gboolean cdma_force_on_dc_force,QmiWmsCdmaServiceOption cdma_force_on_dc_service_option,GError **error); gboolean qmi_message_wms_raw_send_input_get_raw_message_data (QmiMessageWmsRawSendInput *self,QmiWmsMessageFormat *raw_message_data_format,GArray **raw_message_data_raw_data,GError **error); gboolean qmi_message_wms_raw_send_input_set_raw_message_data (QmiMessageWmsRawSendInput *self,QmiWmsMessageFormat raw_message_data_format,GArray *raw_message_data_raw_data,GError **error); QmiMessageWmsRawSendOutput * qmi_message_wms_raw_send_output_ref (QmiMessageWmsRawSendOutput *self); void qmi_message_wms_raw_send_output_unref (QmiMessageWmsRawSendOutput *self); gboolean qmi_message_wms_raw_send_output_get_result (QmiMessageWmsRawSendOutput *self,GError **error); gboolean qmi_message_wms_raw_send_output_get_message_id (QmiMessageWmsRawSendOutput *self,guint16 *message_id,GError **error); gboolean qmi_message_wms_raw_send_output_get_cdma_cause_code (QmiMessageWmsRawSendOutput *self,QmiWmsCdmaCauseCode *cdma_cause_code,GError **error); gboolean qmi_message_wms_raw_send_output_get_cdma_error_class (QmiMessageWmsRawSendOutput *self,QmiWmsCdmaErrorClass *cdma_error_class,GError **error); gboolean qmi_message_wms_raw_send_output_get_gsm_wcdma_cause_info (QmiMessageWmsRawSendOutput *self,QmiWmsGsmUmtsRpCause *gsm_wcdma_cause_info_rp_cause,QmiWmsGsmUmtsTpCause *gsm_wcdma_cause_info_tp_cause,GError **error); gboolean qmi_message_wms_raw_send_output_get_message_delivery_failure_type (QmiMessageWmsRawSendOutput *self,QmiWmsMessageDeliveryFailureType *message_delivery_failure_type,GError **error); void qmi_client_wms_raw_send (QmiClientWms *self,QmiMessageWmsRawSendInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); QmiMessageWmsRawSendOutput * qmi_client_wms_raw_send_finish (QmiClientWms *self,GAsyncResult *res,GError **error);
typedef struct _QmiMessageWmsRawSendInput QmiMessageWmsRawSendInput;
The QmiMessageWmsRawSendInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWmsRawSendOutput QmiMessageWmsRawSendOutput;
The QmiMessageWmsRawSendOutput structure contains private data and should only be accessed using the provided API.
QmiMessageWmsRawSendInput * qmi_message_wms_raw_send_input_new
                                                        (void);
Allocates a new QmiMessageWmsRawSendInput.
| Returns : | the newly created QmiMessageWmsRawSendInput. The returned value should be freed with qmi_message_wms_raw_send_input_unref(). | 
QmiMessageWmsRawSendInput * qmi_message_wms_raw_send_input_ref
                                                        (QmiMessageWmsRawSendInput *self);
Atomically increments the reference count of self by one.
| 
 | a QmiMessageWmsRawSendInput. | 
| Returns : | the new reference to self. | 
void                qmi_message_wms_raw_send_input_unref
                                                        (QmiMessageWmsRawSendInput *self);
Atomically decrements the reference count of self by one.
If the reference count drops to 0, self is completely disposed.
| 
 | a QmiMessageWmsRawSendInput. | 
gboolean qmi_message_wms_raw_send_input_get_sms_on_ims (QmiMessageWmsRawSendInput *self,gboolean *sms_on_ims,GError **error);
Get the 'SMS on IMS' field from self.
gboolean qmi_message_wms_raw_send_input_set_sms_on_ims (QmiMessageWmsRawSendInput *self,gboolean sms_on_ims,GError **error);
Set the 'SMS on IMS' field in the message.
| 
 | a QmiMessageWmsRawSendInput. | 
| 
 | a gboolean. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEifvaluewas successfully set,FALSEotherwise. | 
gboolean qmi_message_wms_raw_send_input_get_gsm_wcdma_link_timer (QmiMessageWmsRawSendInput *self,guint8 *gsm_wcdma_link_timer,GError **error);
Get the 'GSM WCDMA Link Timer' field from self.
gboolean qmi_message_wms_raw_send_input_set_gsm_wcdma_link_timer (QmiMessageWmsRawSendInput *self,guint8 gsm_wcdma_link_timer,GError **error);
Set the 'GSM WCDMA Link Timer' field in the message.
| 
 | a QmiMessageWmsRawSendInput. | 
| 
 | a guint8. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEifvaluewas successfully set,FALSEotherwise. | 
gboolean qmi_message_wms_raw_send_input_get_cdma_follow_on_dc (QmiMessageWmsRawSendInput *self,gboolean *cdma_follow_on_dc_follow,GError **error);
Get the 'CDMA Follow On DC' field from self.
gboolean qmi_message_wms_raw_send_input_set_cdma_follow_on_dc (QmiMessageWmsRawSendInput *self,gboolean cdma_follow_on_dc_follow,GError **error);
Set the 'CDMA Follow On DC' field in the message.
| 
 | a QmiMessageWmsRawSendInput. | 
| 
 | a gboolean. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEifvaluewas successfully set,FALSEotherwise. | 
gboolean qmi_message_wms_raw_send_input_get_cdma_force_on_dc (QmiMessageWmsRawSendInput *self,gboolean *cdma_force_on_dc_force,QmiWmsCdmaServiceOption *cdma_force_on_dc_service_option,GError **error);
Get the 'CDMA Force On DC' field from self.
| 
 | a QmiMessageWmsRawSendInput. | 
| 
 | a placeholder for the output gboolean, or NULLif not required. | 
| 
 | a placeholder for the output QmiWmsCdmaServiceOption, or NULLif not required. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
gboolean qmi_message_wms_raw_send_input_set_cdma_force_on_dc (QmiMessageWmsRawSendInput *self,gboolean cdma_force_on_dc_force,QmiWmsCdmaServiceOption cdma_force_on_dc_service_option,GError **error);
Set the 'CDMA Force On DC' field in the message.
| 
 | a QmiMessageWmsRawSendInput. | 
| 
 | a gboolean. | 
| 
 | a QmiWmsCdmaServiceOption. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEifvaluewas successfully set,FALSEotherwise. | 
gboolean qmi_message_wms_raw_send_input_get_raw_message_data (QmiMessageWmsRawSendInput *self,QmiWmsMessageFormat *raw_message_data_format,GArray **raw_message_data_raw_data,GError **error);
Get the 'Raw Message Data' field from self.
| 
 | a QmiMessageWmsRawSendInput. | 
| 
 | a placeholder for the output QmiWmsMessageFormat, or NULLif not required. | 
| 
 | a placeholder for the output GArray of guint8 elements, or NULLif not required. Do not free it, it is owned byself. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
gboolean qmi_message_wms_raw_send_input_set_raw_message_data (QmiMessageWmsRawSendInput *self,QmiWmsMessageFormat raw_message_data_format,GArray *raw_message_data_raw_data,GError **error);
Set the 'Raw Message Data' field in the message.
| 
 | a QmiMessageWmsRawSendInput. | 
| 
 | a QmiWmsMessageFormat. | 
| 
 | a GArray of guint8 elements. A new reference to raw_message_data_raw_datawill be taken. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEifvaluewas successfully set,FALSEotherwise. | 
QmiMessageWmsRawSendOutput * qmi_message_wms_raw_send_output_ref
                                                        (QmiMessageWmsRawSendOutput *self);
Atomically increments the reference count of self by one.
| 
 | a QmiMessageWmsRawSendOutput. | 
| Returns : | the new reference to self. | 
void                qmi_message_wms_raw_send_output_unref
                                                        (QmiMessageWmsRawSendOutput *self);
Atomically decrements the reference count of self by one.
If the reference count drops to 0, self is completely disposed.
| 
 | a QmiMessageWmsRawSendOutput. | 
gboolean qmi_message_wms_raw_send_output_get_result (QmiMessageWmsRawSendOutput *self,GError **error);
Get the result of the QMI operation.
gboolean qmi_message_wms_raw_send_output_get_message_id (QmiMessageWmsRawSendOutput *self,guint16 *message_id,GError **error);
Get the 'Message ID' field from self.
gboolean qmi_message_wms_raw_send_output_get_cdma_cause_code (QmiMessageWmsRawSendOutput *self,QmiWmsCdmaCauseCode *cdma_cause_code,GError **error);
Get the 'CDMA Cause Code' field from self.
| 
 | a QmiMessageWmsRawSendOutput. | 
| 
 | a placeholder for the output QmiWmsCdmaCauseCode, or NULLif not required. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
gboolean qmi_message_wms_raw_send_output_get_cdma_error_class (QmiMessageWmsRawSendOutput *self,QmiWmsCdmaErrorClass *cdma_error_class,GError **error);
Get the 'CDMA Error Class' field from self.
| 
 | a QmiMessageWmsRawSendOutput. | 
| 
 | a placeholder for the output QmiWmsCdmaErrorClass, or NULLif not required. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
gboolean qmi_message_wms_raw_send_output_get_gsm_wcdma_cause_info (QmiMessageWmsRawSendOutput *self,QmiWmsGsmUmtsRpCause *gsm_wcdma_cause_info_rp_cause,QmiWmsGsmUmtsTpCause *gsm_wcdma_cause_info_tp_cause,GError **error);
Get the 'GSM WCDMA Cause Info' field from self.
| 
 | a QmiMessageWmsRawSendOutput. | 
| 
 | a placeholder for the output QmiWmsGsmUmtsRpCause, or NULLif not required. | 
| 
 | a placeholder for the output QmiWmsGsmUmtsTpCause, or NULLif not required. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
gboolean qmi_message_wms_raw_send_output_get_message_delivery_failure_type (QmiMessageWmsRawSendOutput *self,QmiWmsMessageDeliveryFailureType *message_delivery_failure_type,GError **error);
Get the 'Message Delivery Failure Type' field from self.
| 
 | a QmiMessageWmsRawSendOutput. | 
| 
 | a placeholder for the output QmiWmsMessageDeliveryFailureType, or NULLif not required. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
void qmi_client_wms_raw_send (QmiClientWms *self,QmiMessageWmsRawSendInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Raw Send request to the device.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call qmi_client_wms_raw_send_finish() to get the result of the operation.
| 
 | a QmiClientWms. | 
| 
 | a QmiMessageWmsRawSendInput. | 
| 
 | maximum time to wait for the method to complete, in seconds. | 
| 
 | a GCancellable or NULL. | 
| 
 | a GAsyncReadyCallback to call when the request is satisfied. | 
| 
 | user data to pass to callback. | 
QmiMessageWmsRawSendOutput * qmi_client_wms_raw_send_finish (QmiClientWms *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_wms_raw_send().
| 
 | a QmiClientWms. | 
| 
 | the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wms_raw_send(). | 
| 
 | Return location for error or NULL. | 
| Returns : | a QmiMessageWmsRawSendOutput, or NULLiferroris set. The returned value should be freed withqmi_message_wms_raw_send_output_unref(). |