Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
gatt.h
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_uuid.h>
7#else
8#include <nimble/nimble/host/include/host/ble_uuid.h>
9#endif
10
11#include "ble-macro-fix.h"
12
13extern const ble_uuid128_t midi_ble_service_uuid;
14extern const ble_uuid128_t midi_ble_characteristic_uuid;
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20const struct ble_gatt_svc_def *midi_ble_get_service(void);
21
22#ifdef __cplusplus
23}
24#endif
25
26#include "gatt.c.ipp"
const struct ble_gatt_svc_def * midi_ble_get_service(void)
const ble_uuid128_t midi_ble_service_uuid
const ble_uuid128_t midi_ble_characteristic_uuid