Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 05:35
    devyte milestoned #6777
  • 05:35
    devyte assigned #6777
  • 05:34
    devyte edited #6777
  • 05:24
    devyte edited #6777
  • 05:19
    devyte reopened #6777
  • 04:29
    gnu-emu edited #6777
  • 04:21
    gnu-emu closed #6777
  • 03:37
    gnu-emu edited #6777
  • 03:36
    gnu-emu opened #6777
  • 02:49
    devyte synchronize #6725
  • Nov 14 23:29

    earlephilhower on master

    Root page should be of type tex… (compare)

  • Nov 14 23:29
    earlephilhower closed #6776
  • Nov 14 22:22
    devyte assigned #6725
  • Nov 14 22:22
    devyte milestoned #6725
  • Nov 14 22:22
    devyte labeled #6725
  • Nov 14 22:22
    devyte labeled #6725
  • Nov 14 22:20
    devyte synchronize #6725
  • Nov 14 21:51
  • Nov 14 21:42
    earlephilhower synchronize #6776
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
maybe not enough yield()?
Bryce Schober
@bryceschober
is there no yielding outside of loop()? I'm not doing any delay loops in there, just early exits.
Me No Dev
@me-no-dev
wait... I did not read everything... so you are running softap?
Bryce Schober
@bryceschober
yes
Bryce Schober
@bryceschober
So @me-no-dev , do I need to yield in my loop() instead of just an early exit?
Me No Dev
@me-no-dev
no, it could be softap related
can you test the same thing on sta?
Bryce Schober
@bryceschober
I suppose I could, but our application really wants to be softap, so I'm not sure the test would be very relevant...
Me No Dev
@me-no-dev
the test would show if softap is the issue :)
riataman
@riataman
how much memory is available for user programs?
wait
wrong channel, mean ask about the esp32
Bryce Schober
@bryceschober
@me-no-dev or @igrr : What does this wifi debug output mean about my attempt to be STA:
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
state: 5 -> 2 (2c0)
rm 0
wifi evt: 1
STA disconnect: 2
reconnect
state: 2 -> 0 (0)
scandone
state: 0 -> 2
... repeat ...
Bryce Schober
@bryceschober
@me-no-dev Well, for some reason I couldn't get the STA version of my UDP Tx test working... but I did end up trying unicast instead of broadcast as SoftAP, and there were no significant packet loss problems all the way down to 1 ms. I got a 97% reception rate at 1400kBps bandwith with 1400-byte packets and 1 ms between transmissions.
So the problem is definitely in the fact that it's broadcast instead of unicast. There's some invisible wall of impossibility in trying to UDP broadcast packets more frequently than 25 ms.
FYI, I'm testing this on the update_sdk_2.1.0 branch, since UDP broadcast is broken-ish without it
dragon-engineer
@dragon-engineer
hi, is already supported larger flash chips in Arduino IDE? I read that in IDF that should be okay since May 5th, release v2.1.0
brutzler
@brutzler
Hi, perhaps a stupid question.
Is there any possibility to check if the code in the flash of an ESP is the same as the actual opened source in Arduino IDE?
riataman
@riataman
probably not
not directly ..
you could cook up your own solution, but making your sketch print its own source hash or something. not that simple.
brutzler
@brutzler
and indirectly?