Top |
This section implements support for requests, responses and notifications in the Intel Thermal Rf service.
void
mbim_intel_rfim_frequency_value_array_free
(MbimIntelRfimFrequencyValueArray *array
);
Frees the memory allocated for the array of MbimIntelRfimFrequencyValue structs.
Since: 1.28
MbimMessage *
mbim_message_intel_thermal_rf_rfim_query_new
(GError **error
);
Create a new request for the 'RFIM' query command in the 'Intel Thermal RF' service.
Since: 1.28
MbimMessage * mbim_message_intel_thermal_rf_rfim_set_new (gboolean activation_state
,GError **error
);
Create a new request for the 'RFIM' set command in the 'Intel Thermal RF' service.
Since: 1.28
gboolean mbim_message_intel_thermal_rf_rfim_response_parse (const MbimMessage *message
,guint32 *out_rfim_frequency_values_count
,MbimIntelRfimFrequencyValueArray **out_rfim_frequency_values
,GError **error
);
Parses and returns parameters of the 'RFIM' response command in the 'Intel Thermal RF' service.
message |
the MbimMessage. |
|
out_rfim_frequency_values_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_rfim_frequency_values |
return location for a newly allocated array of MbimIntelRfimFrequencyValue items, or |
[out][optional][transfer full][array zero-terminated=1][element-type MbimIntelRfimFrequencyValue] |
error |
return location for error or |
Since: 1.28
gboolean mbim_message_intel_thermal_rf_rfim_notification_parse (const MbimMessage *message
,guint32 *out_rfim_frequency_values_count
,MbimIntelRfimFrequencyValueArray **out_rfim_frequency_values
,GError **error
);
Parses and returns parameters of the 'RFIM' notification command in the 'Intel Thermal RF' service.
message |
the MbimMessage. |
|
out_rfim_frequency_values_count |
return location for a guint32, or |
[out][optional][transfer none] |
out_rfim_frequency_values |
return location for a newly allocated array of MbimIntelRfimFrequencyValue items, or |
[out][optional][transfer full][array zero-terminated=1][element-type MbimIntelRfimFrequencyValue] |
error |
return location for error or |
Since: 1.28
typedef struct { guint32 serving_cell_info; guint64 center_frequency; guint32 bandwidth; guint32 rsrp; guint32 rsrq; guint32 sinr; guint32 rssi; guint32 connection_status; } MbimIntelRfimFrequencyValue;
A MbimIntelRfimFrequencyValue element.
Since: 1.28
typedef MbimIntelRfimFrequencyValue *MbimIntelRfimFrequencyValueArray;
A NULL-terminated array of MbimIntelRfimFrequencyValue elements.
Since: 1.28