2#define PACKETBUFFER_H 1
4#define PACKETBUFFER_CC1101 1
6#define PACKETBUF_SIZE 270
11 byte buf[PACKETBUF_SIZE];
void packet_init()
initialize (reset, clear) all buffers
int packet_put_byte(const int num, const byte b)
add a byte to a buffer
void packet_mark_valid(const int num)
mark this buffer as containing a valid packet
int packet_getbytesinbuf(const int num)
count bytes in the buffer
byte * packet_getbuf(const int num)
get pointer to the contents of the buffer
int packet_isvalid(const int num)
initialize (reset, clear) a given buffer
void packet_buf_init(const int num)
initialize (reset, clear) a given buffer