GAS DMS Get Ethernet PDU MAC Address response

GAS DMS Get Ethernet PDU MAC Address response — Methods to manage the GAS DMS Get Ethernet PDU MAC Address response.

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── QmiMessageGasDmsGetEthernetPduMacAddressOutput

Description

Collection of methods to create requests and parse responses of the GAS DMS Get Ethernet PDU MAC Address message.

Functions

qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_ref ()

QmiMessageGasDmsGetEthernetPduMacAddressOutput *
qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_ref
                               (QmiMessageGasDmsGetEthernetPduMacAddressOutput *self);

Atomically increments the reference count of self by one.

Returns

the new reference to self .

Since: 1.36


qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_unref ()

void
qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_unref
                               (QmiMessageGasDmsGetEthernetPduMacAddressOutput *self);

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

Since: 1.36


qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_get_result ()

gboolean
qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_get_result
                               (QmiMessageGasDmsGetEthernetPduMacAddressOutput *self,
                                GError **error);

Get the result of the QMI operation.

Parameters

self

a QmiMessageGasDmsGetEthernetPduMacAddressOutput.

 

error

Return location for error or NULL.

 

Returns

TRUE if the QMI operation succeeded, FALSE if error is set.

[skip]

Since: 1.36


qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_get_mac_address_0 ()

gboolean
qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_get_mac_address_0
                               (QmiMessageGasDmsGetEthernetPduMacAddressOutput *self,
                                GArray **value_mac_address_0,
                                GError **error);

Get the 'MAC Address 0' field from self .

Parameters

self

a QmiMessageGasDmsGetEthernetPduMacAddressOutput.

 

value_mac_address_0

a placeholder for the output GArray of guint8 elements, or NULL if not required. Do not free it, it is owned by self .

[out][optional][element-type guint8][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.36


qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_get_mac_address_1 ()

gboolean
qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_get_mac_address_1
                               (QmiMessageGasDmsGetEthernetPduMacAddressOutput *self,
                                GArray **value_mac_address_1,
                                GError **error);

Get the 'MAC Address 1' field from self .

Parameters

self

a QmiMessageGasDmsGetEthernetPduMacAddressOutput.

 

value_mac_address_1

a placeholder for the output GArray of guint8 elements, or NULL if not required. Do not free it, it is owned by self .

[out][optional][element-type guint8][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.36


qmi_message_gas_dms_get_ethernet_pdu_mac_address_response_parse ()

QmiMessageGasDmsGetEthernetPduMacAddressOutput *
qmi_message_gas_dms_get_ethernet_pdu_mac_address_response_parse
                               (QmiMessage *message,
                                GError **error);

Parses a QmiMessage and builds a QmiMessageGasDmsGetEthernetPduMacAddressOutput 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 QmiMessageGasDmsGetEthernetPduMacAddressOutput, or NULL if error is set. The returned value should be freed with qmi_message_gas_dms_get_ethernet_pdu_mac_address_output_unref().

Since: 1.36


qmi_client_gas_dms_get_ethernet_pdu_mac_address ()

void
qmi_client_gas_dms_get_ethernet_pdu_mac_address
                               (QmiClientGas *self,
                                gpointer unused,
                                guint timeout,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

Asynchronously sends a DMS Get Ethernet PDU MAC Address request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call qmi_client_gas_dms_get_ethernet_pdu_mac_address_finish() to get the result of the operation.

Parameters

self

a QmiClientGas.

 

unused

NULL. This message doesn't have any input bundle.

 

timeout

maximum time to wait for the method to complete, in seconds.

 

cancellable

a GCancellable or NULL.

 

callback

a GAsyncReadyCallback to call when the request is satisfied.

 

user_data

user data to pass to callback .

 

Since: 1.36


qmi_client_gas_dms_get_ethernet_pdu_mac_address_finish ()

QmiMessageGasDmsGetEthernetPduMacAddressOutput *
qmi_client_gas_dms_get_ethernet_pdu_mac_address_finish
                               (QmiClientGas *self,
                                GAsyncResult *res,
                                GError **error);

Finishes an async operation started with qmi_client_gas_dms_get_ethernet_pdu_mac_address().

Parameters

self

a QmiClientGas.

 

res

the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_gas_dms_get_ethernet_pdu_mac_address().

 

error

Return location for error or NULL.

 

Returns

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

Since: 1.36

Types and Values

QmiMessageGasDmsGetEthernetPduMacAddressOutput

typedef struct _QmiMessageGasDmsGetEthernetPduMacAddressOutput QmiMessageGasDmsGetEthernetPduMacAddressOutput;

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

Since: 1.36