<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDIBluetoothDriverDisconnect(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:@F@MIDIBluetoothDriverDisconnect"
  },
  "title" : "MIDIBluetoothDriverDisconnect(_:)"
}
-->

# MIDIBluetoothDriverDisconnect(_:)

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

```
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`](/documentation/CoreMIDI) device is in a connected state to a Bluetooth Low Energy MIDI peripheral with the identifier you specify, the system disconnects it.

---

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)