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)
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
Handling of messages coming from ground and other A/Cs.
#define XBEE_CHANNEL_CONF
void sys_time_usleep(uint32_t us)
sys_time_usleep(uint32_t us)
Architecture independent timing functions.
struct xbee_transport xbee_tp
XBEE transport structure.
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.
Arch independent mcu ( Micro Controller Unit ) utilities.
Datalink using XBEE protocol.
uint8_t dl_buffer[MSG_SIZE]
void xbee_dl_init(void)
Init function.
void xbee_dl_event(void)
Datalink Event.