Qmi.Client¶
- Subclasses:
Qmi.ClientAtr,Qmi.ClientDms,Qmi.ClientDpm,Qmi.ClientDsd,Qmi.ClientFox,Qmi.ClientGas,Qmi.ClientGms,Qmi.ClientIms,Qmi.ClientImsa,Qmi.ClientImsdcm,Qmi.ClientImsp,Qmi.ClientLoc,Qmi.ClientNas,Qmi.ClientOma,Qmi.ClientPbm,Qmi.ClientPdc,Qmi.ClientPds,Qmi.ClientQos,Qmi.ClientSar,Qmi.ClientSsc,Qmi.ClientUim,Qmi.ClientVoice,Qmi.ClientWda,Qmi.ClientWds,Qmi.ClientWms
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
ID of the client registered into the QMI device |
||
r/w |
The QMI device |
||
r/w |
QMI service this client is using |
||
r |
Whether the client is valid and usable |
||
r/w |
Major version of the service handled by this client |
||
r/w |
Minor version of the service handled by this client |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class Qmi.Client(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
The
Qmi.Clientstructure contains private data and should only be accessed using the provided API.Added in version 1.0.
- check_version(major, minor)¶
- Parameters:
- Returns:
Trueif the version of the service is greater or equal than the one given,Falseotherwise.- Return type:
Checks if the version of the service handled by this
Qmi.Clientis greater or equal than the given version.Added in version 1.0.
- get_cid()¶
- Returns:
the client ID.
- Return type:
Get the client ID of this
Qmi.Client.Added in version 1.0.
- get_device()¶
- Returns:
a
GObject.Objectthat must be freed withGObject.Object.unref().- Return type:
Get the
Qmi.Deviceassociated with thisQmi.Client.Added in version 1.0.
- get_next_transaction_id()¶
- Returns:
the next transaction ID.
- Return type:
Acquire the next transaction ID of this
Qmi.Client. The internal transaction ID gets incremented.Added in version 1.0.
- get_service()¶
- Returns:
a
Qmi.Service.- Return type:
Get the service being used by this
Qmi.Client.Added in version 1.0.
- get_version(major, minor)¶
- Parameters:
- Returns:
- Return type:
Get the version of the service handled by this
Qmi.Client.Added in version 1.0.
- is_valid()¶
-
Checks whether
Qmi.Clientis a valid and usable client.The client is marked as invalid as soon as the client id is released or when the associated
Qmi.Deviceis closed.This method may be used if the caller needs to ensure validity before a command is attempted, e.g. if the lifecycle of the object is managed in some other place and the caller just has a reference to the
Qmi.Client.Added in version 1.20.
- peek_device()¶
- Returns:
a
GObject.Object. Do not free the returned object, it is owned by self.- Return type:
Get the
Qmi.Deviceassociated with thisQmi.Client, without increasing the reference count on the returned object.Added in version 1.0.
- do_process_indication(message) virtual¶
- Parameters:
message (
GLib.ByteArray)
Property Details¶
- Qmi.Client.props.client_cid¶
-
ID of the client registered into the QMI device
Added in version 1.0.
- Qmi.Client.props.client_device¶
- Name:
client-device- Type:
- Default Value:
- Flags:
The QMI device
Added in version 1.0.
- Qmi.Client.props.client_service¶
- Name:
client-service- Type:
- Default Value:
- Flags:
QMI service this client is using
Added in version 1.0.
- Qmi.Client.props.client_valid¶
-
Whether the client is valid and usable
Added in version 1.20.
- Qmi.Client.props.client_version_major¶
-
Major version of the service handled by this client
Added in version 1.0.