Top |
This section implements support for requests, responses and notifications in the Qdu service.
MbimMessage *
mbim_message_qdu_update_session_query_new
(GError **error
);
Create a new request for the 'Update Session' query command in the 'QDU' service.
Since: 1.26
MbimMessage * mbim_message_qdu_update_session_set_new (MbimQduSessionAction session_action
,MbimQduSessionType session_type
,GError **error
);
Create a new request for the 'Update Session' set command in the 'QDU' service.
session_action |
the 'SessionAction' field, given as a MbimQduSessionAction. |
[in] |
session_type |
the 'SessionType' field, given as a MbimQduSessionType. |
[in] |
error |
return location for error or |
Since: 1.26
gboolean mbim_message_qdu_update_session_response_parse (const MbimMessage *message
,MbimQduSessionType *out_current_session_type
,MbimQduSessionStatus *out_current_session_status
,MbimQduSessionType *out_last_session_type
,MbimQduSessionResult *out_last_session_result
,guint32 *out_last_session_error_offset
,guint32 *out_last_session_error_size
,GError **error
);
Parses and returns parameters of the 'Update Session' response command in the 'QDU' service.
message |
the MbimMessage. |
|
out_current_session_type |
return location for a MbimQduSessionType, or |
[out][optional][transfer none] |
out_current_session_status |
return location for a MbimQduSessionStatus, or |
[out][optional][transfer none] |
out_last_session_type |
return location for a MbimQduSessionType, or |
[out][optional][transfer none] |
out_last_session_result |
return location for a MbimQduSessionResult, or |
[out][optional][transfer none] |
out_last_session_error_offset |
return location for a guint32, or |
[out][optional][transfer none] |
out_last_session_error_size |
return location for a guint32, or |
[out][optional][transfer none] |
error |
return location for error or |
Since: 1.26
MbimMessage *
mbim_message_qdu_file_open_query_new (GError **error
);
Create a new request for the 'File Open' query command in the 'QDU' service.
Since: 1.26
MbimMessage * mbim_message_qdu_file_open_set_new (MbimQduFileType file_type
,guint32 file_size
,GError **error
);
Create a new request for the 'File Open' set command in the 'QDU' service.
file_type |
the 'FileType' field, given as a MbimQduFileType. |
[in] |
file_size |
the 'FileSize' field, given as a guint32. |
[in] |
error |
return location for error or |
Since: 1.26
gboolean mbim_message_qdu_file_open_response_parse (const MbimMessage *message
,guint32 *out_max_transfer_size
,guint32 *out_max_window_size
,GError **error
);
Parses and returns parameters of the 'File Open' response command in the 'QDU' service.
message |
the MbimMessage. |
|
out_max_transfer_size |
return location for a guint32, or |
[out][optional][transfer none] |
out_max_window_size |
return location for a guint32, or |
[out][optional][transfer none] |
error |
return location for error or |
Since: 1.26
MbimMessage * mbim_message_qdu_file_write_set_new (const guint32 data_buffer_size
,const guint8 *data_buffer
,GError **error
);
Create a new request for the 'File Write' set command in the 'QDU' service.
Since: 1.26
gboolean mbim_message_qdu_file_write_response_parse (const MbimMessage *message
,GError **error
);
Parses and returns parameters of the 'File Write' response command in the 'QDU' service.
Since: 1.26
MbimMessage * mbim_message_qdu_quectel_reboot_set_new (MbimQduQuectelRebootType reboot_type
,GError **error
);
Create a new request for the 'Quectel Reboot' set command in the 'QDU' service.
reboot_type |
the 'RebootType' field, given as a MbimQduQuectelRebootType. |
[in] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_qdu_quectel_reboot_response_parse (const MbimMessage *message
,GError **error
);
Parses and returns parameters of the 'Quectel Reboot' response command in the 'QDU' service.
Since: 1.28
MbimMessage * mbim_message_qdu_quectel_read_version_set_new (MbimQduQuectelVersionType version_type
,GError **error
);
Create a new request for the 'Quectel Read Version' set command in the 'QDU' service.
version_type |
the 'VersionType' field, given as a MbimQduQuectelVersionType. |
[in] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_qdu_quectel_read_version_response_parse (const MbimMessage *message
,guint32 *out_version_id
,gchar **out_version
,GError **error
);
Parses and returns parameters of the 'Quectel Read Version' response command in the 'QDU' service.
message |
the MbimMessage. |
|
out_version_id |
return location for a guint32, or |
[out][optional][transfer none] |
out_version |
return location for a newly allocated string, or |
[out][optional][transfer full] |
error |
return location for error or |
Since: 1.28