you are changing the frequency, so unless the clients know that it will be switched (and they don't) they will get dosconnected
This is a very good point. just from experience when my home router changes channel it seems to be a lot smoother. I was thinking there might be something in the wifi protocol that can advertise a channel change before it happens....
The protocol does allow for this, and it is implemented in the sdk, but there seems to be a bug. It was found recently by one of the nodemcu firmware developers, and a ticket was opened for expressif, but there has been no reply afaik.
The bug to espressif is linked there. The issue has to do with an extra beacon after the softap does CSA.
cheers, this does appear to make sense.
would defo help some of my software if the ESP could change AP channel without a full deauth and disconnect!
hi @me-no-dev are you around?
Hello .. I added a way to use Digest Authentication in Webserver in this pull request esp8266/Arduino#3053
check it out :D
I originally requested the change about two months ago esp8266/Arduino#2898 but I don't know why no one accepted it so I closed it and opened a new one for someone to notice :smiley:
Hi, just want to integrate this switch with light. But I am not sure how to connect to 230V. I can measure out the two pins, that are the NO-contact, but the third one?...
Has anybody a hint for me? Do not want to make any experiments with 230V without having more infos
@brutzler how does this question pertain to Esp8266/Arduino?
sorry to bother you... forget it....
Hi, I was happily coding along on my esp8266 and suddenly I start getting exceptions with a stackdump.. I load up the WiFiScan example - still stackdump.. add some printouts and it seems to dump when calling WiFi.disconnect(); in setup().. how do I proceed to solve this?
I'm using Arduino 1.6.8 and the 2.3.0 stable release of the esp8266 core
(for example reading from a i2c temperature sensor)
And the wifiscan example was running just fine a while ago..
If I comment out WiFi.disconnect(); it works..
Can't find any issues on github that talks about this..
@larsenglund Try putting a sketch together that "resets" all the wifi settings to some norm. Then go back to your sketch. When I playing around with some settings with switching from AP to Station, I set something wrong and no matter what I did it wouldn't work and I would get crashes. I then set/cleared a bunch of the settings to a simple station and the problem went away. Just something to try.
@larsenglund I see a std::throw_bad_function_call()
i guess the disconnect() triggers the callback, but you already deleted the object containing the std::function ? something like that.
Hi , I'm using ESP-WROOM-2 because nodemcu is not certificated CE and FCC , while wroom yes full compliant . About our library I not found chip configuration and board , pin etc , someone can help me ? Many Thanks
ESP WROOM 2 come from ESP8266EX and has ESP-WROOM-02 currently integrates a 2-MB SPI flash , therefore , I note be sure which chip select , for pin compatibility and memory , modality of spi must be 1mb and not 4mb ?
Hi just a quick question can i use this core library for sotware serial communication? cause i have ESP 01 and arduino mega i need lots of pins for the project
@ongvanor Yes, just connect HW serial RX/TX directly to your Arduino Mega and use Serial object like on Arduino.
Thanks for the reply Martin :)
I'll try to implement what you suggested :)
using RX2/TX2 of Mega will do? or i have to directly connect it to the RX /TX of the Mega?
@ifree92 Igor Google Virtronics they do an Arduino simulator that may do what you want. Also have a look at Visual Micro that runs under the free Visual Studio Edition or Atmel Studio. VM enables code development and code debugging. I do not know of am emulator as such because Arduino clones are so cheap you can debug on the target board. I hope that helps
@ongvanor You can use any of the serial ports on the Mega, I currently have set up using Rx3 / Tx3. On an Arduino UNO you can also use software serial to output message without getting the boot up crap or if you need a different baud rate. I always try and link the ESP8266 device that is running ESP-Link to the UNO / MEGA using hardware serial ports if possible.
thanks for the input @bobcroft, one question the target board in uploading my code should be in the mega right? not to my ESP-01 module? correct me if im wrong
@ongvanor Yes the MEGA is the target board but you have to install the ESP-Link binaries onto the ESP8266 board you are using. It is best to use one of the ESP8266-boards with 4 M of memory if you want to get into OTA.
unfortunately im using the ESP-01 with 1M of memory
@ongvanor You can resolder ESP-01 with 4MB flash memory. I did it for my.