| libmbim-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
MbimMessage * mbim_message_qmi_msg_set_new (const guint32 qmi_msg_size,const guint8 *qmi_msg,GError **error); gboolean mbim_message_qmi_msg_response_parse (const MbimMessage *message,guint32 *qmux_size,const guint8 **qmux,GError **error);
MbimMessage * mbim_message_qmi_msg_set_new (const guint32 qmi_msg_size,const guint8 *qmi_msg,GError **error);
Create a new request for the 'msg' set command in the 'QMI' service.
|
size of the qmi_msg array. |
|
the 'QmiMsg' field, given as an array of guint8 values. |
|
return location for error or NULL. |
Returns : |
a newly allocated MbimMessage, which should be freed with mbim_message_unref(). |
gboolean mbim_message_qmi_msg_response_parse (const MbimMessage *message,guint32 *qmux_size,const guint8 **qmux,GError **error);
Create a new request for the 'QMUX' response command in the 'QMI' service.
|
the MbimMessage. |
|
return location for the size of the qmux array. |
|
return location for an array of guint8 values. Do not free the returned value, it is owned by message. |
|
return location for error or NULL. |
Returns : |
TRUE if the message was correctly parsed, FALSE if error is set. |