ESP-32 Dev Kit C V4

I recently purchased a ESP-32 Dev Kit C V4 from AZ-Delivery (ESP32 Dev Kit C V4 Nodemcu WiFi Development Board) and thought I’d attempt to flash OpenMQTTGateway on it.

I started with Option 1 and selected the esp32-olimex-gtw-ble-wifi firmware. Flashing worked fine, and I soon saw the local WIFI that the device broadcasts.

I joined it and configured the WIFI and MQTT according to the instructions.

After hitting save, the device soon appears on my WIFI network. Once or twice I have even been able to reach the device’s local web-GUI. But after a short while, the device appears to reboot and go back to its default settings, as the default WIFI is once more broadcasted.

In the logs I see some errors and warnings along the way -

[00:09:13][ 65693][E][WebServer.cpp:649] _handleRequest(): request handler not found

I assume this one has to do with sessions management in the configuration portal.

[00:09:52]}[105161][E][Preferences.cpp:50] begin(): nvs_open failed: NOT_FOUND
[00:09:52]N: SYS config not found 

This one starts appearing after the config portal has exited.

Everything seems to get loaded somehow, but in the end this is the error that restarts and resets the device:

N: ZgatewayBT multicore ESP32 setup done
N: OpenMQTTGateway modules: ["WebUI","BT"]
N: ************** Setup OpenMQTTGateway end **************
N: Erasing ESP Config, restarting
ets Jul 29 2019 12:21:46
[00:10:03]
[00:10:03]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[00:10:03]configsip: 0, SPIWP:0xee
[00:10:03]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[00:10:03]mode:DIO, clock div:2
[00:10:03]load:0x3fff0030,len:1184
[00:10:03]load:0x40078000,len:13160
[00:10:03]load:0x40080400,len:3036
[00:10:03]entry 0x400805e4
[00:10:37]N:

I then proceeded to try a few older versions of the firmware using Option 2. But this hasn’t yielded any other behavior really…

So reading the Troubleshooting section I figured I’d see if someone in the community might spare me some more hours head-to-wall-banging.

Is my device simply not supported?
Am I using the wrong firmware?
Am I reading the instructions wrong somewhere…?

Thanks for your time!
Best regards,
/Fred

Olimex is for the boards from Olimex.
Try esp32dev-ble this is the generic environment for ESP32 board using BLE module

Well that was definitely the issue, thanks!
I wasn’t sure which firmware version to choose. Looked at this one as well but didn’t see anything about wifi, so opted for the other one…
Thanks @1technophile !

I can understand that there are many choices when you enter the project for the first time.

We could highlight our most used firmwares maybe.