Qmi.ClientGas¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientGas(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Qmi.ClientGasstructure contains private data and should only be accessed using the provided API.New in version 1.24.
- dms_get_ethernet_pdu_mac_address(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
objectorNone) –None. This message doesn’t have any input bundle.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
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.ClientGas.dms_get_ethernet_pdu_mac_address_finish() to get the result of the operation.New in version 1.36.
- dms_get_ethernet_pdu_mac_address_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientGas.dms_get_ethernet_pdu_mac_address().- Raises:
- Returns:
a
Qmi.MessageGasDmsGetEthernetPduMacAddressOutput, orNoneif error is set. The returned value should be freed withQmi.MessageGasDmsGetEthernetPduMacAddressOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientGas.dms_get_ethernet_pdu_mac_address().New in version 1.36.
- dms_get_firmware_auto_sim(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
objectorNone) –None. This message doesn’t have any input bundle.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a DMS Get Firmware Auto Sim 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.ClientGas.dms_get_firmware_auto_sim_finish() to get the result of the operation.New in version 1.36.
- dms_get_firmware_auto_sim_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientGas.dms_get_firmware_auto_sim().- Raises:
- Returns:
a
Qmi.MessageGasDmsGetFirmwareAutoSimOutput, orNoneif error is set. The returned value should be freed withQmi.MessageGasDmsGetFirmwareAutoSimOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientGas.dms_get_firmware_auto_sim().New in version 1.36.
- dms_get_firmware_list(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageGasDmsGetFirmwareListInput) – aQmi.MessageGasDmsGetFirmwareListInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a DMS Get Firmware List 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.ClientGas.dms_get_firmware_list_finish() to get the result of the operation.New in version 1.24.
- dms_get_firmware_list_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientGas.dms_get_firmware_list().- Raises:
- Returns:
a
Qmi.MessageGasDmsGetFirmwareListOutput, orNoneif error is set. The returned value should be freed withQmi.MessageGasDmsGetFirmwareListOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientGas.dms_get_firmware_list().New in version 1.24.
- dms_get_usb_composition(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
objectorNone) –None. This message doesn’t have any input bundle.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a DMS Get USB Composition 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.ClientGas.dms_get_usb_composition_finish() to get the result of the operation.New in version 1.32.
- dms_get_usb_composition_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientGas.dms_get_usb_composition().- Raises:
- Returns:
a
Qmi.MessageGasDmsGetUsbCompositionOutput, orNoneif error is set. The returned value should be freed withQmi.MessageGasDmsGetUsbCompositionOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientGas.dms_get_usb_composition().New in version 1.32.
- dms_set_active_firmware(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageGasDmsSetActiveFirmwareInput) – aQmi.MessageGasDmsSetActiveFirmwareInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a DMS Set Active Firmware 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.ClientGas.dms_set_active_firmware_finish() to get the result of the operation.New in version 1.24.
- dms_set_active_firmware_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientGas.dms_set_active_firmware().- Raises:
- Returns:
a
Qmi.MessageGasDmsSetActiveFirmwareOutput, orNoneif error is set. The returned value should be freed withQmi.MessageGasDmsSetActiveFirmwareOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientGas.dms_set_active_firmware().New in version 1.24.
- dms_set_firmware_auto_sim(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageGasDmsSetFirmwareAutoSimInput) – aQmi.MessageGasDmsSetFirmwareAutoSimInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a DMS Set Firmware Auto Sim 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.ClientGas.dms_set_firmware_auto_sim_finish() to get the result of the operation.New in version 1.36.
- dms_set_firmware_auto_sim_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientGas.dms_set_firmware_auto_sim().- Raises:
- Returns:
a
Qmi.MessageGasDmsSetFirmwareAutoSimOutput, orNoneif error is set. The returned value should be freed withQmi.MessageGasDmsSetFirmwareAutoSimOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientGas.dms_set_firmware_auto_sim().New in version 1.36.
- dms_set_usb_composition(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageGasDmsSetUsbCompositionInput) – aQmi.MessageGasDmsSetUsbCompositionInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a DMS Set USB Composition 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.ClientGas.dms_set_usb_composition_finish() to get the result of the operation.New in version 1.32.
- dms_set_usb_composition_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientGas.dms_set_usb_composition().- Raises:
- Returns:
a
Qmi.MessageGasDmsSetUsbCompositionOutput, orNoneif error is set. The returned value should be freed withQmi.MessageGasDmsSetUsbCompositionOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientGas.dms_set_usb_composition().New in version 1.32.