Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Clemens Kirchgatterer
@everslick
it was the += before the last (that with the very long PSTR() that failed
thats why i thought, hugh? the end of the html code is ther, but in the middle is something missing (that was on the end of the log PSTR())
Me No Dev
@me-no-dev
are te other parts also PSTR?
Clemens Kirchgatterer
@everslick
so my guess was PSTR() can only be such long
not all some are from ram
Me No Dev
@me-no-dev
any PSTR that did output?
Clemens Kirchgatterer
@everslick
const char *foo = "bar";
it was only one PSTR that was cut. the long one
Me No Dev
@me-no-dev
gimme a sec to look through the code
Clemens Kirchgatterer
@everslick
i guess my firmware is a tough test case.... g
Me No Dev
@me-no-dev
:D
yeah... code looks good
Clemens Kirchgatterer
@everslick
yeah, don't waste your time. next time i see that, i will check it out
this is what get's executed
when you are moving to async, read the server readme ;) has examples for many cases, including large flash strings
we have tested it with over 40K
Clemens Kirchgatterer
@everslick
mayby my flash is borked and there is a byte stuck at '\0' hehehe
Me No Dev
@me-no-dev
you can check the return of html.concat(PSTR)
if true for the large string then it sees it as 0 length
Clemens Kirchgatterer
@everslick
yeah, i've studied the readme, very usful APIs there
no it was not 0, because most of the string was there, just the end of the string was missing
Me No Dev
@me-no-dev
maybe borked then for real
why not output to serial first to check it out?
Clemens Kirchgatterer
@everslick
because that code is now gone (never made it to git) :-P
Me No Dev
@me-no-dev
just on your ESP?
if you have nothing better to do and want to find out wether it's a bug, you can dump the flash and look for the string
Clemens Kirchgatterer
@everslick
i will wait, until it comes back. or i will a do minimal testcase for that anytime later.
but not today, it's 11pm here! :-) i'm off!
CU, and thx for the merge today!
Me No Dev
@me-no-dev
you are not far from me
germany?
Clemens Kirchgatterer
@everslick
austria
Me No Dev
@me-no-dev
nice
Clemens Kirchgatterer
@everslick
summer sucks currently! ;-)
Me No Dev
@me-no-dev
the best looking flight attendants ever
get on a plane :D
Clemens Kirchgatterer
@everslick
hehe. indeed, i had one in my study group (a former stewardess)
top notch!
so, anyway, i have to go
cu
Me No Dev
@me-no-dev
have fun :)
Germán Martín
@gmag11
@sticilface I've done MD5 calculation an checking on web page during upload in my FSBrowser GitHub repository. Have a look and ask any question you need.
sticilface
@sticilface
Will take a look. Is that md5 for uploaded files/spiffs files?
Germán Martín
@gmag11
For uploaded scketch for OTA, but you could use it for hash every file you upload.
sticilface
@sticilface
Ah ok. I've got all that sorted. I'm trying to hash the actual sketch. The running one.
Well I've done it. And it works.
That way u can compare an incoming binary to the running one without having to specify versions and defines, and commit hashes and all sorts that gets complicated.
sticilface
@sticilface
I just need to verify and change on thing. And check this sketch size issue. As the sketch size needs to return the same size as the binary on the computer. Not the aligned one. As the hash function needs this same size.