USBD_CFG_CLIENT_UPDATE

Purpose

Updates the client connection information.

Note: This ioctl operation is used only by the USB system driver (USBD) configuration method.

Syntax

int ioctl (file, USBD_CFG_CLIENT_UPDATE, arg)

Parameters

Item Description
file File descriptor that is obtained when the USBD special file was opened.
arg Address of the USBENUMCFG structure that is aligned with a 4-byte boundary.

Description

This ioctl operation is used by the USBD’s defined children configuration procedure to update the device selection criteria that is used by the client driver. Specifically, it updates the hcdevno, addr, cfg, and intfc fields to reflect the current values for the device that are managed by the client.

Execution environment

This function can be called from the user process environment only.

Return values

Value Description
0 Success.
-1 Failure. Check the errno value for specific failure causes.