MMPco
MMPco
— Helper object to handle 3GPP PCO.
Description
The MMPco is an object handling the raw 3GPP Protocol Configuration Options
(PCO) that the modem has received from the network.
This object is retrieved with mm_modem_3gpp_get_pco().
Functions
mm_pco_get_session_id ()
guint32
mm_pco_get_session_id (MMPco *self);
Gets the session ID associated with the PCO.
Since: 1.10
mm_pco_is_complete ()
gboolean
mm_pco_is_complete (MMPco *self);
Gets the complete flag that indicates whether the PCO data contains the
complete PCO structure received from the network.
Returns
TRUE if the PCO data contains the complete PCO structure, FALSE
otherwise.
Since: 1.10
mm_pco_get_data ()
const guint8 *
mm_pco_get_data (MMPco *self,
gsize *data_size);
Gets the PCO data in raw bytes.
Returns
the PCO data, or NULL if it doesn't contain any.
[transfer none]
Since: 1.10
Types and Values
struct MMPco
struct MMPco;
The MMPco structure contains private data and should only be accessed
using the provided API.