#include "buffer.h"
#include "stxetxconf.h"
Go to the source code of this file.
Functions | |
void | stxetxInit (void(*dataout_func)(unsigned char data)) |
Initialize STX/ETX packet protocol library. | |
void | stxetxSend (unsigned char status, unsigned char type, unsigned char datalength, unsigned char *dataptr) |
Send/Create STX/ETX packet. | |
unsigned char | stxetxProcess (cBuffer *rxBuffer) |
Process a buffer containing STX/ETX packets. | |
unsigned char | stxetxGetRxPacketStatus (void) |
Returns the received packet's status. | |
unsigned char | stxetxGetRxPacketType (void) |
Returns the received packet's type. | |
unsigned char | stxetxGetRxPacketDatalength (void) |
Returns the received packet's datalength. | |
unsigned char * | stxetxGetRxPacketData (void) |
Returns pointer to the received packet's data. |
Definition in file stxetx.h.