Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Steve Nelson
@zenmanenergy
how about just downloading and storing a png into spiffs? i didnt see that in the list of examples.
Markus
@Links2004
you can set the spiffs file stream as destination for http client an it will download.
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266HTTPClient/examples/StreamHttpClient/StreamHttpClient.ino
I plan to write a class for this but not started yet.
and SPIFFS as src for webserver a example is existing.
Martin Ayotte
@martinayotte
Isn't the FSBrowser example almost what you need ?
Steve Nelson
@zenmanenergy
yes, I think those two will do it.thanks
Stavros Korokithakis
@skorokithakis
hello
i got a few bare ESPs, does anyone know (or have a schematic) of how i need to wire them so i can flash/boot them?
they're 12-E
Endre Karlson
@ekarlso
@igrr any progress on TLS ?
Martin Ayotte
@martinayotte
@skorokithakis, there is plenty of docs/posts on the forum about how to connect ESP-12E, there is also Kolban'd book.
Sven Eliasson
@comino
@igrr Are there somewhere some more words about the WiFiSecure client? Does it use AES? I would try to contribute here if possible
Markus
@Links2004
WiFiSecure client us axtls,
can be found here: https://github.com/igrr/axtls-8266
currently using SSL_AES128_SHA and SSL_AES256_SHA
Sven Eliasson
@comino
oh amazing
thx
Sven Eliasson
@comino
Want to implement client authentification with priv key on esp side.
With ssl_obj_load(_ssl, SSL_OBJ_RSA_KEY, KEY) I can load a RSA priv key and ssl_x509_create( .. ) . Not too familiar with the internal process of axtls, but I assume that should do the job, right?
Stavros Korokithakis
@skorokithakis
@Links2004, thanks
@martinayotte, kolban's book has ESPs with the mounting board, which AFAICT has three resistors on it already
Sven Eliasson
@comino
-_- deammm.. I didnt see that
Stavros Korokithakis
@skorokithakis
by the way, is there any information about the arduino way of putting the ESP in a deep sleep properly?
Markus
@Links2004
ESP.deepsleep(time) ?
Stavros Korokithakis
@skorokithakis
is it that easy?
wow
Markus
@Links2004
and connect GPIO16 to RST or CH_PD
Stavros Korokithakis
@skorokithakis
thanks
Chris Elsworth
@celsworth
would appreciate any thoughts on #1211, been butting my head against it for 2 days :/
Stavros Korokithakis
@skorokithakis
@celsworth, if you don't seem a wdt message, wouldn't that mean that serial has crashed?
Chris Elsworth
@celsworth
or its just locked up so hard it didn't get time to print one, I dunno
I'm struggling to get any useful info out of it after the crash, maybe gdb will help
it does reboot and then continue
and serial then resumes working, etc
Markus
@Links2004
@celsworth you overload the tcp when you send messages byte by byte, many overhead here.
Chris Elsworth
@celsworth
ok, I'll fix that and see if it goes away
buffer say 32 bytes then send that? the problem is its a serial bridge so it needs to be quick, maybe if I send every 50ms
Markus
@Links2004
group as many as possible for your needs.
this shut help
Chris Elsworth
@celsworth
okay I set it buffering 500 bytes or 50ms, whichever comes first, and set it going again, its working so far :) ifit doesn't break in 10 minutes then I'll close the issue as that was obivously it :)
thanks @Links2004, legend :)
spoke too soon :(
updated the code in the issue
the SoftwareSerial lib only has a single char read so I have to buffer it myself but the end result is the same
Markus
@Links2004
you code looking good, does the same happen when you us "Serial" instead of the sw Serail?
Chris Elsworth
@celsworth
no, I think its some sort of interaction between the interrupts that SoftwareSerial uses, and espconn_sent() in the sdk
Markus
@Links2004
how many data do you send at 9600 to the ESP?
Chris Elsworth
@celsworth
about 200 bytes every 5 seconds - not a lot
Markus
@Links2004
each char will block all interrupts for 1ms at 9600.
around 200ms blocking all interrupts can be very problematic.
Chris Elsworth
@celsworth
well, the interrupts should get turned on between each char, but I see your point