31 #include "generated/airframe.h"
34 #define STR(s) STR_(s)
37 #define XBEE_TYPE XBEE_24
44 #define XBEE_CHANNEL_CONF "ATCH" STR(XBEE_CHANNEL) "\r"
47 #define XBEE_CHANNEL_CONF ""
50 #define CONCAT(a, b) a b
52 #ifndef XBEE_UPDATE_DL
53 #define XBEE_UPDATE_DL TRUE
60 #if USE_HARD_FAULT_RECOVERY
61 if (recovering_from_hard_fault)
void sys_time_usleep(uint32_t us)
sys_time_usleep(uint32_t us)
Handling of messages coming from ground and other A/Cs.
static void DlCheckAndParse(struct link_device *dev, struct transport_tx *trans, uint8_t *buf, bool *msg_available, bool update_dl)
Check for new message and parse.
uint8_t dl_buffer[MSG_SIZE]
bool dl_msg_available
Flag provided to control calls to dl_parse_msg.
Arch independent mcu ( Micro Controller Unit ) utilities.
Architecture independent timing functions.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
#define XBEE_CHANNEL_CONF
struct xbee_transport xbee_tp
XBEE transport structure.
void xbee_dl_init(void)
Init function.
void xbee_dl_event(void)
Datalink Event.
Datalink using XBEE protocol.