FastLED 3.10.6
Loading...
Searching...
No Matches

◆ kCapacity

size_t fl::net::ble::BleNotifyQueue::kCapacity = 4
staticconstexpr

Maximum number of complete responses held at once.

Responses are produced by the RPC layer one request at a time, so a depth of 4 absorbs a burst without letting a peer that never drains grow the heap without bound. Pushing past this fails rather than dropping an already-queued response — losing the oldest response would corrupt a transfer already partly on the wire.

Definition at line 66 of file ble_notify_queue.h.