Moved SERVICE_UUID and CHARACTERISTIC_UUID inside namespace to avoid conflicts

This commit is contained in:
alf45tar 2021-12-08 12:51:48 +01:00 committed by GitHub
parent f8236efa5f
commit 3f9b48cb1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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>