| Top |
| GObject * | qmi_client_get_device () |
| GObject * | qmi_client_peek_device () |
| QmiService | qmi_client_get_service () |
| guint8 | qmi_client_get_cid () |
| gboolean | qmi_client_get_version () |
| gboolean | qmi_client_check_version () |
| guint16 | qmi_client_get_next_transaction_id () |
| void | qmi_client_process_indication () |
| guint | client-cid | Read / Write |
| QmiDevice * | client-device | Read / Write |
| QmiService | client-service | Read / Write |
| guint | client-version-major | Read / Write |
| guint | client-version-minor | Read / Write |
| #define | QMI_CID_NONE |
| #define | QMI_CID_BROADCAST |
| #define | QMI_CLIENT_DEVICE |
| #define | QMI_CLIENT_SERVICE |
| #define | QMI_CLIENT_CID |
| #define | QMI_CLIENT_VERSION_MAJOR |
| #define | QMI_CLIENT_VERSION_MINOR |
| struct | QmiClient |
GObject
╰── QmiClient
├── QmiClientDms
├── QmiClientNas
├── QmiClientOma
├── QmiClientPbm
├── QmiClientPds
├── QmiClientUim
├── QmiClientVoice
├── QmiClientWda
├── QmiClientWds
╰── QmiClientWms
QmiClient is a generic type representing a QMI client for any kind of QmiService.
These objects are created by a QmiDevice with qmi_device_allocate_client(),
and before completely disposing them qmi_device_release_client() needs to be
called in order to release the unique client ID reserved.
GObject *
qmi_client_peek_device (QmiClient *self);
Get the QmiDevice associated with this QmiClient, without increasing the reference count on the returned object.
QmiService
qmi_client_get_service (QmiClient *self);
Get the service being used by this QmiClient.
guint8
qmi_client_get_cid (QmiClient *self);
Get the client ID of this QmiClient.
gboolean qmi_client_get_version (QmiClient *self,guint *major,guint *minor);
Get the version of the service handled by this QmiClient.
gboolean qmi_client_check_version (QmiClient *self,guint major,guint minor);
Checks if the version of the service handled by this QmiClient is greater or equal than the given version.
guint16
qmi_client_get_next_transaction_id (QmiClient *self);
Acquire the next transaction ID of this QmiClient. The internal transaction ID gets incremented.
void qmi_client_process_indication (QmiClient *self,QmiMessage *message);
struct QmiClient;
The QmiClient structure contains private data and should only be accessed using the provided API.
“client-cid” property “client-cid” guint
ID of the client registered into the QMI device.
Flags: Read / Write
Allowed values: <= 255
Default value: 0
“client-service” property“client-service” QmiService
QMI service this client is using.
Flags: Read / Write
Default value: QMI_SERVICE_UNKNOWN
“client-version-major” property “client-version-major” guint
Major version of the service handled by this client.
Flags: Read / Write
Default value: 0