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

# send(atCommand:)

Sends an AT command to the Bluetooth audio gateway.

## Declaration

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

## Parameters

- `atCommand`: A string containing the AT command.

## See Also

### Sending Messages and Commands

- [sendSMS(_:message:)](iobluetooth/iobluetoothhandsfreedevice/sendsms(_:message:).md)
- [sendDTMF(_:)](iobluetooth/iobluetoothhandsfreedevice/senddtmf(_:).md)
- [send(atCommand:timeout:selector:target:)](iobluetooth/iobluetoothhandsfreedevice/send(atcommand:timeout:selector:target:).md)
