---
title: MIDI Bluetooth
framework: coremidi
role: collectionGroup
role_heading: API Collection
path: coremidi/midi-bluetooth
---

# MIDI Bluetooth

Connect to Bluetooth Low Energy MIDI peripherals.

## Overview

Overview In macOS 13 or later and iOS 16 or later, the system automatically reconnects Bluetooth Low Energy (BLE) MIDI peripherals when powered on, if the device supports pairing. Previously, it was necessary to use Audio MIDI Setup to establish BLE MIDI connections. For devices that don’t support pairing, Core MIDI can enable Core Bluetooth connections for input/output (I/O). This API enables connection of BLE MIDI peripherals that don’t support pairing using Core Bluetooth with the following steps: Scan for and connect to a BLE MIDI peripheral. Confirm the peripheral has a BLE MIDI service. Confirm the BLE MIDI service on the peripheral has a MIDI I/O characteristic for the MIDI service. Once a BLE MIDI peripheral connects — and you confirm that it possess both the BLE MIDI service and BLE MIDI I/O characteristic — call MIDIBluetoothDriverActivateAllConnections() to have Core MIDI enable I/O on those connections. To disconnect a peripheral, obtain the CBUUID of the peripheral and call MIDIBluetoothDriverDisconnect(_:).

## Topics

### Managing Device Connections

- [MIDIBluetoothDriverActivateAllConnections()](coremidi/midibluetoothdriveractivateallconnections().md)
- [MIDIBluetoothDriverDisconnect(_:)](coremidi/midibluetoothdriverdisconnect(_:).md)

## See Also

### Services

- [MIDI Services](coremidi/midi-services.md)
- [MIDI System Setup](coremidi/midi-system-setup.md)
- [MIDI Messages](coremidi/midi-messages.md)
- [MIDI Thru Connection](coremidi/midi-thru-connection.md)
- [MIDI Networking](coremidi/midi-networking.md)
- [MIDI Drivers](coremidi/midi-drivers.md)
- [MIDI Capability Inquiry](coremidi/midi-capability-inquiry.md)
