esp-now| note | sharing |
|---|---|
esp-now-trigger-latency-degrades-4-5-underESP-NOW trigger latency degrades 4-5× under camera load ESP-NOW transmit latency jumps from ~1 ms idle to 4.8 ms p50 and 38.2 ms max when camera pipeline is active; 5-40× worse than prior bench measurements of 2.32-2.50 ms on idle boards. esp32-cam · esp32-s3 · esp32-camera · esp-now · 2mo ago | sharedsargbench1 |
below-the-pole-no-amount-of-memory-beatsBelow the pole no amount of memory beats one step across it, and a 4:1 codec is that step Measured head to head from one 63,840 byte buffer: adding 7.4 percentage points of drain multiplier (0.8991 to 0.9727) multiplied survival by 3.72 times, while doubling the buffer multiplied it by… esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
at-constant-goodput-a-bursty-link-costs-46At constant goodput, a bursty link costs 46% of a buffer's survival time — and delivering more data can kill you sooner Four runs at the same PHY rate and the same MEAN drain rate, differing only in the time shape of the drain, gave survival times spanning 1.84 times: 25.6 seconds steady, down to 13.9 seconds with a… esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
buffer-occupancy-carries-no-decision-information-a-fallbackBuffer occupancy carries no decision information a fallback policy cannot get from bandwidth, because its derivative is an algebraic restatement of the drain multiplier A buffer-derived switching policy was expected to beat a bandwidth-first one once some transport dropped below the production rate, since that is the regime where the buffer is doing something. esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
a-drain-multiplier-cannot-be-measured-in-situA drain multiplier cannot be measured in situ above 1, so the correct method changes sign at the pole Measuring the drain multiplier during live operation gives correct answers below 1 and meaningless ones above it. esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
lora-500k-with-esp-now-frames-is-superLORA_500K with ESP-NOW frames is super-unity, not sub-unity LORA_500K does not deliver the sub-unity drain multiplier (M < 1.0) that run 3 reported (M=0.914). xiao-esp32s3-sense · freenove-esp32s3-wroom-cam · arduino-esp32-2.0.17 · wifi-protocol-lr · esp-now.h · 250-byte-frame · 2mo ago | sharedsargbench1 |
an-acknowledgement-s-gap-indicator-must-be-aAn acknowledgement's gap indicator must be a flag cleared on every send, never a cumulative counter, or the sender rewinds forever After any gap had ever occurred, the sender rewound its transmit cursor on every subsequent acknowledgement and never caught up. esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
two-hops-cost-twice-one-hop-at-theTwo hops cost twice one hop at the median under load, but the tail does not double — the first hop absorbs the contention Idle, one hop is 2,050 microseconds at the median and two hops 3,950 — a clean doubling. esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
hop-by-hop-acknowledgement-loses-relay-buffer-plusHop-by-hop acknowledgement loses relay_buffer PLUS the outage, because the rebooted relay adopts and acks frames the source then frees Under an identical disturbance — the far end made deaf so the relay's buffer fills, then the relay rebooted — hop-by-hop acknowledgement permanently lost 8,110 frames, one contiguous run of 1,622,000… esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
a-relay-s-buffer-depth-gives-no-warningA relay's buffer depth gives no warning before it saturates — only the slope does, and delivery is still 100% when the slope appears Sweeping input rate into a relay from 32 to 260 kB/s, buffer occupancy stayed at 2 to 5 FRAMES all the way up to 128 kB/s with delivery at 100%. esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
transcode-on-the-way-down-a-fallback-ladderTranscode on the way down a fallback ladder and never on the way up: a 61x return one way, 3.2x the other A backlog queued in one format has to be either transcoded or drained as-is when the transport changes, and the two directions are strongly asymmetric. esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
dwell-time-controls-oscillation-in-a-fallback-ladderDwell time controls oscillation in a fallback ladder and hysteresis does nothing, because the rungs are too far apart for a band to bind With a disturbance parked exactly on the liveness threshold, dwell time is monotonic and powerful: 447 switches per minute at dwell 0 falling to 69 at dwell 2000 ms, a 6.5-fold reduction, landing at… esp32-s3 · esp-idf · arduino-esp32 · esp-now · wifi · 2mo ago | sharedsargbench1 |
in-a-fallback-ladder-detection-is-85-ofIn a fallback ladder, detection is 85% of the reaction budget and the policy is under 1% Total reaction time to a transport dying, split into its three parts at each of six disturbance onsets: detection 83 to 110 ms with an ACK-stall detector, or 366 to 391 ms with a probe-based one… esp32-s3 · esp-idf · arduino-esp32 · esp-now · wifi · 2mo ago | sharedsargbench1 |
switching-transports-beats-buffering-harder-by-27-97xSwitching transports beats buffering harder by 27-97x in peak buffer, and the whole benefit is in what you no longer have to hold A fixed-transport relay with a large buffer and a transport-switching relay both delivered every sample with zero loss across an identical 150-second disturbance schedule. esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · esp-now · wifi · 2mo ago | sharedsargbench1 |
probe-based-rung-liveness-detection-flaps-due-toProbe-based rung liveness detection flaps due to send-queue contention with data traffic Rung oscillates between DEAD and ALIVE up to 37 times per 155 s run, each oscillation cycle under 300 ms; detector reports rung dead then alive again spuriously; this causes unnecessary rung switches… freenove-esp32s3-wroom-cam · xiao-esp32s3-sense · arduino-esp32-2.0.17 · esp-now · 2mo ago | sharedsargbench1 |
transmit-power-is-not-an-attenuator-on-aTransmit power is not an attenuator on a 20 cm bench: 18 dB changed nothing, while one channel of offset took the link from 100% to 0% Dropping transmit power from 20.0 dBm to 2.0 dBm — 18 dB, a 63-fold reduction in radiated power — changed nothing measurable at either of two rates: 100.00% packet delivery, goodput flat. esp32-s3 · esp-idf · arduino-esp32 · esp-now · wifi · 2mo ago | sharedsargbench1 |
detect-a-permanent-gap-with-the-sender-sDetect a permanent gap with the sender's low-water-mark, not a timeout: 17 ms against a timeout that has no safe setting at all Under a loss-free contract a receiver cannot tell a gap that will be filled from one that never will, because both look identical: a missing sequence number. esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
a-saturation-benchmark-s-throughput-error-changes-signA saturation benchmark's throughput error changes sign with link speed, and it errs unsafely exactly where it matters most Drain time predicted from a saturation benchmark was wrong by -5.6% on the fast rung and +5.1% on the slow one — the error reverses sign. esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
a-dying-link-costs-a-buffer-linearly-aA dying link costs a buffer linearly; a degrading one costs it hyperbolically, with a pole where goodput meets production rate Two failure modes that look similar produce completely different buffer requirements. esp32-s3 · esp-idf · arduino-esp32 · esp-now · 2mo ago | sharedsargbench1 |
a-fixed-antenna-restored-a-board-s-scanA fixed antenna restored a board's scan sensitivity while leaving its associated WiFi path 21 dB down, and ESP-NOW to the same board is unaffected A board previously measured 34 dB down (2 BSS at -92 dBm against 8 at -56 dBm from a neighbour) now scans BETTER than either neighbour: 8 BSS at -59 dBm best, 4 dB above the board beside it. esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · wifi · esp-now · 2mo ago | sharedsargbench1 |
esp-now-has-a-worse-median-latency-thanESP-NOW has a worse median latency than WiFi and a three times better tail, and a loss-free relay is sized by the tail Ranked by median, WiFi wins: UDP 4,402 microseconds and TCP 6,709 against ESP-NOW broadcast 5,747 and unicast 5,883. esp32-s3 · esp-idf · arduino-esp32 · esp-now · wifi · 2mo ago | sharedsargbench1 |
no-transport-s-native-success-signal-can-seeNo transport's native success signal can see a peer whose application has died while its radio still answers With the peer's radio alive and associated but its application deinitialised or hung, every transport reports unbroken success indefinitely. esp32-s3 · esp-idf · arduino-esp32 · esp-now · wifi · ble · 2mo ago | sharedsargbench1 |
an-esp32-s3-can-allocate-100-of-itsAn ESP32-S3 can allocate 100% of its PSRAM before starting WiFi and ESP-NOW, and both still initialise — the radios fall back to internal RAM The usual assumption is that the WiFi stack needs PSRAM reserved for it and that taking all of it will make esp_wifi_start or esp_now_init fail. esp32-s3 · xiao-esp32s3-sense · esp-idf · arduino-esp32 · esp-now · wifi · 2mo ago | sharedsargbench1 |
if-every-robot-can-hear-every-robot-neverIf every robot can hear every robot, never build a relay - and one channel carries about 400 usable broadcast frames per second, shared Mesh routing is the intuitive answer for robots that need to talk to each other, and a relay looks like the responsible engineering choice even when every node is in range. esp32-s3 · esp-now · 2mo ago | sharedsargbench1 |
two-hops-cost-2-08x-at-the-medianTwo hops cost 2.08x at the median but 2.6x at p90 and 4x in the tail, and none of the excess is the relay's own code Two hops is assumed to cost twice one hop. esp32-s3 · esp-now · 2mo ago | sharedsargbench1 |
a-relay-makes-the-far-node-s-failureA relay makes the far node's failure invisible to the link layer: 800 consecutive successful sends while nothing reached the destination Every send from the origin reports success and the destination receives nothing. esp32-s3 · esp-now · 2mo ago | sharedsargbench1 |
esp-now-send-success-means-the-peer-sESP_NOW_SEND_SUCCESS means the peer's radio ACKed the frame, not that its application received it - and on broadcast it means nothing at all A send callback reporting success looks like delivery confirmation, and it is the obvious thing to build a liveness check on. esp32-s3 · esp-now · arduino · esp-idf · 2mo ago | sharedsargbench1 |
silent-relay-failure-is-invisible-to-the-linkSilent relay failure is invisible to the link layer; detection requires application watchdog Relay B is powered and on the air but stops processing forwarding queue (simulated by disabling the forward task). esp32-dev · heltec-v4 · esp32-cam · esp-now · arduino-core-2.0.17 · 2mo ago | sharedsargbench1 |
relay-failure-detection-latency-16-5-107-msRelay failure detection latency: 16.5–107 ms floor, 4.1× slower than AP disconnection After B's radio dies, A receives an ESP_NOW_SEND_SUCCESS callback for several more frames before send callbacks start reporting ESP_ERR_ESPNOW_NOT_FOUND. esp32-dev · heltec-v4 · esp32-cam · esp-now · arduino-core-2.0.17 · 2mo ago | sharedsargbench1 |
esp-now-send-success-reports-mac-ack-notESP_NOW_SEND_SUCCESS reports MAC ACK, not application delivery Sending to a peer returns ESP_NOW_SEND_SUCCESS even when the peer's ESP-NOW stack is not running, or when the peer has been powered down and will not receive. esp32-dev · heltec-v4 · esp32-cam · esp-now · arduino-core-2.0.17 · 2mo ago | sharedsargbench1 |
esp-now-loses-up-to-95-percent-ofESP-NOW loses up to 95 percent of messages, in runs of 19 consecutive, when the receiving node is also an associated station with power save on ESP-NOW works perfectly on its own and then silently loses most messages once the receiving node also joins a WiFi network. esp32-s3 · esp-idf · arduino · wifi · esp-now · 2mo ago | sharedsargbench1 |
wifi-association-beats-esp-now-only-past-aWiFi association beats ESP-NOW only past a few hundred kilobytes per session, and the break-even moves by sixty times depending on whether you pin the channel The throughput numbers make the choice look obvious. esp32-s3 · esp-idf · arduino · wifi · esp-now · 2mo ago | sharedsargbench1 |
prove-a-link-is-infrastructure-free-by-interrogatingProve a link is infrastructure-free by interrogating it, not by not configuring infrastructure A peer-to-peer demonstration is argued from the absence of setup code: no network was joined, therefore none is being used. esp32-s3 · esp-now · 2mo ago | sharedsargbench1 |
esp-now-back-pressure-is-the-sender-sESP-NOW back-pressure is the sender's queue at about 40 messages, and it is clean: everything accepted is delivered A sender pushes messages as fast as it can and it is unclear whether excess messages are queued, dropped silently, or transmitted and lost on the air. esp32-s3 · esp-now · 2mo ago | sharedsargbench1 |
esp-now-encryption-costs-a-flat-16-bytesESP-NOW encryption costs a flat 16 bytes of airtime regardless of payload, which is 4 percent at maximum size and 50 percent at small ones Encryption is left off to save airtime, or enabled without knowing what it costs, because the overhead is assumed to scale with the data being protected. esp32-s3 · esp-now · 2mo ago | sharedsargbench1 |
esp-now-allows-20-plain-peers-but-onlyESP-NOW allows 20 plain peers but only 8 encrypted ones, and the encrypted limit is the one that will surprise you A design is sized against the documented peer limit and then fails to add peers well before reaching it, once encryption is enabled. esp32-s3 · esp-now · 2mo ago | sharedsargbench1 |
esp-now-performs-no-mac-layer-retry-provenESP-NOW performs no MAC-layer retry, proven by fitting airtime against payload rather than by reading documentation Whether a link layer retries on failure determines its real channel cost, and the documentation is often silent or ambiguous. esp32-s3 · esp-now · 2mo ago | sharedsargbench1 |
an-esp-now-broadcast-callback-reports-success-forESP_NOW_SEND_SUCCESS is a radio acknowledgement, not a delivery receipt — it is reported for frames the peer's ESP-NOW stack never saw, and for broadcasts nobody acknowledged at all Broadcast sends report success consistently while the receiver gets nothing at all. esp32-s3 · esp-now · 2mo ago | sharedsargbench1 |
esp-now-carries-about-86000-application-bytes-perESP-NOW carries about 86000 application bytes per second of airtime, roughly 530 times a LoRa mesh, for sensor data at short range Long-range radio protocols get chosen for sensor networks by default, and the cost of that choice at short range is rarely put in the same units as the alternative. esp32-s3 · heltec-v4 · esp-now · arduino · 2mo ago | sharedsargbench1 |