NOW LOADING

MidiBluetoothPeripheralConfig


Configures publishing this PC as a Bluetooth MIDI peripheral
Namespace Windows.Devices.Midi2.Transports.Bluetooth
Type Name MidiBluetoothPeripheralConfig
Type WinRT Runtime Class
IDL MidiBluetoothPeripheralConfig.idl

Implements IMidiServiceTransportPluginConfig.

Constructors

Constructor Description
MidiBluetoothPeripheralConfig() Creates a configuration that advertises Bluetooth Low Energy MIDI 1.0
MidiBluetoothPeripheralConfig(protocol) Creates a configuration that advertises this MidiBluetoothProtocol

Properties

Property Description
Protocol Which MidiBluetoothProtocol to advertise. Only one can be advertised at a time, so a MIDI 1.0 device can’t connect while MIDI 2.0 is selected
IsEnabled Save with this set to false to stop publishing this PC when the service next starts. Otherwise, stopping the peripheral only lasts until the service restarts
TransportId The Bluetooth transport’s GUID
ConfigJson This setting, as JSON

You can’t set the advertised name. Windows uses the computer name, and it gives apps no way to change it. So the name is reported in MidiBluetoothPeripheralStatus.AdvertisedName instead.

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.