Tiny protocol  0.9.3
Tiny communication protocol for microcontrollers
List of all members
Tiny::ProtoFd< S > Class Template Reference

#include <TinyProtocolFd.h>

Inheritance diagram for Tiny::ProtoFd< S >:
Inheritance graph
[legend]
Collaboration diagram for Tiny::ProtoFd< S >:
Collaboration graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from Tiny::IProtoFd
 IProtoFd (void *buffer, int bufferSize)
 
void begin (write_block_cb_t writecb, read_block_cb_t readcb)
 
void beginToSerial ()
 
void beginToSerial1 ()
 
void beginToSerial2 ()
 
void beginToSerial3 ()
 
void end ()
 
int write (char *buf, int size)
 
int write (IPacket &pkt)
 
int run_rx (uint16_t timeout=0)
 
int run_tx (uint16_t timeout=0)
 
void disableCrc ()
 
void enableCrc (hdlc_crc_t crc)
 
bool enableCheckSum ()
 
bool enableCrc16 ()
 
bool enableCrc32 ()
 
void setReceiveCallback (void(*on_receive)(IPacket &pkt)=nullptr)
 
void setWindowSize (uint8_t window)
 
void setSendTimeout (uint16_t timeout)
 
- Protected Member Functions inherited from Tiny::IProtoFd
virtual void onReceive (uint8_t *pdata, int size)
 

Detailed Description

template<int S>
class Tiny::ProtoFd< S >

This is class, which allocates buffers statically. Use it for systems with low resources.


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