@everslick Thanks! Some clue to which alternative would be the most stable? I have read that the ECN28J60 is not very stable for arduinos, but I do not know if it applies for ESP8266 since it has more RAM
Stavros Korokithakis
@skorokithakis
hey, @Makuna, about your neopixel library, will I mess stuff up if I Serial.println() while I use the lib, since it's connected to RX?
i guess not, since it's RX, but maybe i shouldn't connect to the serial interface
bobcroft
@bobcroft
@nmenoni Hi look up Luca Dentella's blog he has done some work with the ESP and the ENC28J60 and made notes on his blog.
Michael Miller
@Makuna
@skorokithakis There is note in the Wiki about this. The serial must be "begin" before the NeoPixelBus, so that the use of the RX pin is used for NeoPixels; so you can print, but you can't recieve
@skorokithakis And, I do have my own gitter channel ;-)
Stavros Korokithakis
@skorokithakis
@Makuna ah, I looked for quite some time but didn't find info either about the pin or the serial, you might want to add a link to the "get started" section
And I keep forgetting about your channel 😛
_
Michael Miller
@Makuna
@skorokithakis Read this section. Getting started would be a nice addition to the Wiki; but really only the Esp8266 platform has so many "nuances" to using it.
Stavros Korokithakis
@skorokithakis
@Makuna ah, that's what I needed, thanks. Yeah, currently that section is a bit hard to discover, though 🙁
Stavros Korokithakis
@skorokithakis
can someone point me to the docs for the servo lib? I found makuna's commit, but no docs that i can see so far...
or is the ABI the same as the official arduino?
hmm, it might be
Stavros Korokithakis
@skorokithakis
it is indeed!
Michael Miller
@Makuna
Yes it is ;-)
Bryce Schober
@bryceschober
anyone have an idea how I would implement an iperf3 client?
I'm really only interested in UDP. I've looked at the iperf3 udp_send(), which is really simple. I'm doing that, but failing to get my iperf3 server interested.
nmenoni
@nmenoni
Hi! What is the recommended way to switch off the AP mode when I only need STA mode? (I use de board as station but I see the ESP ssid published). Thanks!
Martin Ayotte
@martinayotte
WiFi.mode(WIFI_STA); instead of WiFi.mode(WIFI_AP_STA);
nmenoni
@nmenoni
@martinayotte Perfect! Thanks
Stavros Korokithakis
@skorokithakis
does anyone know of a library that will let me easily call a function after some specified amount of time?
i.e. a one-shot timer that calls an already-defined function
Cristóvão Trevisan
@cristovao-trevisan
Ticker is already built-in, or ticker scheduler if the called function is time consuming (this is as stated in the docs, I've been using both in my project)
Bob Thomas
@Bob-Thomas
good morning
Stavros Korokithakis
@skorokithakis
@cristovao-trevisan ah, didn't know about that, thanks
rodrigocirilo
@rodrigocirilo
@everslick
@everslick OK thank you
Bryce Schober
@bryceschober
Anyone have an idea how much UDP bandwith I should be able to broadcast from an ESP8266 as an AP with reasonably low packet loss to a PC? I seem to be approaching an upper limit at around 60 kbytes/second with a packet loss rate of 50%. But I get significant packet loss (~10%) already at 20 kbytes/second. I expected better throughput than that, at least 1 megabit/100kbytes per second without huge packet drop rates. I'm using large packets to help bandwidth, and transmitting at regular intervals, not in bursts. Is there anything else I can do to help it out?
I was going to try implementing an iperf3 client for ESP8266 to make a more standardized test, but apparently it's not as easy as iperf3 udp_send() makes it look.
Bryce Schober
@bryceschober
@me-no-dev Is there some 25-millisecond period built into the ESP8266 network stack? If I try to transmit UDP broadcast packets from my ESP8266 AP at any rate higher than that, I start dropping a lot. The packet length and overall bandwidth doesn't seem to make much difference, just the period between packets.
Me No Dev
@me-no-dev
I am not aware of any such limitations, though the ESP has more to send than your UDP packets
maybe you send at the same time as something else?
Bryce Schober
@bryceschober
Right... though on Wireshark, I don't see a whole lot. I can share my sketch and wireshark dissector that runs the whole test and counts the statistics, if you'd like to repro yourself...
Me No Dev
@me-no-dev
there are beacons and other packets that you would not normallyt see. Honestly nothing else makes sense to me. Have been abe to send packets faster