Closed LuckyFishGeek closed 1 year ago
hey thanks for the feedback,
Looks like the BLECollector needs to catch up with the new versions of the core and libraries :wink: It may take some time tough as some parts of the app will need a full rewrite.
Meanwhile you can try those workarounds:
Either replace any instance of M5.ScreenShot.
by a M5.ScreenShot->
as suggested by the error message, or downgrade the version of Chimera-Core until it does not complain.
I'd suggest the former as there was a significant gain in memory/flash space when the ScreenShot service was moved to pointers.
Same temporary solution, downgrade the version in your library manager until it stops complaining.
Modified like this?
only ->
sorry about the typo
there are other errors after that, I'll push an update today but it'll be based on espressif package 2.0.5
I've pushed an update on the master, tested on Arduino and Platformio with my old M5Fire, it's been running for half an hour without a glitch.
new error : 'class NimBLEScan' has no member named 'setAdvertisedDeviceCallbacks'
Compiler Environment:
ESP32-Chimera-Core 1.4.6 ESP32 Development Board : 2.0.5
log:
Arduino:1.8.19 (Windows 10), development board:"M5Stack-FIRE, Enabled, Default (2 x 6.5 MB app, 3.6 MB SPIFFS), 921600, None, Disabled"
In file included from C:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src/ESP32-Chimera-Core-Config.h:1,
from C:\Users\Administrator\Desktop\ESP32-BLECollector-master\ESP32-BLECollector\Display.h:1,
from C:\Users\Administrator\Desktop\ESP32-BLECollector-master\ESP32-BLECollector\Settings.h:199,
from C:\Users\Administrator\Desktop\ESP32-BLECollector-master\ESP32-BLECollector\ESP32-BLECollector.ino:50:
C:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src/Config.h:68:21: note: #pragma message: ESP32 Arduino 2.0.5 (0x2d6ca351) detected
#pragma message "ESP32 Arduino 2.0.5 (0x2d6ca351) detected"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\Administrator\Desktop\ESP32-BLECollector-master\ESP32-BLECollector\Settings.h:268,
from C:\Users\Administrator\Desktop\ESP32-BLECollector-master\ESP32-BLECollector\ESP32-BLECollector.ino:50:
C:\Users\Administrator\Desktop\ESP32-BLECollector-master\ESP32-BLECollector\BLE.h: In static member function 'static void BLEScanUtils::scanInit()':
BLE.h:1201:17: error: 'class NimBLEScan' has no member named 'setAdvertisedDeviceCallbacks'
pBLEScan->setAdvertisedDeviceCallbacks( FoundDeviceCallback );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
'class NimBLEScan' has no member named 'setAdvertisedDeviceCallbacks'
update your Nimble-Arduino library to the latest release
ok i try it thanks
Compilation is complete, but nothing is displayed on the screen after install firmware
I use Visual Studio Code to install the firmware
It's already night here. Thank you for your help. Go to bed earlier. Good night.
just update all your libraries, this means LovyanGFX too
It may not be the libraries, I checked the ones already installed and they are all the latest versions
Those are screenshots from Arduino IDE, but you spoke about Visual Studio?
The NimbleScan error message is very strange, can you check you have only one installtion of Nimble-Arduino ?
It looks like you have an old one too :-)
Finally succeeded, I was too stupid! Thank you for your help! I wish you a good mood every day
The last question: what are the functions of the three buttons? I don't seem to see it in the readme documentation
Brightness +/- and toggle the vendor filter (hides BLE addresses with unknown vendor)
if( M5.BtnA.wasPressed() ) {
UI.brightness -= UI.brightnessIncrement;
setBrightnessCB();
}
if( M5.BtnB.wasPressed() ) {
UI.brightness += UI.brightnessIncrement;
setBrightnessCB();
}
if( M5.BtnC.wasPressed() ) {
toggleFilterCB();
}
ESP32-Chimera-Core : 1.4.6 ESP32 Development Board : 2.0.3 device: M5Stack-fire