Skip to content

Commit 3f9b48c

Browse files
authored
Moved SERVICE_UUID and CHARACTERISTIC_UUID inside namespace to avoid conflicts
1 parent f8236ef commit 3f9b48c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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)