getTransportName

This commit is contained in:
lathoub 2020-03-15 04:00:23 +01:00
parent 0fc2b5a059
commit 1e9706aa1a
1 changed files with 3 additions and 0 deletions

View File

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