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

# respond(toCommand:status:)

## Declaration

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

## See Also

### Instance Methods

- [inspectCommand(_:)](iousbhost/iousbhostcidevicestatemachine/inspectcommand(_:).md)
- [respond(toCommand:status:deviceAddress:)](iousbhost/iousbhostcidevicestatemachine/respond(tocommand:status:deviceaddress:).md)
