Top |
Ms Basic Connect V2 serviceMs Basic Connect V2 service — Support for the Ms Basic Connect V2 service. |
This section implements support for requests, responses and notifications in the Ms Basic Connect V2 service.
void
mbim_rsrp_snr_info_array_free (MbimRsrpSnrInfoArray *array
);
Frees the memory allocated for the array of MbimRsrpSnrInfo structs.
Since: 1.28
gboolean mbim_message_ms_basic_connect_v2_register_state_response_parse (const MbimMessage *message
,MbimNwError *out_nw_error
,MbimRegisterState *out_register_state
,MbimRegisterMode *out_register_mode
,MbimDataClass *out_available_data_classes
,MbimCellularClass *out_current_cellular_class
,gchar **out_provider_id
,gchar **out_provider_name
,gchar **out_roaming_text
,MbimRegistrationFlag *out_registration_flag
,MbimDataClass *out_preferred_data_classes
,GError **error
);
Parses and returns parameters of the 'Register State' response command in the 'Ms Basic Connect V2' service.
message |
the MbimMessage. |
|
out_nw_error |
return location for a MbimNwError, or |
[out][optional][transfer none] |
out_register_state |
return location for a MbimRegisterState, or |
[out][optional][transfer none] |
out_register_mode |
return location for a MbimRegisterMode, or |
[out][optional][transfer none] |
out_available_data_classes |
return location for a MbimDataClass, or |
[out][optional][transfer none] |
out_current_cellular_class |
return location for a MbimCellularClass, or |
[out][optional][transfer none] |
out_provider_id |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_provider_name |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_roaming_text |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_registration_flag |
return location for a MbimRegistrationFlag, or |
[out][optional][transfer none] |
out_preferred_data_classes |
return location for a MbimDataClass, or |
[out][optional][transfer none] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_v2_register_state_notification_parse (const MbimMessage *message
,MbimNwError *out_nw_error
,MbimRegisterState *out_register_state
,MbimRegisterMode *out_register_mode
,MbimDataClass *out_available_data_classes
,MbimCellularClass *out_current_cellular_class
,gchar **out_provider_id
,gchar **out_provider_name
,gchar **out_roaming_text
,MbimRegistrationFlag *out_registration_flag
,MbimDataClass *out_preferred_data_classes
,GError **error
);
Parses and returns parameters of the 'Register State' notification command in the 'Ms Basic Connect V2' service.
message |
the MbimMessage. |
|
out_nw_error |
return location for a MbimNwError, or |
[out][optional][transfer none] |
out_register_state |
return location for a MbimRegisterState, or |
[out][optional][transfer none] |
out_register_mode |
return location for a MbimRegisterMode, or |
[out][optional][transfer none] |
out_available_data_classes |
return location for a MbimDataClass, or |
[out][optional][transfer none] |
out_current_cellular_class |
return location for a MbimCellularClass, or |
[out][optional][transfer none] |
out_provider_id |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_provider_name |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_roaming_text |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_registration_flag |
return location for a MbimRegistrationFlag, or |
[out][optional][transfer none] |
out_preferred_data_classes |
return location for a MbimDataClass, or |
[out][optional][transfer none] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_v2_packet_service_response_parse (const MbimMessage *message
,guint32 *out_nw_error
,MbimPacketServiceState *out_packet_service_state
,MbimDataClass *out_current_data_class
,guint64 *out_uplink_speed
,guint64 *out_downlink_speed
,MbimFrequencyRange *out_frequency_range
,GError **error
);
Parses and returns parameters of the 'Packet Service' response command in the 'Ms Basic Connect V2' service.
message |
the MbimMessage. |
|
out_nw_error |
return location for a guint32, or |
[out][optional][transfer none] |
out_packet_service_state |
return location for a MbimPacketServiceState, or |
[out][optional][transfer none] |
out_current_data_class |
return location for a MbimDataClass, or |
[out][optional][transfer none] |
out_uplink_speed |
return location for a guint64, or |
[out][optional][transfer none] |
out_downlink_speed |
return location for a guint64, or |
[out][optional][transfer none] |
out_frequency_range |
return location for a MbimFrequencyRange, or |
[out][optional][transfer none] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_v2_packet_service_notification_parse (const MbimMessage *message
,guint32 *out_nw_error
,MbimPacketServiceState *out_packet_service_state
,MbimDataClass *out_current_data_class
,guint64 *out_uplink_speed
,guint64 *out_downlink_speed
,MbimFrequencyRange *out_frequency_range
,GError **error
);
Parses and returns parameters of the 'Packet Service' notification command in the 'Ms Basic Connect V2' service.
message |
the MbimMessage. |
|
out_nw_error |
return location for a guint32, or |
[out][optional][transfer none] |
out_packet_service_state |
return location for a MbimPacketServiceState, or |
[out][optional][transfer none] |
out_current_data_class |
return location for a MbimDataClass, or |
[out][optional][transfer none] |
out_uplink_speed |
return location for a guint64, or |
[out][optional][transfer none] |
out_downlink_speed |
return location for a guint64, or |
[out][optional][transfer none] |
out_frequency_range |
return location for a MbimFrequencyRange, or |
[out][optional][transfer none] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_v2_signal_state_response_parse (const MbimMessage *message
,guint32 *out_rssi
,guint32 *out_error_rate
,guint32 *out_signal_strength_interval
,guint32 *out_rssi_threshold
,guint32 *out_error_rate_threshold
,guint32 *out_rsrp_snr_count
,MbimRsrpSnrInfoArray **out_rsrp_snr
,GError **error
);
Parses and returns parameters of the 'Signal State' response command in the 'Ms Basic Connect V2' service.
message |
the MbimMessage. |
|
out_rssi |
return location for a guint32, or |
[out][optional][transfer none] |
out_error_rate |
return location for a guint32, or |
[out][optional][transfer none] |
out_signal_strength_interval |
return location for a guint32, or |
[out][optional][transfer none] |
out_rssi_threshold |
return location for a guint32, or |
[out][optional][transfer none] |
out_error_rate_threshold |
return location for a guint32, or |
[out][optional][transfer none] |
out_rsrp_snr_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_rsrp_snr |
return location for a newly allocated array of MbimRsrpSnrInfo items, or |
[out][optional][nullable][transfer full][array zero-terminated=1][element-type MbimRsrpSnrInfo] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_v2_signal_state_notification_parse (const MbimMessage *message
,guint32 *out_rssi
,guint32 *out_error_rate
,guint32 *out_signal_strength_interval
,guint32 *out_rssi_threshold
,guint32 *out_error_rate_threshold
,guint32 *out_rsrp_snr_count
,MbimRsrpSnrInfoArray **out_rsrp_snr
,GError **error
);
Parses and returns parameters of the 'Signal State' notification command in the 'Ms Basic Connect V2' service.
message |
the MbimMessage. |
|
out_rssi |
return location for a guint32, or |
[out][optional][transfer none] |
out_error_rate |
return location for a guint32, or |
[out][optional][transfer none] |
out_signal_strength_interval |
return location for a guint32, or |
[out][optional][transfer none] |
out_rssi_threshold |
return location for a guint32, or |
[out][optional][transfer none] |
out_error_rate_threshold |
return location for a guint32, or |
[out][optional][transfer none] |
out_rsrp_snr_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_rsrp_snr |
return location for a newly allocated array of MbimRsrpSnrInfo items, or |
[out][optional][nullable][transfer full][array zero-terminated=1][element-type MbimRsrpSnrInfo] |
error |
return location for error or |
Since: 1.28
typedef struct { guint32 rsrp; guint32 snr; guint32 rsrp_threshold; guint32 snr_threshold; guint32 system_type; } MbimRsrpSnrInfo;
A MbimRsrpSnrInfo element.
Since: 1.28
typedef MbimRsrpSnrInfo *MbimRsrpSnrInfoArray;
A NULL-terminated array of MbimRsrpSnrInfo elements.
Since: 1.28