|  |  |  | libmbim-glib Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
MbimMessage * mbim_message_ussd_set_new (MbimUssdAction action,guint32 data_coding_scheme,const guint32 payload_size,const guint8 *payload,GError **error); gboolean mbim_message_ussd_response_parse (const MbimMessage *message,MbimUssdResponse *response,MbimUssdSessionState *session_state,guint32 *data_coding_scheme,guint32 *payload_size,const guint8 **payload,GError **error); gboolean mbim_message_ussd_notification_parse (const MbimMessage *message,MbimUssdResponse *response,MbimUssdSessionState *session_state,guint32 *data_coding_scheme,guint32 *payload_size,const guint8 **payload,GError **error);
MbimMessage * mbim_message_ussd_set_new (MbimUssdAction action,guint32 data_coding_scheme,const guint32 payload_size,const guint8 *payload,GError **error);
Create a new request for the '' set command in the 'USSD' service.
| 
 | the 'Action' field, given as a MbimUssdAction. | 
| 
 | the 'DataCodingScheme' field, given as a guint32. | 
| 
 | size of the payload array. | 
| 
 | the 'Payload' 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_ussd_response_parse (const MbimMessage *message,MbimUssdResponse *response,MbimUssdSessionState *session_state,guint32 *data_coding_scheme,guint32 *payload_size,const guint8 **payload,GError **error);
Create a new request for the 'Payload' response command in the 'USSD' service.
| 
 | the MbimMessage. | 
| 
 | return location for a MbimUssdResponse, or NULLif the 'Response' field is not needed. | 
| 
 | return location for a MbimUssdSessionState, or NULLif the 'SessionState' field is not needed. | 
| 
 | return location for a guint32, or NULLif the 'DataCodingScheme' field is not needed. | 
| 
 | return location for the size of the payload 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 : | TRUEif the message was correctly parsed,FALSEiferroris set. | 
gboolean mbim_message_ussd_notification_parse (const MbimMessage *message,MbimUssdResponse *response,MbimUssdSessionState *session_state,guint32 *data_coding_scheme,guint32 *payload_size,const guint8 **payload,GError **error);
Create a new request for the 'Payload' notification command in the 'USSD' service.
| 
 | the MbimMessage. | 
| 
 | return location for a MbimUssdResponse, or NULLif the 'Response' field is not needed. | 
| 
 | return location for a MbimUssdSessionState, or NULLif the 'SessionState' field is not needed. | 
| 
 | return location for a guint32, or NULLif the 'DataCodingScheme' field is not needed. | 
| 
 | return location for the size of the payload 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 : | TRUEif the message was correctly parsed,FALSEiferroris set. |