BLE-Scanner
BLE-Scanner copied to clipboard
Compilation errors
I also have problems compiling.
(1) It seems to me that the library NimBLE-Arduino has been ugraded such that it is not compatible with teh current sketch anymore. It throws all kinds of error. I have fixed that by downgrading to a pre 2.0 Version. (2) But now I get the following error where I would need help
/Users/tobi/Downloads/BLE-Scanner-main 2/BLE-Scanner/util.cpp: In function 'const char* TimeToString(time_t)':
/Users/tobi/Downloads/BLE-Scanner-main 2/BLE-Scanner/util.cpp:143:15: error: '_config' was not declared in this scope
143 | t += (long) _config.ntp.timezone * SECS_PER_HOUR;
| ^~~~~~~
exit status 1
Compilation error: '_config' was not declared in this scope
Can somebody comment/help
Thank you!
I get the same error, unfortunately. Is there a fix?
ESP32-C3
Fixed.
Added #include "config.h" in the util.cpp
Thanks for the hint -- the fix will be included in the next release.