From 1e9706aa1a00f1631ea0d1c3f520f392ec4b69b3 Mon Sep 17 00:00:00 2001 From: lathoub Date: Sun, 15 Mar 2020 04:00:23 +0100 Subject: [PATCH] getTransportName --- src/BLE-MIDI.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/BLE-MIDI.h b/src/BLE-MIDI.h index ad615c9..8c1519d 100755 --- a/src/BLE-MIDI.h +++ b/src/BLE-MIDI.h @@ -33,6 +33,8 @@ private: T mBleClass; public: + const char* getTransportName() { return "BLE-MIDI"; }; + BLEMIDI(const char* deviceName) { strncpy(mDeviceName, deviceName, 24); @@ -41,6 +43,7 @@ public: mTxIndex = 0; } +protected: void begin(MIDI_NAMESPACE::Channel inChannel = 1) { mBleClass.begin(mDeviceName, this);