<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetooth",
  "identifier" : "/documentation/IOBluetooth/IOBluetoothHandsFreeAudioGateway",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "IOBluetooth"
    ],
    "preciseIdentifier" : "c:objc(cs)IOBluetoothHandsFreeAudioGateway"
  },
  "title" : "IOBluetoothHandsFreeAudioGateway"
}
-->

# IOBluetoothHandsFreeAudioGateway

An object that sends data to a connected Bluetooth hands-free phone or headset and processes commands from it.

```
class IOBluetoothHandsFreeAudioGateway
```

## Overview

This class represents the audio gateway portion of a Bluetooth audio profile.

## Topics

### Creating a Gateway

[`-  initWithDevice:delegate:`](/documentation/IOBluetooth/IOBluetoothHandsFreeAudioGateway/init(device:delegate:))

Creates an object that controls a connected Bluetooth hands-free phone or headset.

### Showing Status Indicators

[`-  createIndicator:min:max:currentValue:`](/documentation/IOBluetooth/IOBluetoothHandsFreeAudioGateway/createIndicator(_:min:max:currentValue:))

Sends a request to the Bluetooth device to show or update a status indicator.

[Status Indicator Constants](/documentation/IOBluetooth/status-indicator-constants)

Send commands to modify the status indicators of a hands-free Bluetooth device.

### Sending and Receiving Commands

[`-  sendResponse:`](/documentation/IOBluetooth/IOBluetoothHandsFreeAudioGateway/sendResponse(_:))

Sends data followed by a success message to a connected Bluetooth hands-free phone or headset.

[`-  sendResponse:withOK:`](/documentation/IOBluetooth/IOBluetoothHandsFreeAudioGateway/sendResponse(_:withOK:))

Sends data followed by an optional success message to a connected Bluetooth hands-free phone or headset.

[`-  sendOKResponse`](/documentation/IOBluetooth/IOBluetoothHandsFreeAudioGateway/sendOKResponse())

Sends a success message to a connected Bluetooth hands-free phone or headset.

[`-  processATCommand:`](/documentation/IOBluetooth/IOBluetoothHandsFreeAudioGateway/process(atCommand:))

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

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`IOBluetoothHandsFree`](/documentation/IOBluetooth/IOBluetoothHandsFree)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)