Mac Developer Library

Developer

IOFireWireAVCNub Class Reference

Options
Deployment Target:

On This Page
Language:

IOFireWireAVCNub

nub for AVC devices More...

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable @import Kernel;

Availability


Available in OS X v10.2 and later.
  • Sends an AVC command to the device and stores the response.

    Declaration

    C++

    virtual IOReturn AVCCommand( const UInt8 *command, UInt32cmdLen, UInt8 *response, UInt32 *responseLen) = 0;

    Parameters

    command

    Pointer to command to send.

    cmdLen

    Length of the command.

    response

    Pointer to place to store the response.

    responseLen

    Pointer to response length - initialize to the size of the buffer pointed to by response, updated to the number of bytes returned by the device.

    Import Statement

  • Sends an AVC command to the device and stores the response. The command must complete in the specified FireWire bus generation otherwise kIOFireWireBusReset is returned.

    Declaration

    C++

    virtual IOReturn AVCCommandInGeneration( UInt32generation, const UInt8 *command, UInt32cmdLen, UInt8 *response, UInt32 *responseLen) = 0;

    Parameters

    generation

    The bus generation that the command must execute in.

    command

    Pointer to command to send.

    cmdLen

    Length of the command.

    response

    Pointer to place to store the response.

    responseLen

    Pointer to response length - initialize to the size of the buffer pointed to by response, updated to the number of bytes returned by the device.

    Import Statement

  • Returns the FireWire device nub that is this object's provider .

    Declaration

    C++

    IOFireWireNub* getDevice() const ;

    Import Statement

  • By default, AVCCommands timeout 10 seconds after receiving an Interim response. This function resets the timeout of the current command to 10 seconds from the current time. Call this repeatedly for AVC commands that take a very long time to execute to prevent premature timeout.

    Declaration

    C++

    virtual IOReturn updateAVCCommandTimeout() = 0;

    Import Statement