Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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
17namespace cs::midi_ble_nimble {
18
20 constexpr static uint16_t invalid_handle = 0xFFFF;
23 uint8_t address_type = 0;
25};
26
27extern MIDIBLEState *state;
28
29} // namespace cs::midi_ble_nimble
30
31#include "events.ipp"
Type definitions and callback interfaces for communication between the low-level BLE stacks and highe...
Defines the interface for callback functions registered by the low-level BLE code.
Definition BLEAPI.hpp:127
MIDIBLEState * state
Configuration options for the low-level BLE code.
Definition BLEAPI.hpp:150
static constexpr uint16_t invalid_handle
Definition events.hpp:20