paulhamsh / SparkMIDI

Midi control capability for the Spark 40 Amp
Apache License 2.0
10 stars 4 forks source link

No setMTU function member in the class NimBLEClient #1

Closed Dante777 closed 2 years ago

Dante777 commented 2 years ago

SparkComms.ino line 125: pClient_sp->setMTU(517);

in SparkESP32 project it is called in the section for 'classic' BLE library:

ifdef CLASSIC

  pClient_sp->setMTU(517);

endif

paulhamsh commented 2 years ago

Thanks - fixed now. I have so many versions of the libraries I forget to fix older ones!! Also #define CLASSIC must be before #include "Spark.h" otherwise it really gets confused between NimBLE and 'classic' BLE.