Sends an AVC command to the device and returns the response.
SDKs
- macOS 10.2+
- Mac Catalyst 13.0+
Framework
- IOKit
Declaration
IOReturn (*AVCCommand)(void *self, const UInt8 *command, UInt32 cmdLen, UInt8 *response, UInt32 *responseLen);
Parameters
self
Pointer to IOFireWireAVCLibUnitInterface.
command
Pointer to command to send.
cmdLen
Length (in bytes) of command.
response
Pointer to place to store the response sent by the device.
responseLen
Pointer to place to store the length of the response.
Discussion
This function will block until the device returns a response or the kernel driver times out.