Top |
This section implements support for requests, responses and notifications in the Stk service.
MbimMessage *
mbim_message_stk_pac_query_new (GError **error
);
Create a new request for the 'Pac' query command in the 'STK' service.
Since: 1.4
MbimMessage * mbim_message_stk_pac_set_new (const guint8 *pac_host_control
,GError **error
);
Create a new request for the 'Pac' set command in the 'STK' service.
Since: 1.4
gboolean mbim_message_stk_pac_response_parse (const MbimMessage *message
,const guint8 **out_pac_support
,GError **error
);
Parses and returns parameters of the 'Pac' response command in the 'STK' service.
message |
the MbimMessage. |
|
out_pac_support |
return location for an array of 256 guint8 values. Do not free the returned value, it is owned by |
[out][optional][transfer none][element-type guint8][array fixed-size=256] |
error |
return location for error or |
Since: 1.4
gboolean mbim_message_stk_pac_notification_parse (const MbimMessage *message
,MbimStkPacType *out_pac_type
,guint32 *out_data_buffer_size
,const guint8 **out_data_buffer
,GError **error
);
Parses and returns parameters of the 'Pac' notification command in the 'STK' service.
message |
the MbimMessage. |
|
out_pac_type |
return location for a MbimStkPacType, or |
[out][optional][transfer none] |
out_data_buffer_size |
return location for the size of the data_buffer array. |
[out][optional] |
out_data_buffer |
return location for an array of guint8 values. Do not free the returned value, it is owned by |
[out][optional][transfer none][element-type guint8][array length=out_data_buffer_size] |
error |
return location for error or |
Since: 1.4
MbimMessage * mbim_message_stk_terminal_response_set_new (const guint32 response_size
,const guint8 *response
,GError **error
);
Create a new request for the 'Terminal Response' set command in the 'STK' service.
Since: 1.4
gboolean mbim_message_stk_terminal_response_response_parse (const MbimMessage *message
,guint32 *out_result_data_size
,const guint8 **out_result_data
,guint32 *out_status_words
,GError **error
);
Parses and returns parameters of the 'Terminal Response' response command in the 'STK' service.
message |
the MbimMessage. |
|
out_result_data_size |
return location for the size of the result_data array. |
[out][optional] |
out_result_data |
return location for an array of guint8 values. Do not free the returned value, it is owned by |
[out][optional][transfer none][element-type guint8][array length=out_result_data_size] |
out_status_words |
return location for a guint32, or |
[out][optional][transfer none] |
error |
return location for error or |
Since: 1.4
MbimMessage *
mbim_message_stk_envelope_query_new (GError **error
);
Create a new request for the 'Envelope' query command in the 'STK' service.
Since: 1.4
MbimMessage * mbim_message_stk_envelope_set_new (const guint32 data_size
,const guint8 *data
,GError **error
);
Create a new request for the 'Envelope' set command in the 'STK' service.
Since: 1.4
gboolean mbim_message_stk_envelope_response_parse (const MbimMessage *message
,const guint8 **out_envelope_support
,GError **error
);
Parses and returns parameters of the 'Envelope' response command in the 'STK' service.
message |
the MbimMessage. |
|
out_envelope_support |
return location for an array of 32 guint8 values. Do not free the returned value, it is owned by |
[out][optional][transfer none][element-type guint8][array fixed-size=32] |
error |
return location for error or |
Since: 1.4