Update BLEMIDI_ArduinoBLE.h
moved midiService, midiChar within namespace
This commit is contained in:
parent
47693c7fdc
commit
139537b2e8
|
|
@ -2,14 +2,15 @@
|
||||||
|
|
||||||
#include <ArduinoBLE.h>
|
#include <ArduinoBLE.h>
|
||||||
|
|
||||||
//BLEService midiService(SERVICE_UUID);
|
|
||||||
//BLEStringCharacteristic midiChar(CHARACTERISTIC_UUID, // standard 16-bit characteristic UUID
|
|
||||||
// BLERead | BLEWrite | BLENotify | BLEWriteWithoutResponse, 16); // remote clients will be able to get notifications if this characteristic changes
|
|
||||||
|
|
||||||
#define BLE_POLLING
|
#define BLE_POLLING
|
||||||
|
|
||||||
BEGIN_BLEMIDI_NAMESPACE
|
BEGIN_BLEMIDI_NAMESPACE
|
||||||
|
|
||||||
|
BLEService midiService(SERVICE_UUID);
|
||||||
|
|
||||||
|
BLEStringCharacteristic midiChar(CHARACTERISTIC_UUID, // standard 16-bit characteristic UUID
|
||||||
|
BLERead | BLEWrite | BLENotify | BLEWriteWithoutResponse, 16); // remote clients will be able to get notifications if this characteristic changes
|
||||||
|
|
||||||
template<typename T, int rawSize>
|
template<typename T, int rawSize>
|
||||||
class Fifo {
|
class Fifo {
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue