Merge pull request #39 from alf45tar/master
Moved SERVICE_UUID and CHARACTERISTIC_UUID inside namespace to avoid conflicts Thank you @alf45tar
This commit is contained in:
commit
36999ecf28
|
|
@ -2,13 +2,6 @@
|
|||
|
||||
#include "BLEMIDI_Namespace.h"
|
||||
|
||||
// As specified in
|
||||
// Specification for MIDI over Bluetooth Low Energy (BLE-MIDI)
|
||||
// Version 1.0a, NOvember 1, 2015
|
||||
// 3. BLE Service and Characteristics Definitions
|
||||
#define SERVICE_UUID "03b80e5a-ede8-4b33-a751-6ce34ec4c700"
|
||||
#define CHARACTERISTIC_UUID "7772e5db-3868-4112-a1a9-f2669d106bf3"
|
||||
|
||||
#if ARDUINO
|
||||
#include <Arduino.h>
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -14,6 +14,13 @@ BEGIN_BLEMIDI_NAMESPACE
|
|||
|
||||
using namespace MIDI_NAMESPACE;
|
||||
|
||||
// As specified in
|
||||
// Specification for MIDI over Bluetooth Low Energy (BLE-MIDI)
|
||||
// Version 1.0a, November 1, 2015
|
||||
// 3. BLE Service and Characteristics Definitions
|
||||
static const char *const SERVICE_UUID = "03b80e5a-ede8-4b33-a751-6ce34ec4c700";
|
||||
static const char *const CHARACTERISTIC_UUID = "7772e5db-3868-4112-a1a9-f2669d106bf3";
|
||||
|
||||
#define MIDI_TYPE 0x80
|
||||
|
||||
template <class T, class _Settings = DefaultSettings>
|
||||
|
|
|
|||
Loading…
Reference in New Issue