Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 18:02
  • 12:18
    dsyleixa edited #6661
  • 12:17
    dsyleixa edited #6661
  • 12:17
    dsyleixa edited #6661
  • 12:16
    dsyleixa edited #6661
  • 12:15
    dsyleixa edited #6661
  • 12:11
    dsyleixa edited #6659
  • 12:11
    dsyleixa edited #6659
  • 12:09
    dsyleixa edited #6659
  • 12:06
    dsyleixa edited #6661
  • 12:05
    dsyleixa edited #6661
  • 11:56
    dsyleixa edited #6661
  • 11:55
    dsyleixa opened #6661
  • 11:46
  • 11:38
    dsyleixa edited #6659
  • 11:35
    dsyleixa edited #6659
  • 11:35
    dsyleixa edited #6659
  • 11:15
    johnm545 opened #6660
  • 11:02
    dsyleixa opened #6659
Martin Ayotte
@martinayotte
@me-no-dev , 1460 bytes.
I've also tried with 1024
Martin Ayotte
@martinayotte
Martin Ayotte
@martinayotte
Oh ! Something I didn't check : the issue is when used within my bigger Sketch-Buffet, but no with the stripped down version on Gist. So, maybe I'm facing some memory issue ... :-(
Euuh ! not true, I got it with the stripped down version, but it is more intermittent : https://gist.github.com/martinayotte/965452b92299eb2ff681c5a65736bdc9
Martin Ayotte
@martinayotte
Ouch ! after mergin with latest github, probably unrelated, I got one crash with this time different stacktrace but related to umm_malloc too : https://gist.github.com/martinayotte/2d3d9a1517b34f5ece9ea335539e6524
Martin Ayotte
@martinayotte
... and SPIFFS write doesn't seem to write NYTimes content at all now, only some nulls characters ... I should have done backup, but I didn't ... :-(
Martin Ayotte
@martinayotte
maybe not exact ... too much headaches ! I will go take a walk to refresh myself ...
Germán Martín
@gmag11
Hi, I'm developing a Firmata client for ESP. I'd like to do stream.available() checking inside class by using a ticker. But I do not know how to assign a member function as callback of ticket. Could you give me some indications?
Me No Dev
@me-no-dev
@martinayotte I know those moments :) nothing a good night sleep can't put in order
Clemens Kirchgatterer
@everslick
so, the migration to async webserver is done, but the OTA update stack-dumps on me. :-(
clemens@secrets:~/Devel/ESP8266/genesys$ make stack
0x402010cf: __wrap_realloc at ??:?
0x40104c5c: lmacTxFrame at ??:?
0x4020ffcc: yield at ??:?
0x4020f76d: UpdaterClass::_writeBuffer() at ??:?
0x4020f81f: UpdaterClass::write(unsigned char*, unsigned int) at ??:?
0x402102da: String::String(char const*) at ??:?
0x4020de24: handle_update_progress_cb(AsyncWebServerRequest*, String, unsigned int, unsigned char*, unsigned int, bool) at http.cpp:?
This message was deleted
UpdaterClass::_writeBuffer() calls yield(). Isn't that forbidden in AsyncTCP ?
You can not use yield or delay or any function that uses them inside the callbacks
@me-no-dev looks pretty dim. :-(
Me No Dev
@me-no-dev
yes, let me look at the updater
I know some folks got it to run async
can you try commenting out the yield calls in write and _writeBuffer
Me No Dev
@me-no-dev
if that works, I'll PR a writeAsync method to the Updater
Clemens Kirchgatterer
@everslick
ok, i test it
it uploads the file, then reboots, but does not start anymore
Me No Dev
@me-no-dev
that should not be connected
Clemens Kirchgatterer
@everslick
either the update is not finished correctly (but on my side) or the update does not work correctly anymore
Me No Dev
@me-no-dev
if the updater said it's good, then it should by all means work
debug enabled on Updater?
Clemens Kirchgatterer
@everslick
no not anabled
trying that
skrew that, it worked, it just booted into bootloader
Me No Dev
@me-no-dev
btw, you did restart manually after Serial upload right?
Clemens Kirchgatterer
@everslick
hehe, exactly
everything is fine
i tried 5 times now, and it worked every single time
Me No Dev
@me-no-dev
it was expected :)
Clemens Kirchgatterer
@everslick
the progress log (in my code) is borked, but this will be easily fixable.
reloading different pages is now faster and more stable, i'm quite happy
Me No Dev
@me-no-dev
btw I do not know if you know, but there is an Async MQTT imlementation now based on AsyncTCP
Clemens Kirchgatterer
@everslick
no, i didn't
Me No Dev
@me-no-dev
the drawback is not supporting HTTPS yet
Clemens Kirchgatterer
@everslick
TLS
i guess
Me No Dev
@me-no-dev
but it has been tested with millions of messages to no fail
yes
Clemens Kirchgatterer
@everslick
sounds great
Clemens Kirchgatterer
@everslick
i will need TLS though, (even though i don't have it now)
is TLS planned?
click
Me No Dev
@me-no-dev
yes, as soon as I find implementable
axtls does not work with async