Tim Purchas
Tim Purchas
I respectivly disagree, allowing you to use pointers means that you can delare the host as a constant or fixed width char eg `const char[] = "host.name.com"`. Taking pointers alows...
Did you actually read the article ? Strings make copies all other the place with out you knowing, this can lead the heap fragmentation, something I personally try to avoid.
@romansavrulin You also said to improve user experience, but you haven't change the headers of any functions to take strings. So the use is seeing no benifits. This is kinda...
@romansavrulin You still didn't address how this PR will benifit the end user, no function headers have changed to take a string ? Kinda seems pointless to only use strings...
Tbh, if the user isn't benifiting any any way then there's not much point ? And if using strings for the user means memory management issues ? Then not sure...
Yeah true let me talk to Marvin.
Hmmm, I understand the problem, just not keen on using the String class to solve this. TBH I'd prefer copying the mem manually. Thinking depending on the input type it...
@romansavrulin, okay, but still not really keen on using String, but can you update this PR to include the function signatures also and anything else that makes sense, then well...
I got it working with Arduino ide. I found you also need to import the esp wifi lib as the first thing of your sketch Example #include #if ASYNC_TCP_SSL_ENABLED Homie.getLogger()
Tbh haven't tested lately, but from memory it seemed fine. No crashes, just a bit longer to connect, but that would make sense. You can try a combo of these...