---
title: "respond(toCommand:status:)"
framework: IOUSBHost
role: symbol
role_heading: Instance Method
platforms: [Mac Catalyst 14.0+, macOS 10.15+]
path: "iousbhost/iousbhostciportstatemachine/respond(tocommand:status:)"
---

# respond(toCommand:status:)

## Declaration

```swift
func respond(toCommand command: UnsafePointer<IOUSBHostCIMessage>, status: IOUSBHostCIMessageStatus) throws
```

## See Also

### Instance Methods

- [inspectCommand(_:)](iousbhost/iousbhostciportstatemachine/inspectcommand(_:).md)
- [updateLinkState(_:speed:inhibitLinkStateChange:)](iousbhost/iousbhostciportstatemachine/updatelinkstate(_:speed:inhibitlinkstatechange:).md)
