by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Cristóvão Trevisan
@cristovao-trevisan
I'm using 2.3.0, btw
rodrigocirilo
@rodrigocirilo
It is possible to put my esp (which is client and connects on a local server IP (192.168.1.200) to connect in a ddns over the internet?
Currently the program is made server "192.168.1.200" it already connects
Develo
@devyte
Look at the easyddns examples
rodrigocirilo
@rodrigocirilo
Thank you, but ... I need the opposite.
in this example easyddns the esp will be found through the right ddns address!
I need esp to find the server that is running a ddns address.
Develo
@devyte
Isn't that just a normal dns lookup? Hostbyname or something, if mem serves
Clemens Kirchgatterer
@everslick
dynamic dns is just DNS from the hostname lookup POV. but don't confuse wit mDNS, which is a different thing.
rodrigocirilo
@rodrigocirilo
see my esp is a client that connects to a c # application that is the server, the site that is the server is a fixed IP so my search for this IP. has worked. it happens that the ip will not be fixed anymore it will be dynamic and for my esp the server will have to search for a ddns and what I want to know with the noble colleagues is which the command to use. currently it looks like this: Client.connect(server, Port)) the server is a IP,
I want to change this ip to my ddns example
Testddns.dyndns.com
would be Client.connect(testddns.dyndns.com, port)
riataman
@riataman
I'm seeing connections to an AP take about 300-500ms (with static ip) is there any way to make that faster?
I'm passing the channel an AP bssid, but that doesn't seem to make any difference at all
riataman
@riataman
hopefully there would be a way to avoid the rescan when connecting
Akash Ashok
@thehellmaker
Hi Guys, I wanted to write unit and integration testing for my software on esp8266. I couldn't find a lot of good frameworks for ESP8266 unit or any other type of test automation. Wanted to get an idea of standard ways of testing.
Akash Ashok
@thehellmaker
@enriquecml Thanks a lot enrique. Will take a look. I am looking to run tests on ESP8266 directly. So I am not looking to mock on the computer where the code compiles but more like I upload the code and run the tests there on the device. And on the device any dependencies I would like to be mocked
Mehrdad K
@mkeyno
thanks @martinayotte , yes I did , also I test with external pull down as well , but still most of keys not working
In other try I use interrupt to capture pin status but same result , would you please check it in this issue esp8266/Arduino#3723
xbary
@xbary
Hello
Is there a manual somewhere to add a new reset method for esptool.exe?
And do it so that it was to select resetmethod in arduino IDE.
ZaPpInG
@lrmoreno007
I have a question about the bootup message 'boot mode: (x, y)', where I can find information about 'y' ?. I remember it was somewhere but now I can not find it anywhere.
ZaPpInG
@lrmoreno007
Thanks @martinayotte 👍
huskyHacker
@huskyHacker
hi i want to Learn arduino code I have a Arduino micro
hello anybody
Develo
@devyte
@huskyHacker you're in the wrong place
pfabri
@pfabri
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?
Steve Nelson
@zenmanenergy
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.
Develo
@devyte
@zenmanenergy which wifi mode? Which core version?
Steve Nelson
@zenmanenergy
2.4 rc2 WiFi.mode(WIFI_AP_STA);
Develo
@devyte
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
Steve Nelson
@zenmanenergy
@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.
Mike Kranidis
@mikekgr
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?
Develo
@devyte
@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.
Martin Ayotte
@martinayotte
@mikekgr Check the file ~/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/core_esp8266_wiring_digital.c
Mike Kranidis
@mikekgr
@martinayotte Thanks a lot. I will check it.
Rinaldi Segecin
@rsegecin
Hi guys.
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
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