mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-23 01:08:35 +00:00
652a5fba33
Using FaradayRF settings on different frequencies for now.
26 lines
422 B
C
26 lines
422 B
C
/*! \file packet.h
|
|
\brief Packet handling library.
|
|
*/
|
|
|
|
#include<stdint.h>
|
|
|
|
//! Length of the packet buffer.
|
|
#define PACKETLEN 128
|
|
|
|
//! Receive packet buffer.
|
|
extern uint8_t rxbuffer[];
|
|
//! Transmit packet buffer.
|
|
extern uint8_t txbuffer[];
|
|
|
|
|
|
|
|
//! Switch to receiving packets.
|
|
void packet_rxon();
|
|
|
|
//! Stop receiving packets.
|
|
void packet_rxoff();
|
|
|
|
//! Transmit a packet.
|
|
void packet_tx(uint8_t *buffer, uint8_t length);
|
|
|