Top |
Ms Basic Connect Extensions V3 serviceMs Basic Connect Extensions V3 service — Support for the Ms Basic Connect Extensions V3 service. |
This section implements support for requests, responses and notifications in the Ms Basic Connect Extensions V3 service.
void
mbim_cell_info_serving_nr_array_free (MbimCellInfoServingNrArray *array
);
Frees the memory allocated for the array of MbimCellInfoServingNr structs.
Since: 1.28
void
mbim_cell_info_neighboring_nr_array_free
(MbimCellInfoNeighboringNrArray *array
);
Frees the memory allocated for the array of MbimCellInfoNeighboringNr structs.
Since: 1.28
gboolean mbim_message_ms_basic_connect_extensions_v3_device_caps_response_parse (const MbimMessage *message
,MbimDeviceType *out_device_type
,MbimCellularClass *out_cellular_class
,MbimVoiceClass *out_voice_class
,MbimSimClass *out_sim_class
,MbimDataClassV3 *out_data_class
,MbimSmsCaps *out_sms_caps
,MbimCtrlCaps *out_control_caps
,MbimDataSubclass *out_data_subclass
,guint32 *out_max_sessions
,guint32 *out_executor_index
,guint32 *out_wcdma_band_class
,guint32 *out_lte_band_class_count
,guint16 **out_lte_band_class
,guint32 *out_nr_band_class_count
,guint16 **out_nr_band_class
,gchar **out_custom_data_class
,gchar **out_device_id
,gchar **out_firmware_info
,gchar **out_hardware_info
,GError **error
);
Parses and returns parameters of the 'Device Caps' response command in the 'Ms Basic Connect Extensions V3' service.
message |
the MbimMessage. |
|
out_device_type |
return location for a MbimDeviceType, or |
[out][optional][transfer none] |
out_cellular_class |
return location for a MbimCellularClass, or |
[out][optional][transfer none] |
out_voice_class |
return location for a MbimVoiceClass, or |
[out][optional][transfer none] |
out_sim_class |
return location for a MbimSimClass, or |
[out][optional][transfer none] |
out_data_class |
return location for a MbimDataClassV3, or |
[out][optional][transfer none] |
out_sms_caps |
return location for a MbimSmsCaps, or |
[out][optional][transfer none] |
out_control_caps |
return location for a MbimCtrlCaps, or |
[out][optional][transfer none] |
out_data_subclass |
return location for a guint64, or |
[out][optional][transfer none] |
out_max_sessions |
return location for a guint32, or |
[out][optional][transfer none] |
out_executor_index |
return location for a guint32, or |
[out][optional][transfer none] |
out_wcdma_band_class |
return location for a guint32, or |
[out][optional][transfer none] |
out_lte_band_class_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_lte_band_class |
return location for a newly allocated array of guint16 items, or |
[out][optional][nullable][transfer full] |
out_nr_band_class_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_nr_band_class |
return location for a newly allocated array of guint16 items, or |
[out][optional][nullable][transfer full] |
out_custom_data_class |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_device_id |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_firmware_info |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_hardware_info |
return location for a newly allocated string, or |
[out][optional][transfer full] |
error |
return location for error or |
Since: 1.28
MbimMessage *
mbim_message_ms_basic_connect_extensions_v3_modem_configuration_query_new
(GError **error
);
Create a new request for the 'Modem Configuration' query command in the 'Ms Basic Connect Extensions V3' service.
Since: 1.28
gboolean mbim_message_ms_basic_connect_extensions_v3_modem_configuration_response_parse (const MbimMessage *message
,MbimModemConfigurationStatus *out_configuration_status
,gchar **out_configuration_name
,GList **out_unnamed_ies
,GError **error
);
Parses and returns parameters of the 'Modem Configuration' response command in the 'Ms Basic Connect Extensions V3' service.
message |
the MbimMessage. |
|
out_configuration_status |
return location for a MbimModemConfigurationStatus, or |
[out][optional][transfer none] |
out_configuration_name |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_unnamed_ies |
return location for a newly allocated list of MbimTlv items, or |
[out][optional][element-type MbimTlv][transfer full] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_extensions_v3_modem_configuration_notification_parse (const MbimMessage *message
,MbimModemConfigurationStatus *out_modem_configuration_status
,gchar **out_configuration_name
,GList **out_unnamed_ies
,GError **error
);
Parses and returns parameters of the 'Modem Configuration' notification command in the 'Ms Basic Connect Extensions V3' service.
message |
the MbimMessage. |
|
out_modem_configuration_status |
return location for a MbimModemConfigurationStatus, or |
[out][optional][transfer none] |
out_configuration_name |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_unnamed_ies |
return location for a newly allocated list of MbimTlv items, or |
[out][optional][element-type MbimTlv][transfer full] |
error |
return location for error or |
Since: 1.28
MbimMessage *
mbim_message_ms_basic_connect_extensions_v3_registration_parameters_query_new
(GError **error
);
Create a new request for the 'Registration Parameters' query command in the 'Ms Basic Connect Extensions V3' service.
Since: 1.28
MbimMessage * mbim_message_ms_basic_connect_extensions_v3_registration_parameters_set_new (MbimMicoMode mico_mode
,MbimDrxCycle drx_cycle
,MbimLadnInfo ladn_info
,MbimDefaultPduActivationHint default_pdu_activation_hint
,gboolean re_register_if_nedeed
,const GList *unnamed_ies
,GError **error
);
Create a new request for the 'Registration Parameters' set command in the 'Ms Basic Connect Extensions V3' service.
mico_mode |
the 'MicoMode' field, given as a MbimMicoMode. |
[in] |
drx_cycle |
the 'DrxCycle' field, given as a MbimDrxCycle. |
[in] |
ladn_info |
the 'LadnInfo' field, given as a MbimLadnInfo. |
[in] |
default_pdu_activation_hint |
the 'DefaultPduActivationHint' field, given as a MbimDefaultPduActivationHint. |
[in] |
re_register_if_nedeed |
the 'ReRegisterIfNedeed' field, given as a gboolean. |
[in] |
unnamed_ies |
the 'UnnamedIes' field, given as a list of # items. |
[in][element-type MbimTlv][transfer none] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_extensions_v3_registration_parameters_response_parse (const MbimMessage *message
,MbimMicoMode *out_mico_mode
,MbimDrxCycle *out_drx_cycle
,MbimLadnInfo *out_ladn_info
,MbimDefaultPduActivationHint *out_default_pdu_activation_hint
,gboolean *out_re_register_if_nedeed
,GList **out_unnamed_ies
,GError **error
);
Parses and returns parameters of the 'Registration Parameters' response command in the 'Ms Basic Connect Extensions V3' service.
message |
the MbimMessage. |
|
out_mico_mode |
return location for a MbimMicoMode, or |
[out][optional][transfer none] |
out_drx_cycle |
return location for a MbimDrxCycle, or |
[out][optional][transfer none] |
out_ladn_info |
return location for a MbimLadnInfo, or |
[out][optional][transfer none] |
out_default_pdu_activation_hint |
return location for a MbimDefaultPduActivationHint, or |
[out][optional][transfer none] |
out_re_register_if_nedeed |
return location for a gboolean, or |
[out][optional][transfer none] |
out_unnamed_ies |
return location for a newly allocated list of MbimTlv items, or |
[out][optional][element-type MbimTlv][transfer full] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_extensions_v3_lte_attach_info_response_parse (const MbimMessage *message
,MbimLteAttachState *out_lte_attach_state
,MbimNwError *out_nw_error
,MbimContextIpType *out_ip_type
,gchar **out_access_string
,gchar **out_user_name
,gchar **out_password
,MbimCompression *out_compression
,MbimAuthProtocol *out_auth_protocol
,GError **error
);
Parses and returns parameters of the 'Lte Attach Info' response command in the 'Ms Basic Connect Extensions V3' service.
message |
the MbimMessage. |
|
out_lte_attach_state |
return location for a MbimLteAttachState, or |
[out][optional][transfer none] |
out_nw_error |
return location for a MbimNwError, or |
[out][optional][transfer none] |
out_ip_type |
return location for a MbimContextIpType, or |
[out][optional][transfer none] |
out_access_string |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_user_name |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_password |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_compression |
return location for a MbimCompression, or |
[out][optional][transfer none] |
out_auth_protocol |
return location for a MbimAuthProtocol, or |
[out][optional][transfer none] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_extensions_v3_lte_attach_info_notification_parse (const MbimMessage *message
,MbimLteAttachState *out_lte_attach_state
,MbimNwError *out_nw_error
,MbimContextIpType *out_ip_type
,gchar **out_access_string
,gchar **out_user_name
,gchar **out_password
,MbimCompression *out_compression
,MbimAuthProtocol *out_auth_protocol
,GError **error
);
Parses and returns parameters of the 'Lte Attach Info' notification command in the 'Ms Basic Connect Extensions V3' service.
message |
the MbimMessage. |
|
out_lte_attach_state |
return location for a MbimLteAttachState, or |
[out][optional][transfer none] |
out_nw_error |
return location for a MbimNwError, or |
[out][optional][transfer none] |
out_ip_type |
return location for a MbimContextIpType, or |
[out][optional][transfer none] |
out_access_string |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_user_name |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_password |
return location for a newly allocated string, or |
[out][optional][transfer full] |
out_compression |
return location for a MbimCompression, or |
[out][optional][transfer none] |
out_auth_protocol |
return location for a MbimAuthProtocol, or |
[out][optional][transfer none] |
error |
return location for error or |
Since: 1.28
MbimMessage * mbim_message_ms_basic_connect_extensions_v3_base_stations_info_query_new (guint32 max_gsm_count
,guint32 max_umts_count
,guint32 max_tdscdma_count
,guint32 max_lte_count
,guint32 max_cdma_count
,guint32 max_nr_count
,GError **error
);
Create a new request for the 'Base Stations Info' query command in the 'Ms Basic Connect Extensions V3' service.
max_gsm_count |
the 'MaxGsmCount' field, given as a guint32. |
[in] |
max_umts_count |
the 'MaxUmtsCount' field, given as a guint32. |
[in] |
max_tdscdma_count |
the 'MaxTdscdmaCount' field, given as a guint32. |
[in] |
max_lte_count |
the 'MaxLteCount' field, given as a guint32. |
[in] |
max_cdma_count |
the 'MaxCdmaCount' field, given as a guint32. |
[in] |
max_nr_count |
the 'MaxNrCount' field, given as a guint32. |
[in] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_ms_basic_connect_extensions_v3_base_stations_info_response_parse (const MbimMessage *message
,MbimDataClassV3 *out_system_type
,MbimDataSubclass *out_system_sub_type
,MbimCellInfoServingGsm **out_gsm_serving_cell
,MbimCellInfoServingUmts **out_umts_serving_cell
,MbimCellInfoServingTdscdma **out_tdscdma_serving_cell
,MbimCellInfoServingLte **out_lte_serving_cell
,guint32 *out_gsm_neighboring_cells_count
,MbimCellInfoNeighboringGsmArray **out_gsm_neighboring_cells
,guint32 *out_umts_neighboring_cells_count
,MbimCellInfoNeighboringUmtsArray **out_umts_neighboring_cells
,guint32 *out_tdscdma_neighboring_cells_count
,MbimCellInfoNeighboringTdscdmaArray **out_tdscdma_neighboring_cells
,guint32 *out_lte_neighboring_cells_count
,MbimCellInfoNeighboringLteArray **out_lte_neighboring_cells
,guint32 *out_cdma_cells_count
,MbimCellInfoCdmaArray **out_cdma_cells
,guint32 *out_nr_serving_cells_count
,MbimCellInfoServingNrArray **out_nr_serving_cells
,guint32 *out_nr_neighbor_cells_count
,MbimCellInfoNeighboringNrArray **out_nr_neighbor_cells
,GError **error
);
Parses and returns parameters of the 'Base Stations Info' response command in the 'Ms Basic Connect Extensions V3' service.
message |
the MbimMessage. |
|
out_system_type |
return location for a MbimDataClassV3, or |
[out][optional][transfer none] |
out_system_sub_type |
return location for a MbimDataSubclass, or |
[out][optional][transfer none] |
out_gsm_serving_cell |
return location for a newly allocated MbimCellInfoServingGsm, or |
[out][optional][nullable][transfer full] |
out_umts_serving_cell |
return location for a newly allocated MbimCellInfoServingUmts, or |
[out][optional][nullable][transfer full] |
out_tdscdma_serving_cell |
return location for a newly allocated MbimCellInfoServingTdscdma, or |
[out][optional][nullable][transfer full] |
out_lte_serving_cell |
return location for a newly allocated MbimCellInfoServingLte, or |
[out][optional][nullable][transfer full] |
out_gsm_neighboring_cells_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_gsm_neighboring_cells |
return location for a newly allocated array of MbimCellInfoNeighboringGsm items, or |
[out][optional][nullable][transfer full][array zero-terminated=1][element-type MbimCellInfoNeighboringGsm] |
out_umts_neighboring_cells_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_umts_neighboring_cells |
return location for a newly allocated array of MbimCellInfoNeighboringUmts items, or |
[out][optional][nullable][transfer full][array zero-terminated=1][element-type MbimCellInfoNeighboringUmts] |
out_tdscdma_neighboring_cells_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_tdscdma_neighboring_cells |
return location for a newly allocated array of MbimCellInfoNeighboringTdscdma items, or |
[out][optional][nullable][transfer full][array zero-terminated=1][element-type MbimCellInfoNeighboringTdscdma] |
out_lte_neighboring_cells_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_lte_neighboring_cells |
return location for a newly allocated array of MbimCellInfoNeighboringLte items, or |
[out][optional][nullable][transfer full][array zero-terminated=1][element-type MbimCellInfoNeighboringLte] |
out_cdma_cells_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_cdma_cells |
return location for a newly allocated array of MbimCellInfoCdma items, or |
[out][optional][nullable][transfer full][array zero-terminated=1][element-type MbimCellInfoCdma] |
out_nr_serving_cells_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_nr_serving_cells |
return location for a newly allocated array of MbimCellInfoServingNr items, or |
[out][optional][nullable][transfer full][array zero-terminated=1][element-type MbimCellInfoServingNr] |
out_nr_neighbor_cells_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_nr_neighbor_cells |
return location for a newly allocated array of MbimCellInfoNeighboringNr items, or |
[out][optional][nullable][transfer full][array zero-terminated=1][element-type MbimCellInfoNeighboringNr] |
error |
return location for error or |
Since: 1.28
MbimMessage *
mbim_message_ms_basic_connect_extensions_v3_wake_reason_query_new
(GError **error
);
Create a new request for the 'Wake Reason' query command in the 'Ms Basic Connect Extensions V3' service.
Since: 1.28
gboolean mbim_message_ms_basic_connect_extensions_v3_wake_reason_response_parse (const MbimMessage *message
,MbimWakeType *out_wake_type
,guint32 *out_session_id
,MbimTlv **out_wake_tlv
,GError **error
);
Parses and returns parameters of the 'Wake Reason' response command in the 'Ms Basic Connect Extensions V3' service.
message |
the MbimMessage. |
|
out_wake_type |
return location for a MbimWakeType, or |
[out][optional][transfer none] |
out_session_id |
return location for a guint32, or |
[out][optional][transfer none] |
out_wake_tlv |
return location for a newly allocated MbimTlv, or |
[out][optional][transfer full] |
error |
return location for error or |
Since: 1.28
typedef struct { gchar *provider_id; guint64 nci; guint32 physical_cell_id; guint32 nrarfcn; guint32 tac; guint32 rsrp; guint32 rsrq; guint32 sinr; guint64 timing_advance; } MbimCellInfoServingNr;
A MbimCellInfoServingNr element.
Since: 1.28
typedef MbimCellInfoServingNr *MbimCellInfoServingNrArray;
A NULL-terminated array of MbimCellInfoServingNr elements.
Since: 1.28
typedef struct { guint32 system_sub_type; gchar *provider_id; gchar *cell_id; guint32 physical_cell_id; guint32 tac; guint32 rsrp; guint32 rsrq; guint32 sinr; } MbimCellInfoNeighboringNr;
A MbimCellInfoNeighboringNr element.
Since: 1.28
typedef MbimCellInfoNeighboringNr *MbimCellInfoNeighboringNrArray;
A NULL-terminated array of MbimCellInfoNeighboringNr elements.
Since: 1.28