Control Surface
main
MIDI Control Surface library for Arduino
Toggle main menu visibility
Loading...
Searching...
No Matches
src
MIDI_Interfaces
BLEMIDI
ArduinoBLE
midi.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
MIDI_Interfaces/BLEMIDI/BLEAPI.hpp
>
4
5
BEGIN_CS_NAMESPACE
6
7
namespace
arduino_ble_midi
{
8
9
bool
init
(
MIDIBLEInstance
&instance,
BLESettings
ble_settings);
10
void
poll
();
11
void
notify
(
BLEDataView
data);
12
13
}
// namespace arduino_ble_midi
14
15
END_CS_NAMESPACE
16
17
// We cannot do this in a separate .cpp file, because the user might not have
18
// the ArduinoBLE library installed, and the Arduino library dependency scanner
19
// does not support __has_include.
20
#include "midi.ipp"
BLEAPI.hpp
Type definitions and callback interfaces for communication between the low-level BLE stacks and highe...
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:14
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:11
MIDIBLEInstance
Defines the interface for callback functions registered by the low-level BLE code.
Definition
BLEAPI.hpp:127
arduino_ble_midi
Definition
midi.hpp:7
arduino_ble_midi::notify
void notify(BLEDataView data)
arduino_ble_midi::init
bool init(MIDIBLEInstance &instance, BLESettings ble_settings)
arduino_ble_midi::poll
void poll()
BLEDataView
Non-owning, std::span-style read-only view of BLE data.
Definition
BLEAPI.hpp:42
BLESettings
Configuration options for the low-level BLE code.
Definition
BLEAPI.hpp:150
Generated by
1.17.0