---
title: sendOKResponse()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
platforms: [macOS 10.7+]
path: iobluetooth/iobluetoothhandsfreeaudiogateway/sendokresponse()
---

# sendOKResponse()

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

## Declaration

```swift
func sendOKResponse()
```

## See Also

### Sending and Receiving Commands

- [sendResponse(_:)](iobluetooth/iobluetoothhandsfreeaudiogateway/sendresponse(_:).md)
- [sendResponse(_:withOK:)](iobluetooth/iobluetoothhandsfreeaudiogateway/sendresponse(_:withok:).md)
- [process(atCommand:)](iobluetooth/iobluetoothhandsfreeaudiogateway/process(atcommand:).md)
