From 3f9b48cb1a5548d1ccfbd952732387ffe36ba55b Mon Sep 17 00:00:00 2001 From: alf45tar <35426671+alf45tar@users.noreply.github.com> Date: Wed, 8 Dec 2021 12:51:48 +0100 Subject: [PATCH] Moved SERVICE_UUID and CHARACTERISTIC_UUID inside namespace to avoid conflicts --- src/BLEMIDI_Transport.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/BLEMIDI_Transport.h b/src/BLEMIDI_Transport.h index 555b977..45b028a 100644 --- a/src/BLEMIDI_Transport.h +++ b/src/BLEMIDI_Transport.h @@ -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