Main Page   Data Structures   File List   Data Fields   Globals  

/stxetx.h File Reference

STX/ETX Packet Protocol Implementation Library. More...

#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.


Detailed Description

STX/ETX Packet Protocol Implementation Library.

Definition in file stxetx.h.


Generated on Fri Aug 1 10:42:43 2003 for Procyon AVRlib by doxygen1.2.18