return QMI_CMD_REQUEST;
}
+#define cmd_sync_cb no_cb
+static enum qmi_cmd_result
+cmd_sync_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg)
+{
+ qmi_set_ctl_sync_request(msg);
+ return QMI_CMD_DONE;
+}
+
#define cmd_get_client_id_cb no_cb
static enum qmi_cmd_result
cmd_get_client_id_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg)
#define __uqmi_commands \
__uqmi_command(version, get-versions, no, QMI_SERVICE_CTL), \
+ __uqmi_command(sync, sync, no, QMI_SERVICE_CTL), \
__uqmi_command(set_client_id, set-client-id, required, CMD_TYPE_OPTION), \
__uqmi_command(get_client_id, get-client-id, required, QMI_SERVICE_CTL), \
__uqmi_command(ctl_set_data_format, set-data-format, required, QMI_SERVICE_CTL), \
" (implies --keep-client-id)\n"
" --get-client-id <name>: Connect and get Client ID for service <name>\n"
" (implies --keep-client-id)\n"
+ " --sync: Release all Client IDs\n"
wds_helptext
dms_helptext
uim_helptext