---
title: AVCCommand
framework: kernel
role: pseudoSymbol
path: kernel/iofirewireavcsubunit/1810566-avccommand
---

# AVCCommand

Sends an AVC command to the device and stores the response.

## Declaration

```occ
virtual IOReturn AVCCommand(
 const UInt8 *command,
 UInt32cmdLen,
 UInt8 *response,
 UInt32 *responseLen); 
```

## 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.

## See Also

### Miscellaneous

- [AVCCommandInGeneration](kernel/iofirewireavcsubunit/1810598-avccommandingeneration.md)
- [handleClose](kernel/iofirewireavcsubunit/1810634-handleclose.md)
- [handleOpen](kernel/iofirewireavcsubunit/1810680-handleopen.md)
- [matchPropertyTable](kernel/iofirewireavcsubunit/1810716-matchpropertytable.md)
- [updateAVCCommandTimeout](kernel/iofirewireavcsubunit/1810751-updateavccommandtimeout.md)
