Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example program won't compile with Arduino ESP32 board software v3.x #309

Closed
db123 opened this issue Jun 28, 2024 · 2 comments
Closed

Example program won't compile with Arduino ESP32 board software v3.x #309

db123 opened this issue Jun 28, 2024 · 2 comments

Comments

@db123
Copy link

db123 commented Jun 28, 2024

The SendKeyStrokes example program compiles and runs correctly if I change the Arduino ESP32 board software back to version 2.0.17 in Boards Manager.
It won't compile with later versions 3.x.

@kotoar
Copy link

kotoar commented Jul 5, 2024

It's an issue of casting from std::string (C++ STL) to String (Arduino WString) for deviceName and deviceManufacturer. After adding convert for the two strings, it compiles for me.
Also noticed the fixing PR has been created but not merged yet. #303

@db123
Copy link
Author

db123 commented Jul 5, 2024

Thanks for the reply.

@db123 db123 closed this as completed Jul 5, 2024
@db123 db123 reopened this Jul 5, 2024
@db123 db123 closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants