Closed mhaberler closed 1 month ago
Hi,
switching espressif32 versions and matching NimBLE-Arduino or esp-nimble-cpp versions leads to contraptions like this:
#ifdef NIMBLE_OLDAPI pBLEScan->setAdvertisedDeviceCallbacks(new scanCallbacks()); #else pBLEScan->setScanCallbacks(new scanCallbacks()); #endif
did I overlook a feature test macro for the API change? if not - could I suggest to add one?
thanks Michael
@mhaberler, if you use the NimBLE-Arduino Master branch instead of release/1.4 then the functions are the same and this conditional will not be necessary.
appreciated - thanks!
Hi,
switching espressif32 versions and matching NimBLE-Arduino or esp-nimble-cpp versions leads to contraptions like this:
did I overlook a feature test macro for the API change? if not - could I suggest to add one?
thanks Michael