Hi all! I'm trying to install the RC1 staging version of esp8266/Arduino in PlatformIO. Could anyone please point me in the right direction?
Has anyone had the problem with WiFi.softap() where it partially connects? It is firing the WiFi.onSoftAPModeStationConnected() event, but doesn't seem to give my laptop a local ip address.
@zenmanenergy which wifi mode? Which core version?
2.4 rc2 WiFi.mode(WIFI_AP_STA);
In that case the sta side will be attempting to connect to some your router on the router's channel. Meanwhile, the ap side may be serving on a different channel. While the sta is trying to connect, the ap gets dragged along, because there is only a single radio shared between the two. Your client connected to the ap will see the ap drop out because of the channel swapping. In that case, if the ap dhcp server is sending the reply during the channel swapping, the client may never receive itm
Figure out the router's channel, set the ap to the same channel, check if the dhcp works then
Also, implement a timeout for the sta's attempts to connect
I.e.: after 10 failed attempts, disconnect and stop trying
@devyte do you think just switching it to either ap mode or sta mode by itself will resolve it?
I guess i don't really need it to be both. I was just doing that to enter the settings.
hello there! Is there any good how to, in order to get direct port bit access/manipulation in the ESP8266, in the sense that Atmega does?
@zenmanenergy I suggest testing ap-only, and see if the dhcp works correctly. The wifimanager does one or the other: it tries sta, if that fails it stops trying and brings up the ap. Me, I'm doing stationap mode with the ap on the same channel as the router that the sta tries to connect to.
@mikekgr Check the file ~/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/core_esp8266_wiring_digital.c
@martinayotte Thanks a lot. I will check it.
I looking for AES encryption library for Arduino ESP8266 and came across plenty
it appears it's not included already in the SDK so I'd need to use one of them
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
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"
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.
@suculent with further reading I understood that I should be setting IV, thank you for emphasizing that
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?
@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
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?
@martinayotte , now using WiFiClient. And you are right. I had some trouble with the proper header ;-)
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
@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?
@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 $
Esp8266 still has some potential.
About $4 difference between the esp and esp32=> major difference when you need to buy or sell a large number.
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.
@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.
@thomascoope :+1: OK thx
has anyone tried Nim for developing on the ESP?
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
I have :D
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?