Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Rinaldi Segecin
@rsegecin
Does anyone knows if there's an AES library that supports CTR mode for Arduino ESP8266?
I don't want to be working with Initialization Vector and CTR mode would be the case
Rinaldi Segecin
@rsegecin
well at least when I'm to cipher in nodejs with "crypto" library I don't need to specify an IV when I use "aes-256-ctr"
Matej Sychra
@suculent
What's wrong with IV? It's just a number.
And it adds important bit of security.
Understanding AES is crucial to be able to debug it at all. And ESP8266 is pretty slow for this, that's explanation for lack of examples, IMHO.
Rinaldi Segecin
@rsegecin
@suculent with further reading I understood that I should be setting IV, thank you for emphasizing that
Rinaldi Segecin
@rsegecin
It's just that I thought this Node MCU library https://nodemcu.readthedocs.io/en/master/en/modules/crypto/ would be included in the Arduino ESP8266 sdk
brutzler
@brutzler
Hi, can anybody explain me, where is the different between WebClient and HTTPClient?
My aim: I have an ESP with a Webserver on it. With "192.168.2.77/data?temp=123" I can send the webserver some data from a browser. Now I want to do the same from another ESP. Just guessing and testing without success, what is the right way of these two Clients. Or are both wrong?
Martin Ayotte
@martinayotte
@brutzler , for me, WebClient and HTTPClient are synonymous ... if your WebServer is handling "192.168.2.77/data?temp=123" properly with a browser, then, maybe your Client is doing something wrong, such as not providing proper HTTP header
Rinaldi Segecin
@rsegecin
did anyone here has ever used spaniakos/AES on Arduino or ESP8266 and had the cipher output matched when generated with another environment like compiled with java or nodejs?
brutzler
@brutzler
@martinayotte , now using WiFiClient.
And you are right. I had some trouble with the proper header ;-)
Robert Hertenstein
@rhertenstein_twitter
Hi All
I am using the Arduino IDE, using MKR1000 and I am wondering if someone might be able to help me figure out how to upload SSL certs
I see in the documentation that I am suppose to go into the Firmware Updater, and I see where it says to upload SSL certs and add domains, however, it is never asking for a file location to upload from
from Tools --> WiFi101 Firmware/Certificate Updater
brutzler
@brutzler
@all: Hmmm...Imho this chat is not as frequently used as earlier times?
Everybody moved to arduino-esp32?
But is the ESP-32 already an alternative choice? Looks like there are still a lot of problems?
Thomas Cooper
@thomascoope
@rhertenstein_twitter you're in the wrong place - this is for ESP8266 boards. Might get more help on the Arduino forum @ arduino.cc
@brutzler just got a few to play with. Seems to answer my low power problems (on paper)
@brutzler there should still be a place for the 8266 for a while yet though due to $
Clemens Kirchgatterer
@everslick
Esp8266 still has some potential.
Develo
@devyte
About $4 difference between the esp and esp32=> major difference when you need to buy or sell a large number.
brutzler
@brutzler
For me is more important, that its working without problems. I have enough work with my way of programming ;-)
There its of no good idea for me to change to another (perhaps more powerful ┬ÁController) where I have to expect that some stuff is not working because of new development.
My highest respect to all workers at this project, but I think its better for me to wait some time for stable stuff.
Thomas Cooper
@thomascoope
@brutzler I'm just going to start developing for the 32 chip as I need deep sleep features that you can't run on the 8266. I'll be solely in the Arduino environment so I'll report back to you on any issues I encounter in a month or so.
brutzler
@brutzler
@thomascoope :+1: OK thx
Stavros Korokithakis
@skorokithakis
has anyone tried Nim for developing on the ESP?
Douglas Pearless
@DouglasPearless
has anyone tried to convert a "standard" Arduino sketch to use the me-no-dev/ESPAsyncTCP libraries?
for example me-no-dev/ESPAsyncTCP#67
Me No Dev
@me-no-dev
I have :D
Douglas Pearless
@DouglasPearless
Ah Ha, I figured you of all possible people might have :-)
I like the look of the library and have been scratching my head after reading as many examples as I could find; would you have an example you could share?
Me No Dev
@me-no-dev
what do you want to achieve?
Douglas Pearless
@DouglasPearless
I want to convert my sketch to use your async buffering library to solve a problem where the block TCP libraries that come with ESP8266/Arduino are causing me to lose characters; this is to add a telnet WiFi connection to Smoothie and other 3D printers / lasercutters
(I have spend a lot of hours tracing the problem down to the TCP end of the equation)
brutzler
@brutzler
let me hook up:
what is the advantage of a async-TCP-connection?
Me No Dev
@me-no-dev
why buffering?
@brutzler it does not hold the loop
@DouglasPearless there is an example for Async telnet in github
i think...
if you are going to push the telnet to the serial, you do not need to buffer
Douglas Pearless
@DouglasPearless
I have LaserWeb send data to the Smoothie via a telnet connection via an ESP8266; the replies lose characters etc. By logging to Serial1 I can see the data flowing to the Smoothie UART and back to the ESP8266 but sometimes not all the characters get back over WiFi to LaswerWeb
I did not see an Async telnet example, I will check again, just a moment
Me No Dev
@me-no-dev
not there... let me look
Douglas Pearless
@DouglasPearless
ok, thanks
here is an old example you can look at
Douglas Pearless
@DouglasPearless
cool
Is that a complete sketch as I get "'AsyncClient' has not been declared"