---
title: "process(atCommand:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
platforms: [macOS 10.7+]
path: "iobluetooth/iobluetoothhandsfreeaudiogateway/process(atcommand:)"
---

# process(atCommand:)

Processes a command from a connected Bluetooth hands-free phone or headset.

## Declaration

```swift
func process(atCommand: String!)
```

## Parameters

- `atCommand`: A string containing the AT command sent from the hands-free Bluetooth device.

## See Also

### Sending and Receiving Commands

- [sendResponse(_:)](iobluetooth/iobluetoothhandsfreeaudiogateway/sendresponse(_:).md)
- [sendResponse(_:withOK:)](iobluetooth/iobluetoothhandsfreeaudiogateway/sendresponse(_:withok:).md)
- [sendOKResponse()](iobluetooth/iobluetoothhandsfreeaudiogateway/sendokresponse().md)
