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

◆ chunkData()

const u8 * fl::net::ble::BleNotifyQueue::chunkData ( ) const
inline

Start of the next chunk, or nullptr when the queue is empty.

Definition at line 121 of file ble_notify_queue.h.

121 {
122 if (remaining() == 0) {
123 return nullptr;
124 }
125 return mSlots[mHead].data() + mOffset;
126 }
size_t mOffset
Bytes of mSlots[mHead] already accepted. Consumer-only.
fl::vector< u8 > mSlots[kSlots]
size_t remaining() const
Bytes of the in-flight payload not yet accepted by the stack.
volatile size_t mHead
Owned by the consumer; read by the producer to detect "full".

References mHead, mOffset, mSlots, and remaining().

+ Here is the call graph for this function: