These are chat archives for esp8266/Arduino

25th
May 2017
Ivan Grokhotkov
@igrr
May 25 2017 02:34
which version @sticilface ?
if this is 2.4.0-rc1, then the issue is likely esp8266/Arduino#3273
fixed in git already
Steve Nelson
@zenmanenergy
May 25 2017 02:40
@igrr is there a way to get the currently connected ssid in the WiFi library? i'm scanning the source right, now, but thought you might know offhand
Steve Nelson
@zenmanenergy
May 25 2017 02:44
perfecto. thanks
nor-easter
@nor-easter
May 25 2017 03:13
hi folks. I'm using ESP as SPI slave. I've been able to turn up the clock frequency on the master to 1MHZ with no communication issues, but for some reason anything higher is completely ignored by ESP. Anyone aware of any limitations of ESP in this regard?
My other devices on the bus are able to talk fine up to 8 MHz
Pol Peerboom
@Lolimpol_twitter
May 25 2017 16:37
Hey guys, is a prototype spark core seen as an ESP here?
sticilface
@sticilface
May 25 2017 18:32
@igrr I'm using latest git, which is what makes me a bit confused... as even rolling back all the changes to timeouts and stuff still does not fit it. the file downloads instantly on my computer via curl. and infact adding the timeout does not fix it. I've enabled network debugging and having a look at what might be doing it.
sticilface
@sticilface
May 25 2017 20:01
I may have stumbled on the reason... looking at the wifi traffic there seems to be crazy amounts of UDP traffic, that stalls it, then the time out occurs... see full gist here: https://gist.github.com/sticilface/2e4c473222a8b10271cb99c0d4654636 , more specifically line 279 which is where the UDP traffic starts to come... This is all from the IDE. turn of the IDE (1.8.1) then all this UDP traffic stops and the update proceeds as normal. the HTTPupdateclient stops the UDP and TCP connections https://github.com/esp8266/Arduino/blob/4897e0006b5b0123a2fa31f67b14a3fff65ce561/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.cpp#L251 but from memory the OTAupdater rolls its own async TCP implementation that is not actually stopped. hence it is still listening... https://github.com/esp8266/Arduino/blob/4897e0006b5b0123a2fa31f67b14a3fff65ce561/libraries/ArduinoOTA/ArduinoOTA.h#L76
sticilface
@sticilface
May 25 2017 21:22
Interestingly... the all these entries are from different IP address. Should all the ESPs be picking up the UDP replies of the other ESPs on the network?
:urch 306, 306 ip[192.168.1.219:5353]
:urch 306, 296 ip[192.168.1.217:5353]
:urch 296, 246 ip[192.168.1.196:5353]
:urch 246, 246 ip[192.168.1.196:5353]
:urch 246, 264 ip[192.168.1.169:5353]
:urch 264, 261 ip[192.168.1.208:5353]
:urch 261, 291 ip[192.168.1.224:5353]
:urch 291, 291 ip[192.168.1.224:5353]
:urch 291, 296 ip[192.168.1.207:5353]
:urch 296, 291 ip[192.168.1.224:5353]
:urch 291, 291 ip[192.168.1.224:5353]
:urch 291, 316 ip[192.168.1.216:5353]
:urch 316, 231 ip[192.168.1.218:5353]
:urch 231, 286 ip[192.168.1.241:5353]
:urch 286, 306 ip[192.168.1.219:5353]
:urch 306, 264 ip[192.168.1.169:5353]
:urch 264, 291 ip[192.168.1.224:5353]
:urch 291, 261 ip[192.168.1.208:5353]
:urch 261, 291 ip[192.168.1.224:5353]
:urch 291, 261 ip[192.168.1.208:5353]
:urch 261, 264 ip[192.168.1.169:5353]
:urch 264, 316 ip[192.168.1.216:5353]
:urch 316, 231 ip[192.168.1.218:5353]
:urch 231, 264 ip[192.168.1.169:5353]
:urch 264, 286 ip[192.168.1.197:5353]
:urch 286, 286 ip[192.168.1.197:5353]
:urch 286, 261 ip[192.168.1.208:5353]
:urch 261, 316 ip[192.168.1.216:5353]
:urch 316, 286 ip[192.168.1.241:5353]
:urch 286, 296 ip[192.168.1.207:5353]
:urch 296, 286 ip[192.168.1.241:5353]
:urch 286, 231 ip[192.168.1.218:5353]
:urch 231, 286 ip[192.168.1.241:5353]
:urch 286, 286 ip[192.168.1.241:5353]
:urch 286, 231 ip[192.168.1.218:5353]
:urch 231, 296 ip[192.168.1.207:5353]
:urch 296, 286 ip[192.168.1.197:5353]
:urch 286, 296 ip[192.168.1.207:5353]
:urch 296, 286 ip[192.168.1.241:5353]
:urch 286, 286 ip[192.168.1.241:5353]
:urch 286, 291 ip[192.168.1.224:5353]
:urch 291, 296 ip[192.168.1.217:5353]
:urch 296, 231 ip[192.168.1.218:5353]
:urch 231, 296 ip[192.168.1.217:5353]
:urch 296, 306 ip[192.168.1.219:5353]
:urch 306, 286 ip[192.168.1.197:5353]
:urch 286, 286 ip[192.168.1.197:5353]
:urch 286, 246 ip[192.168.1.196:5353]
:urch 246, 246 ip[192.168.1.196:5353]
:urch 246, 246 ip[192.168.1.196:5353]
:urch 246, 286 ip[192.168.1.241:5353]
:urch 286, 316 ip[192.168.1.216:5353]
:urch 316, 306 ip[192.168.1.219:5353]
:urch 306, 306 ip[192.168.1.219:5353]
:urch 306, 306 ip[192.168.1.219:5353]
:urch 306, 54 ip[192.168.1.234:5353]
sticilface
@sticilface
May 25 2017 22:15
ok sorry for the spam.. i'll open an issue