Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
xbee_dl.c File Reference
#include "modules/datalink/xbee_dl.h"
#include "modules/datalink/datalink.h"
#include "mcu.h"
#include "mcu_periph/sys_time.h"
#include "mcu_periph/uart.h"
#include "generated/airframe.h"
+ Include dependency graph for xbee_dl.c:

Go to the source code of this file.

Macros

#define STR_(s)   #s
 
#define STR(s)   STR_(s)
 
#define XBEE_TYPE   XBEE_24
 
#define XBEE_INIT   ""
 
#define XBEE_CHANNEL_CONF   ""
 
#define CONCAT(a, b)   a b
 
#define XBEE_UPDATE_DL   TRUE
 

Functions

void xbee_dl_init (void)
 Init function. More...
 
void xbee_dl_event (void)
 Datalink Event. More...
 

Variables

struct xbee_transport xbee_tp
 XBEE transport structure. More...
 

Macro Definition Documentation

◆ CONCAT

#define CONCAT (   a,
  b 
)    a b

Definition at line 50 of file xbee_dl.c.

◆ STR

#define STR (   s)    STR_(s)

Definition at line 34 of file xbee_dl.c.

◆ STR_

#define STR_ (   s)    #s

Definition at line 33 of file xbee_dl.c.

◆ XBEE_CHANNEL_CONF

#define XBEE_CHANNEL_CONF   ""

Definition at line 47 of file xbee_dl.c.

◆ XBEE_INIT

#define XBEE_INIT   ""

Definition at line 40 of file xbee_dl.c.

◆ XBEE_TYPE

#define XBEE_TYPE   XBEE_24

Definition at line 37 of file xbee_dl.c.

◆ XBEE_UPDATE_DL

#define XBEE_UPDATE_DL   TRUE

Definition at line 53 of file xbee_dl.c.

Function Documentation

◆ xbee_dl_event()

void xbee_dl_event ( void  )

Datalink Event.

Definition at line 69 of file xbee_dl.c.

References dl_buffer, dl_msg_available, DlCheckAndParse(), xbee_tp, and XBEE_UPDATE_DL.

+ Here is the call graph for this function:

◆ xbee_dl_init()

void xbee_dl_init ( void  )

Init function.

Definition at line 58 of file xbee_dl.c.

References CONCAT, sys_time_usleep(), XBEE_CHANNEL_CONF, XBEE_INIT, xbee_tp, and XBEE_TYPE.

+ Here is the call graph for this function:

Variable Documentation

◆ xbee_tp

struct xbee_transport xbee_tp

XBEE transport structure.

Definition at line 1 of file xbee_dl.c.

Referenced by xbee_dl_event(), and xbee_dl_init().