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

Ensure WiFi.localIP() is converted to a string when needed. #455

Merged
merged 1 commit into from
May 11, 2018

Conversation

crankyoldgit
Copy link
Owner

Due to a potential compiler difference (e.g. Platformio vs. Arduino IDE) it
seems that WiFi.localIP() wasn't being automatically associated with the
string varient when used in a string context. This manifest as a crash on a ESP-01 board.
Forcing the conversion should fix it in all cases.

Fixes #452

Verified by @DiggiD

Due to a potential compiler issue (e.g. Platformio vs. Arduino IDE) it
seems that WiFi.localIP() wasn't being automatically associated with the
string varient when used in a string context.
Forcing the conversion should fix it in all cases.

Fixes #452

Checked by @DiggiD
@crankyoldgit crankyoldgit self-assigned this May 11, 2018
@crankyoldgit crankyoldgit merged commit 3c11f65 into master May 11, 2018
@crankyoldgit crankyoldgit deleted the issue-452 branch May 12, 2018 01:40
@crankyoldgit crankyoldgit mentioned this pull request May 20, 2018
crankyoldgit added a commit that referenced this pull request May 20, 2018
**[Bug Fixes]**
- Fix crash in IRMQTTServer when compiled under Arduino IDE. (#455)
- Default bit length not set for RCMM in IRMQTTServer example. (#456)
- Bad acknowledgements for some A/C protocols in IRMQTTServer example. (#460)

**[Features]**
- Allow disabling the use of delay() calls. (#450)
- Initial support for G.I. Cable protocol. (#458)
- Support of Hitachi A/C 13 & 53 byte messages. (#461)

**[Misc]**
- Auto Analyse Raw Data script converted to Python. (#454)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WIFI AP not initialising correctly
2 participants