Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:37
  • 14:32
    caverna synchronize #3732
  • 14:24
  • 14:14
    caverna synchronize #3732
  • 14:08
    caverna synchronize #3732
  • 13:31
    d-a-v assigned #6530
  • 13:31
    d-a-v labeled #6530
  • 13:31
    d-a-v labeled #6530
  • 13:30
    d-a-v edited #6530
  • 13:30
    d-a-v opened #6530
  • 11:18
  • 11:02
    caverna synchronize #3732
  • 04:06
    devyte labeled #6434
  • 04:06
    devyte labeled #6434
  • 04:06
    devyte milestoned #6434
  • 04:05
    devyte closed #6434
  • 04:03
    devyte closed #6464
  • 04:03

    devyte on master

    Fix WiFiClientSecure::available… (compare)

  • 04:03
    devyte closed #6449
  • 03:51
    mhightower83 opened #6529
Rohit Yermalkar
@romuye123
this will store the ssid and password to flash
how to reset or delete ssid and password ?
Martin Ayotte
@martinayotte
@me-no-dev , @igrr , remember my sketch for NYTimes ? replacing the tcpclient.write(content) by spiffs.write(content), I now see some Soft WTD :-( Doing only spiffs.write(String("chunksize=") + chunksize) instead of real content and it works until complete NYTimes download
Me No Dev
@me-no-dev
@martinayotte how big is the chunk size?
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)