SingingCat 0
application
Functions | Variables
packetbuffer.c File Reference

packetizes streams of data from radio or wifi More...

#include "main-header.h"

Go to the source code of this file.

Functions

void packet_buf_init (const int num)
 initialize (reset, clear) a given buffer More...
 
byte * packet_getbuf (const int num)
 get pointer to the contents of the buffer More...
 
int packet_getbytesinbuf (const int num)
 count bytes in the buffer More...
 
void packet_init ()
 initialize (reset, clear) all buffers More...
 
int packet_isvalid (const int num)
 initialize (reset, clear) a given buffer More...
 
void packet_mark_valid (const int num)
 mark this buffer as containing a valid packet More...
 
int packet_put_byte (const int num, const byte b)
 add a byte to a buffer More...
 

Variables

struct cnw_packetbuf packetbuffer1
 

Detailed Description

packetizes streams of data from radio or wifi

Definition in file packetbuffer.c.