XBEE Explorer Regulated Board failing intermittently

I’ve been trying to work with one of SparkFun’s tutorials:

Sending Sensor Data Over WiFi

Using the SparkFun Thing Plus - ESP32 WROOM (USB-C)

Located at:

https://learn.sparkfun.com/tutorials/se … -over-wifi

With Arduino IDE 2.3.2, and working with ‘Full Receiver Code’ in the tutorial, I get the following error:

129 | esp_now_register_recv_cb(OnDataRecv);

| ^~~~~~~~~~

| |

| void ()(const uint8_t, const uint8_t*, int) {aka void ()(const unsigned char, const unsigned char*, int)}

156 | esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t cb);

| ~~~~~~~~~~~~~~~~~~^~

Compilation error: invalid conversion from ‘void ()(const uint8_t, const uint8_t*, int)’ {aka ‘void ()(const unsigned char, const unsigned char*, int)’} to ‘esp_now_recv_cb_t’ {aka ‘void ()(const esp_now_recv_info, const unsigned char*, int)’} [-fpermissive]

The error appears to be associated with line 77 in the program:

esp_now_register_recv_cb(OnDataRecv);

The issue occus when esp32, version 3.0.0-a, is installed in the Boards Manager.

When reverting back to esp32, version 2.0.14, everything works just fine.

Using:

Arduino IDE: 2.3.2

Board: SparkFun Thing Plus - ESP32 WROOM (USB-C)

Any suggestions on how to correct this?

Thank you

I would recommend just continuing to use the older 2.0.x release until a fix is eventually made for 3.0.x