tinyproto
Public Member Functions | List of all members
tinyproto::ISerialLinkLayer< BASE, BSIZE > Class Template Reference

Template class for Serial-based communication for any of TinyProto Links. More...

#include <TinySerialLinkLayer.h>

Inheritance diagram for tinyproto::ISerialLinkLayer< BASE, BSIZE >:
Inheritance graph
[legend]
Collaboration diagram for tinyproto::ISerialLinkLayer< BASE, BSIZE >:
Collaboration graph
[legend]

Public Member Functions

 ISerialLinkLayer (char *dev, void *buffer, int size)
 
bool begin (on_frame_read_cb_t onReadCb, on_frame_send_cb_t onSendCb, void *udata) override
 
void end () override
 
void runRx () override
 
void runTx () override
 
void setSpeed (uint32_t speed)
 

Detailed Description

template<class BASE, int BSIZE>
class tinyproto::ISerialLinkLayer< BASE, BSIZE >

Template class for Serial-based communication for any of TinyProto Links.

Parameters
BASEBase class for protocol type: IFdLinkLayer or IHdlcLinkLayer.
BSIZEMaximum block size which can be transmitted via Serial Link as single block

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