phyphox Forums

Full Version: Some problems with esp32 library version 2.0.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I just got phyphox installed for Arduino (versions 1.8.x and 2.0.x) and compiled the standard "randomNumbers.ino" example from File>Examples>phyphoxBLE>randomNumbers.

The sketch failed to compile with error messages provided in a screenshot attached.
Redefinition of some of the BLE classes are the cause of error.

I tried ESP32S3 and legacy ESP Dev Module with the same error returned.

Is there anyone has the same problem?

John
Hey,

it looks like this issue appears when the arduinoBLE and esp32 library are installed at the same time. Until I have a propper solution for this, you could uninstall the arduinoBLE library as a quick workaround.

Cheers
Dominik
(01-13-2023, 01:31 PM)Dominik Dorsel Wrote: [ -> ]Hey,

it looks like this issue appears when the arduinoBLE and esp32 library are installed at the same time. Until I have a propper solution for this, you could uninstall the arduinoBLE library as a quick workaround.

Cheers
Dominik

Dominik

You are right. Actually I tried to remove the post but couldn't find a way to do so. It was a silly mistake and not relevant to phyphox. When ArduinoBLE is installed along with esp32, there is a conflict of BLE classes.

Thanks.

John
I would like to keep your post for now. This does not look like an entirely uncommon mistake… Smile