Contents

MIDIBluetoothDriverDisconnect(_:)

Disconnect the Bluetooth MIDI driver from a Bluetooth Low Energy MIDI peripheral.

Declaration

func MIDIBluetoothDriverDisconnect(_ uuid: CFString) -> OSStatus

Parameters

  • uuid:

    A unique identifier that represents the peripheral to disconnect.

Return Value

A status code that indicates the result of the disconnect.

Discussion

If a Core MIDI device is in a connected state to a Bluetooth Low Energy MIDI peripheral with the identifier you specify, the system disconnects it.

See Also

Managing Device Connections