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

Assembles lines from the byte stream. More...

#include <NinaB31Protocol.h>

Public Member Functions

bool feed (char c)
 Feed one byte; returns true when line() holds a complete line.
 
const char * line () const
 

Detailed Description

Assembles lines from the byte stream.

Terminators are CR and LF (u-connectXpress ends every line with both); empty lines are skipped; an over-long line is dropped whole.

Member Function Documentation

◆ feed()

bool phyphox::nina::LineReader::feed ( char  c)
inline

Feed one byte; returns true when line() holds a complete line.

◆ line()

const char * phyphox::nina::LineReader::line ( ) const
inline

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