Skip to content

Does not compile on ESP8266 due to ArduinoMqttClient library #2

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

Closed
ferdinand0815 opened this issue Jun 17, 2024 · 1 comment
Closed
Labels
bug Something isn't working ESP8266

Comments

@ferdinand0815
Copy link
Contributor

ferdinand0815 commented Jun 17, 2024

Does not compile on the ESP8266 due to ESP8266-specific code in the ArduinoMqttClient library.

There is a pull request fixing this issue arduino-libraries/ArduinoMqttClient#33 . This seems to be related to the ESP8266 core 2.5.0 release, which is long outdated.

To fix this issue locally remove the ESP8266-specific code as done in the pull request.

@ferdinand0815 ferdinand0815 added bug Something isn't working ESP8266 labels Jun 17, 2024
@ferdinand0815 ferdinand0815 added this to the v0.1.1 milestone Jun 17, 2024
@ferdinand0815 ferdinand0815 added wontfix This will not be worked on and removed wontfix This will not be worked on labels Jun 17, 2024
@ferdinand0815 ferdinand0815 changed the title Does not compile due to ArduinoMqttClient library Does not compile on ESP8266 due to ArduinoMqttClient library Jun 17, 2024
@ferdinand0815
Copy link
Contributor Author

Fixed dirty, this is only an issue when connecting to a host using its IPAddress, not via host name.

This offers a quick solution, convert the IP to a string .. not ideal but whatever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ESP8266
Projects
None yet
Development

No branches or pull requests

1 participant