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 publishes this PC
MidiBluetoothPeripheralConfig(protocol) The same. The protocol is no longer used, because both are always published

Properties

Property Description
Protocol No longer used. This PC is published with both BLE MIDI 1.0 and BLE MIDI 2.0, and the device which connects picks one. Kept so existing code still compiles and runs
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.