| libqmi-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#define QMI_PROXY_SOCKET_PATH #define QMI_PROXY_N_CLIENTS struct QmiProxy; QmiProxy * qmi_proxy_new (GError **error); guint qmi_proxy_get_n_clients (QmiProxy *self);
The QmiProxy will setup an abstract socket listening on a predefined address, and will take care of synchronizing the access to a set of shared QMI ports.
Multiple QmiDevices may be connected to the QmiProxy at any given time. The QmiProxy acts as a stateless proxy for non-CTL services (messages are transferred unmodified), and as a stateful proxy for the CTL service (all remote QmiDevices will need to share the same CTL message sequence ID).