phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
phyphox::nina::EventQueue< N > Class Template Reference

Fixed ring of event lines, filled while a command waits for its response and drained from poll(). More...

#include <NinaB31Protocol.h>

Public Member Functions

bool push (const char *line)
 
bool pop (char *out)
 
uint8_t size () const
 
uint32_t dropped () const
 

Detailed Description

template<uint8_t N>
class phyphox::nina::EventQueue< N >

Fixed ring of event lines, filled while a command waits for its response and drained from poll().

No heap; the newest line is dropped when the ring is full.

Member Function Documentation

◆ dropped()

template<uint8_t N>
uint32_t phyphox::nina::EventQueue< N >::dropped ( ) const
inline

◆ pop()

template<uint8_t N>
bool phyphox::nina::EventQueue< N >::pop ( char *  out)
inline

◆ push()

template<uint8_t N>
bool phyphox::nina::EventQueue< N >::push ( const char *  line)
inline

◆ size()

template<uint8_t N>
uint8_t phyphox::nina::EventQueue< N >::size ( ) const
inline

The documentation for this class was generated from the following file: