| Top |  |  |  |  | 
This section implements support for requests, responses and notifications in the Ms Sar service.
void
mbim_sar_config_state_array_free (MbimSarConfigStateArray *array);
Frees the memory allocated for the array of MbimSarConfigState structs.
Since: 1.26
MbimMessage *
mbim_message_ms_sar_config_query_new (GError **error);
Create a new request for the 'Config' query command in the 'MS SAR' service.
Since: 1.26
MbimMessage * mbim_message_ms_sar_config_set_new (MbimSarControlMode mode,MbimSarBackoffState backoff_state,guint32 config_states_count,const MbimSarConfigState *const *config_states,GError **error);
Create a new request for the 'Config' set command in the 'MS SAR' service.
| mode | the 'Mode' field, given as a MbimSarControlMode. | [in] | 
| backoff_state | the 'BackoffState' field, given as a MbimSarBackoffState. | [in] | 
| config_states_count | the 'ConfigStatesCount' field, given as a guint32. | [in] | 
| config_states | the 'ConfigStates' field, given as an array of MbimSarConfigState items. | [in] | 
| error | return location for error or  | 
Since: 1.26
gboolean mbim_message_ms_sar_config_response_parse (const MbimMessage *message,MbimSarControlMode *out_mode,MbimSarBackoffState *out_backoff_state,MbimSarWifiHardwareState *out_wifi_integration,guint32 *out_config_states_count,MbimSarConfigStateArray **out_config_states,GError **error);
Parses and returns parameters of the 'Config' response command in the 'MS SAR' service.
| message | the MbimMessage. | |
| out_mode | return location for a MbimSarControlMode, or  | [out][optional][transfer none] | 
| out_backoff_state | return location for a MbimSarBackoffState, or  | [out][optional][transfer none] | 
| out_wifi_integration | return location for a MbimSarWifiHardwareState, or  | [out][optional][transfer none] | 
| out_config_states_count | return location for a guint32, or  | [out][optional][transfer none] | 
| out_config_states | return location for a newly allocated array of MbimSarConfigState items, or  | [out][optional][transfer full][array zero-terminated=1][element-type MbimSarConfigState] | 
| error | return location for error or  | 
Since: 1.26
MbimMessage *
mbim_message_ms_sar_transmission_status_query_new
                               (GError **error);
Create a new request for the 'Transmission status' query command in the 'MS SAR' service.
Since: 1.26
MbimMessage * mbim_message_ms_sar_transmission_status_set_new (MbimTransmissionNotificationStatus channel_notification,guint32 hysteresis_timer,GError **error);
Create a new request for the 'Transmission status' set command in the 'MS SAR' service.
| channel_notification | the 'ChannelNotification' field, given as a MbimTransmissionNotificationStatus. | [in] | 
| hysteresis_timer | the 'HysteresisTimer' field, given as a guint32. | [in] | 
| error | return location for error or  | 
Since: 1.26
gboolean mbim_message_ms_sar_transmission_status_response_parse (const MbimMessage *message,MbimTransmissionNotificationStatus *out_channel_notification,MbimTransmissionState *out_transmission_status,guint32 *out_hysteresis_timer,GError **error);
Parses and returns parameters of the 'Transmission status' response command in the 'MS SAR' service.
| message | the MbimMessage. | |
| out_channel_notification | return location for a MbimTransmissionNotificationStatus, or  | [out][optional][transfer none] | 
| out_transmission_status | return location for a MbimTransmissionState, or  | [out][optional][transfer none] | 
| out_hysteresis_timer | return location for a guint32, or  | [out][optional][transfer none] | 
| error | return location for error or  | 
Since: 1.26
gboolean mbim_message_ms_sar_transmission_status_notification_parse (const MbimMessage *message,MbimTransmissionNotificationStatus *out_channel_notification,MbimTransmissionState *out_transmission_status,guint32 *out_hysteresis_timer,GError **error);
Parses and returns parameters of the 'Transmission status' notification command in the 'MS SAR' service.
| message | the MbimMessage. | |
| out_channel_notification | return location for a MbimTransmissionNotificationStatus, or  | [out][optional][transfer none] | 
| out_transmission_status | return location for a MbimTransmissionState, or  | [out][optional][transfer none] | 
| out_hysteresis_timer | return location for a guint32, or  | [out][optional][transfer none] | 
| error | return location for error or  | 
Since: 1.26
typedef struct {
    guint32 antenna_index;
    guint32 backoff_index;
} MbimSarConfigState;
A MbimSarConfigState element.
Since: 1.26
typedef MbimSarConfigState *MbimSarConfigStateArray;
A NULL-terminated array of MbimSarConfigState elements.
Since: 1.26