3#ifndef CS_BLE_MIDI_NOT_SUPPORTED
5#include <Settings/NamespaceSettings.hpp>
15#define CS_BLE_MIDI_SUPPORTED 1
24#if CONFIG_BT_BLE_ENABLED
26#define CS_BLE_MIDI_BACKEND_NIMBLE 1
28#define CS_BLE_MIDI_BACKEND_NIMBLE 0
30#define CS_BLE_MIDI_SUPPORTED 1
32#elif CONFIG_BT_NIMBLE_ENABLED
33#define CS_BLE_MIDI_BACKEND_NIMBLE 1
34#define CS_BLE_MIDI_SUPPORTED 1
36#elif CONFIG_BT_BLUEDROID_ENABLED
38#pragma warning ("CS_USE_NIMBLE ignored (CONFIG_BT_NIMBLE_ENABLED != 1)")
40#define CS_BLE_MIDI_BACKEND_NIMBLE 0
41#define CS_BLE_MIDI_SUPPORTED 1
44#if CS_BLE_MIDI_SUPPORTED
46#if CS_BLE_MIDI_BACKEND_NIMBLE
60#elif defined(ARDUINO_RASPBERRY_PI_PICO_W)
67#define CS_BLE_MIDI_SUPPORTED 1
70#elif (defined(ARDUINO_ARCH_MBED) && defined(ARDUINO_ARDUINO_NANO33BLE)) || \
71 (defined(ARDUINO_ARCH_MBED) && defined(ARDUINO_ARCH_RP2040)) || \
72 (defined(ARDUINO_ARCH_MBED) && defined(ARDUINO_GIGA)) || \
73 defined(ARDUINO_UNOR4_WIFI) || defined(ARDUINO_SAMD_NANO_33_IOT) || \
74 defined(ARDUINO_SAMD_MKRWIFI1010) || defined(CS_USE_ARDUINOBLE)
81#define CS_BLE_MIDI_SUPPORTED 1
84#ifdef CS_BLE_MIDI_SUPPORTED
99#ifndef CS_BLE_MIDI_SUPPORTED
100#define CS_BLE_MIDI_NOT_SUPPORTED 1
ESP32BLEBackend< ble_backend::ESP32BluedroidBLE > ESP32BluedroidBackend
ESP32 Bluedroid backend intended to be plugged into GenericBLEMIDI_Interface.
ESP32BLEBackend< ble_backend::ESP32NimBLE > ESP32NimBLEBackend
ESP32 NimBLE backend intended to be plugged into GenericBLEMIDI_Interface.
#define BEGIN_CS_NAMESPACE
ArduinoBLE backend intended to be plugged into GenericBLEMIDI_Interface.
Raspberry Pi Pico BTstack background backend intended to be plugged into GenericBLEMIDI_Interface.
Bluetooth Low Energy MIDI Interface.
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.
Default backend for the BluetoothMIDI_Interface class.
A class for MIDI interfaces sending MIDI messages over a Bluetooth Low Energy (BLE) connection.