getTransportName
This commit is contained in:
parent
0fc2b5a059
commit
1e9706aa1a
|
|
@ -33,6 +33,8 @@ private:
|
||||||
T mBleClass;
|
T mBleClass;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
const char* getTransportName() { return "BLE-MIDI"; };
|
||||||
|
|
||||||
BLEMIDI(const char* deviceName)
|
BLEMIDI(const char* deviceName)
|
||||||
{
|
{
|
||||||
strncpy(mDeviceName, deviceName, 24);
|
strncpy(mDeviceName, deviceName, 24);
|
||||||
|
|
@ -41,6 +43,7 @@ public:
|
||||||
mTxIndex = 0;
|
mTxIndex = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
void begin(MIDI_NAMESPACE::Channel inChannel = 1)
|
void begin(MIDI_NAMESPACE::Channel inChannel = 1)
|
||||||
{
|
{
|
||||||
mBleClass.begin(mDeviceName, this);
|
mBleClass.begin(mDeviceName, this);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue