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

# respond(toCommand:status:deviceAddress:)

## Declaration

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

## See Also

### Instance Methods

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