These are chat archives for esp8266/Arduino

6th
May 2016
Stavros Korokithakis
@skorokithakis
May 06 2016 00:45
hey guys, is there a way for me to add multiple wifi networks to the ESP? flashing it every time is becoming a huge pain
aw, it looks like my pcb is incompatible with the amica nodemcu and i'm grouding the "SD0" pin on it... does anyone know what that pin is?
Stavros Korokithakis
@skorokithakis
May 06 2016 01:52
i'm looking at the wifimulti example here (https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiMulti/WiFiMulti.ino) but i'm not sure how i can make it work with the mqtt library, which requires a WiFiClient instance. does anyone know if i can just pass the wifimulti instance in?
Ivan Grokhotkov
@igrr
May 06 2016 02:12
WiFiMulti is not a replacement for WiFiClient
WiFiMulti is a thing which manages connections to several wireless networks
WiFiClient is a TCP client socket
So you can use WiFiMulti to handle multiple SSIDs and then use WiFiClient to do the actual connection
Martin Ayotte
@martinayotte
May 06 2016 02:18
@igrr , I'm doing here quite an ambassador job, but since I didn't follow all details, is the UDP Multicast sporadic crashes are only related to get newer SDKs into Next Release ? (from one of several threads : http://www.esp8266.com/viewtopic.php?f=8&p=46955#p46955 )
Ivan Grokhotkov
@igrr
May 06 2016 02:25
That seems to be related to a bug in lwip. Yes, the plan is to have it fixed in 2.3.0
Martin Ayotte
@martinayotte
May 06 2016 02:42
Nice ! :-) ... Thanks ! You will do some happy users, although I'm not personally affected ...
praween-chao
@praween-chao
May 06 2016 11:08
Who have the best tutorial mqtt, please share to me, I 'm newbie.
Ivan Grokhotkov
@igrr
May 06 2016 12:15
@martinayotte I've pushed the changes that are supposed to fix this. I'll do more tests myself, and if I find no new issues then I'll make a new staging release available.
Martin Ayotte
@martinayotte
May 06 2016 14:13
@igrr , you're a champion !
gonsays
@gonsays
May 06 2016 22:27
Hey guys, I'm trying to use the WebUpdater.ino example on ESP-01 and I'm getting this error http://imgur.com/AoGGTdC
I'm using Flash Size 512K (no SPIFFS)
I've tried the usual 512K (64K SPIFFS)
"Flash real size: 1048576"
idk if the error is regarding the file dimension
"system param error
gonsays
@gonsays
May 06 2016 22:44
nervmind guys, I should have been using "Flash Size: 1M (64K SPIIFS)"