LOC NMEA indication

LOC NMEA indication — Methods to manage the LOC NMEA indication.

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── QmiIndicationLocNmeaOutput

Description

Collection of methods to parse indications of the LOC NMEA message.

Functions

qmi_indication_loc_nmea_output_ref ()

QmiIndicationLocNmeaOutput *
qmi_indication_loc_nmea_output_ref (QmiIndicationLocNmeaOutput *self);

Atomically increments the reference count of self by one.

Parameters

Returns

the new reference to self .

Since: 1.22


qmi_indication_loc_nmea_output_unref ()

void
qmi_indication_loc_nmea_output_unref (QmiIndicationLocNmeaOutput *self);

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

Parameters

Since: 1.22


qmi_indication_loc_nmea_output_get_nmea_string ()

gboolean
qmi_indication_loc_nmea_output_get_nmea_string
                               (QmiIndicationLocNmeaOutput *self,
                                const gchar **value_nmea_string,
                                GError **error);

Get the 'NMEA String' field from self .

Parameters

self

a QmiIndicationLocNmeaOutput.

 

value_nmea_string

a placeholder for the output constant string, or NULL if not required.

[out][optional][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.22


qmi_indication_loc_nmea_indication_parse ()

QmiIndicationLocNmeaOutput *
qmi_indication_loc_nmea_indication_parse
                               (QmiMessage *message,
                                GError **error);

Parses a QmiMessage and builds a QmiIndicationLocNmeaOutput out of it. The operation fails if the message is of the wrong type.

Parameters

message

a QmiMessage.

 

error

return location for error or NULL.

 

Returns

a QmiIndicationLocNmeaOutput, or NULL if error is set. The returned value should be freed with qmi_indication_loc_nmea_output_unref().

Since: 1.34

Types and Values

QmiIndicationLocNmeaOutput

typedef struct _QmiIndicationLocNmeaOutput QmiIndicationLocNmeaOutput;

The QmiIndicationLocNmeaOutput structure contains private data and should only be accessed using the provided API.

Since: 1.22