Skip to content

Commit 36999ec

Browse files
authored
Merge pull request #39 from alf45tar/master
Moved SERVICE_UUID and CHARACTERISTIC_UUID inside namespace to avoid conflicts Thank you @alf45tar
2 parents 4724511 + 3f9b48c commit 36999ec

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/BLEMIDI_Defs.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
#include "BLEMIDI_Namespace.h"
44

5-
// As specified in
6-
// Specification for MIDI over Bluetooth Low Energy (BLE-MIDI)
7-
// Version 1.0a, NOvember 1, 2015
8-
// 3. BLE Service and Characteristics Definitions
9-
#define SERVICE_UUID "03b80e5a-ede8-4b33-a751-6ce34ec4c700"
10-
#define CHARACTERISTIC_UUID "7772e5db-3868-4112-a1a9-f2669d106bf3"
11-
125
#if ARDUINO
136
#include <Arduino.h>
147
#else

src/BLEMIDI_Transport.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ BEGIN_BLEMIDI_NAMESPACE
1414

1515
using namespace MIDI_NAMESPACE;
1616

17+
// As specified in
18+
// Specification for MIDI over Bluetooth Low Energy (BLE-MIDI)
19+
// Version 1.0a, November 1, 2015
20+
// 3. BLE Service and Characteristics Definitions
21+
static const char *const SERVICE_UUID = "03b80e5a-ede8-4b33-a751-6ce34ec4c700";
22+
static const char *const CHARACTERISTIC_UUID = "7772e5db-3868-4112-a1a9-f2669d106bf3";
23+
1724
#define MIDI_TYPE 0x80
1825

1926
template <class T, class _Settings = DefaultSettings>

0 commit comments

Comments
 (0)