#include "SFBTypes.h"
#include "SFBConstants.h"
Go to the source code of this file.
Data Structures | |
class | SFBByteBuffer |
Base class providing services common to SFBRxByteBuffer and SFBTxByteBuffer. More... | |
class | SFBRxByteBuffer |
A specialized SFBByteBuffer that handles asynchronous data reception, i.e., data is added to the buffer at interrupt level (IL), and removed from the buffer in the background process (BG). More... | |
class | SFBTxByteBuffer |
A specialized SFBByteBuffer that handles asynchronous data transmission, i.e., data is added to the buffer in the background process (BG), and removed from the buffer at interrupt level (IL). More... |
The main goals of this code are:
Note that, except for the tx side 'commit' concept, SFBByteBuffer does not deal with packet framing or deframing; it simply buffers a stream of uninterpreted data bytes (with interleaved status information where needed). So received packets must be deframed by background processing as bytes are removed from an SFBRxByteBuffer, and bytes must be packet framed by background process as bytes are stored in an SFBTxByteBuffer.