Tiny protocol
0.9.0
Tiny communication protocol for microcontrollers
|
#include <TinyProtocolFd.h>
Additional Inherited Members | |
![]() | |
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 () |
bool | enableCheckSum () |
bool | enableCrc16 () |
bool | enableCrc32 () |
void | setReceiveCallback (void(*on_receive)(IPacket &pkt)=nullptr) |
void | setWindowSize (uint8_t window) |
void | setSendTimeout (uint16_t timeout) |
![]() | |
virtual void | onReceive (uint8_t *pdata, int size) |
This is class, which allocates buffers statically. Use it for systems with low resources.