phyphox Forums
Some problems with esp32 library version 2.0.4 - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Bugs and Problems (https://phyphox.org/forums/forumdisplay.php?fid=9)
+--- Thread: Some problems with esp32 library version 2.0.4 (/showthread.php?tid=1673)



Some problems with esp32 library version 2.0.4 - John - 01-13-2023

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


RE: Some problems with esp32 library version 2.0.4 - Dominik Dorsel - 01-13-2023

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


RE: Some problems with esp32 library version 2.0.4 - John - 01-13-2023

(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


RE: Some problems with esp32 library version 2.0.4 - Jens Noriʇzsɔɥ - 01-13-2023

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