Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Compiling error in esp32-mqtt.h #105

Closed
Bearg97 opened this issue Apr 26, 2019 · 3 comments
Closed

Compiling error in esp32-mqtt.h #105

Bearg97 opened this issue Apr 26, 2019 · 3 comments

Comments

@Bearg97
Copy link

Bearg97 commented Apr 26, 2019

Hey,

I am getting a compile error such as 'converting to 'String' from initializer list would use explicit constructor 'String::String(int, unsigned char)' in line 93 in esp32-mqtt.h file.

void publishTelemetry(const char* data, int length)
{ mqtt->publishTelemetry(data, length); }

I tried a couple of things but I could not figure it out.

@Bearg97 Bearg97 changed the title Error in esp32-mqtt.h Compiling error in esp32-mqtt.h Apr 26, 2019
@gguuss
Copy link
Contributor

gguuss commented Apr 29, 2019

Thanks for the report! I must have introduced an issue in the 1.1.5 release. You may need to include Arduino.h in some platforms.

@gguuss
Copy link
Contributor

gguuss commented Apr 29, 2019

What OS are you using and which version of the ESP32 SDK?

@gguuss
Copy link
Contributor

gguuss commented May 17, 2019

I'm unable to reproduce the issue, please feel free to add comments in this issue / try the suggestions from there.

@gguuss gguuss closed this as completed May 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants