Control Surface
main
MIDI Control Surface library for Arduino
Toggle main menu visibility
Main Page
User Manual
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Typedefs
a
b
c
k
m
n
p
t
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
i
l
m
p
r
s
t
v
w
Enumerations
Enumerator
a
b
d
f
h
i
l
m
n
o
p
r
s
v
w
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
g
i
l
m
o
p
s
u
v
Variables
c
e
f
h
i
l
m
n
o
p
s
u
v
Typedefs
a
b
c
e
f
i
k
m
n
p
s
t
u
v
Enumerations
Enumerator
Macros
a
b
c
d
e
f
h
i
n
u
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
src
MIDI_Interfaces
BLEMIDI
ESP32-NimBLE
events.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ble.h
"
4
5
#if CS_MIDI_BLE_ESP_IDF_NIMBLE
6
#include <host/ble_gap.h>
7
#include <host/ble_gatt.h>
8
#else
9
#include <nimble/nimble/host/include/host/ble_gap.h>
10
#include <nimble/nimble/host/include/host/ble_gatt.h>
11
#endif
12
13
#include "
ble-macro-fix.h
"
14
15
#include "
../BLEAPI.hpp
"
16
17
namespace
cs::midi_ble_nimble
{
18
19
struct
MIDIBLEState
{
20
constexpr
static
uint16_t
invalid_handle
= 0xFFFF;
21
MIDIBLEInstance
*
instance
=
nullptr
;
22
uint16_t
midi_characteristic_handle
=
invalid_handle
;
23
uint8_t
address_type
= 0;
24
BLESettings
settings
;
25
};
19
struct
MIDIBLEState
{
…
};
26
27
extern
MIDIBLEState
*
state
;
28
29
}
// namespace cs::midi_ble_nimble
30
31
#include "events.ipp"
BLEAPI.hpp
Type definitions and callback interfaces for communication between the low-level BLE stacks and highe...
ble-macro-fix.h
ble.h
MIDIBLEInstance
Defines the interface for callback functions registered by the low-level BLE code.
Definition
BLEAPI.hpp:127
cs::midi_ble_nimble
Definition
advertise.hpp:5
cs::midi_ble_nimble::state
MIDIBLEState * state
BLESettings
Configuration options for the low-level BLE code.
Definition
BLEAPI.hpp:150
cs::midi_ble_nimble::MIDIBLEState
Definition
events.hpp:19
cs::midi_ble_nimble::MIDIBLEState::instance
MIDIBLEInstance * instance
Definition
events.hpp:21
cs::midi_ble_nimble::MIDIBLEState::settings
BLESettings settings
Definition
events.hpp:24
cs::midi_ble_nimble::MIDIBLEState::address_type
uint8_t address_type
Definition
events.hpp:23
cs::midi_ble_nimble::MIDIBLEState::invalid_handle
static constexpr uint16_t invalid_handle
Definition
events.hpp:20
cs::midi_ble_nimble::MIDIBLEState::midi_characteristic_handle
uint16_t midi_characteristic_handle
Definition
events.hpp:22
Generated by
1.10.0