send(atCommand:timeout:selector:target:)
Send an AT command to the Bluetooth audio gateway and performs a selector on completion or timeout.
Declaration
func send(atCommand: String!, timeout: Float, selector: Selector!, target: Any!)Parameters
- atCommand:
A string containing the AT command.
- timeout:
The number of seconds until the message times out.
- selector:
The function to call on completion or timeout.
- target:
The target object for the completion call.