---
title: "MIDIBluetoothDriverDisconnect(_:)"
framework: coremidi
role: symbol
role_heading: Function
path: "coremidi/midibluetoothdriverdisconnect(_:)"
---

# MIDIBluetoothDriverDisconnect(_:)

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

## Declaration

```swift
func MIDIBluetoothDriverDisconnect(_ uuid: CFString) -> OSStatus
```

## Parameters

- `uuid`: A unique identifier that represents the peripheral to disconnect.

## Return Value

Return Value A status code that indicates the result of the disconnect.

## Discussion

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

- [MIDIBluetoothDriverActivateAllConnections()](coremidi/midibluetoothdriveractivateallconnections().md)
