Skip to content

Commit

Permalink
Merge pull request #39 from alf45tar/master
Browse files Browse the repository at this point in the history
Moved SERVICE_UUID and CHARACTERISTIC_UUID inside namespace to avoid conflicts
Thank you @alf45tar
  • Loading branch information
lathoub authored Dec 9, 2021
2 parents 4724511 + 3f9b48c commit 36999ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/BLEMIDI_Defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions src/BLEMIDI_Transport.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 36999ec

Please sign in to comment.