Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Thomas Cooper
@thomascoope
@cristovao-trevisan just about to flip my http code into HTTPS. Is it a lot different?
Thomas Cooper
@thomascoope
@Sleepy105 I'm not sure on GPIO without looking. My experience with the Adafruit feather has been pretty straightforward & seemless. It's perhaps worth getting another board as they cost nothing. Have you tried another pc too? Not sure stable the Linux environment is & whether there are any complications there ?
Rinaldi Segecin
@rsegecin
@thomascoope It might not sound related but I'm trying to do the same thing on a .net API and I found out that instead implementing https directly on my service I should use a reverse proxy or a tls gateway so I can have multiple services talking over https. Depending on the setup that you've got if you have to use a self signed CA I don't see much point on implementing https.
Cristóvão Trevisan
@cristovao-trevisan
@thomascoope It's pretty easy, just give the SHA1 fingerprint to the begin function (ESP8266HTTPClient). Look at ESP8266HTTPClient.h for more details. If you're using a raw tcp conn (like I am) use the WiFiClientSecure class instead of WiFiClient (and the verify function to check the SHA1 fingerprint)
Cristóvão Trevisan
@cristovao-trevisan
@rsegecin There is no difference of using a self signed certificate or a CA signed one for the ESP8266. You'll give the fingerprint as a hardcoded string anyway. The point is that the connection will be encrypted.
Rinaldi Segecin
@rsegecin
@cristovao-trevisan you're right
Rinaldi Segecin
@rsegecin
@cristovao-trevisan I don't know why I said "I didn't see much point ..." sorry
Thomas Cooper
@thomascoope
@rsegecin sounds a bit complicated! Our product is entering commercial use & so needs to be https. Presumably the data is still readable in transit with a reverse proxy
Stavros Korokithakis
@skorokithakis
Does anyone know what the status of ESP32 support is in this library? I just got mine
Costyn van Dongen
@costyn
@skorokithakis There is a separate Arduino core for ESP32: https://github.com/espressif/arduino-esp32
Me No Dev
@me-no-dev
@skorokithakis and separate gitter chat
Costyn van Dongen
@costyn
Stavros Korokithakis
@skorokithakis
Ah, thank you! Is it mature?
Me No Dev
@me-no-dev
depends how you define mature :D:D:D
Stavros Korokithakis
@skorokithakis
Hm, true 😛
Clemens Kirchgatterer
@everslick
@skorokithakis from personal experience, i'd say - no. :-D but it is already quite work and usable. many libraries are still missing in the official repos (webserver, websocket, ticker, SPIFFS, ping,...) but some of them are available someplace else. for me it is less stable then esp8266 also (for example the STA sometimes refuses to connect to the AP, the SoftAP does not hand out IP addresses when configured with a different IP then the default, sometimes the main loop just stops executing and no WD kicks in,...). but it is constantly improving and the devs do a great job!
Stavros Korokithakis
@skorokithakis
@everslick that's what I wanted to know, thanks!
rodrigocirilo
@rodrigocirilo
Hello all, a question, I'm using the (virtual) EEPROM of esp8266, with the:
EEPROM.begin (size)
command. Ok, and what is the maximum size I can use? I usually see examples using 512, but what would be the limit?
Clemens Kirchgatterer
@everslick
4096
rodrigocirilo
@rodrigocirilo

@everslick
OK thank you.

But using the other system sppifs (I have not yet used this method) would I have more bytes to use?

Clemens Kirchgatterer
@everslick
yeah, much more
rodrigocirilo
@rodrigocirilo
@everslick
Is it too complicated to use sppifs or is it equal to eeprom?
Clemens Kirchgatterer
@everslick
@rodrigocirilo completely unrelated. SPIFFS is a filesystem, where you have the usual FILE operation API (open, read,write,close,...)
have a look at the examples.
Thomas Cooper
@thomascoope
I'm having issues obtaining the fingerprint a la https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/client-secure-examples.html . I'm in Chrome in OS X. I'm visiting https://api.github.com, then opening the inspector > Security > View Certificate (on overview) then expanding down to the last line & copying SHA-1 of *.github.com. When I connect, I get the "certificate doesn't match" error as per the code in the tutorial. Am I copying the wrong thing?
enriquecml
@enriquecml
@Sleepy105 can you try put generic module esp8226 in arduino ide and put reset method nodemcu
@Sleepy105 gpio 0 should low
enriquecml
@enriquecml
@Sleepy105 I give you 4 links , if you want try again:
GPI0 It is D3
Stavros Korokithakis
@skorokithakis
hey everyone
i would like to get this library working with the ESP: https://github.com/zendes/SBUS/blob/master/SBUS.cpp
when you instantiate it, you pass it Serial
it uses .available, .read, and .begin
i should be able to pass it a softserial instance as well, right?
Stavros Korokithakis
@skorokithakis
what's the most popular/best softserial library right now?
Stavros Korokithakis
@skorokithakis
hmm, i'm trying to pass the SoftSerial instance and i'm getting this error:
lib/SBUS/SBUS.h:14:23: error: expected ')' before 'serial'
SBUS(SoftwareSerial serial) : _serial (serial) {}
Stavros Korokithakis
@skorokithakis
this is too complicated... maybe i can just connect an arduino to the esp
Stavros Korokithakis
@skorokithakis
does the ESP have a second serial RX?
Stavros Korokithakis
@skorokithakis
can i use an nmos instead of the transistor here? https://raw.githubusercontent.com/zendes/SBUS/master/SBUS_inverter.jpeg
damnit
Stavros Korokithakis
@skorokithakis
yay, it works (sometimes)
nmenoni
@nmenoni
Hi! I need to add wired connectivity to my esp8266. What are the options?
I have a ENC28J60, Can this be used?
Thanks!
nmenoni
@nmenoni
any suggestion?
Clemens Kirchgatterer
@everslick
I2C, ISP, RS232 ?
the ENC28J60 has an SPI interface, so for sure it can