Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
datalink.c File Reference
#include <inttypes.h>
#include <string.h>
#include "subsystems/datalink/datalink.h"
#include "generated/modules.h"
#include "subsystems/navigation/common_nav.h"
#include "generated/settings.h"
#include "math/pprz_geodetic_float.h"
#include "mcu_periph/uart.h"
#include "subsystems/datalink/downlink.h"
#include "ap_downlink.h"
+ Include dependency graph for datalink.c:

Go to the source code of this file.

Macros

#define DATALINK_C
 
#define MODULES_DATALINK_C
 
#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE
 
#define MOfCm(_x)   (((float)(_x))/100.)
 
#define SenderIdOfMsg(x)   (x[0])
 
#define IdOfMsg(x)   (x[1])
 

Functions

void dl_parse_msg (void)
 

Macro Definition Documentation

#define DATALINK_C

Definition at line 28 of file datalink.c.

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE

Definition at line 61 of file datalink.c.

#define IdOfMsg (   x)    (x[1])

Definition at line 70 of file datalink.c.

Referenced by dl_parse_msg().

#define MODULES_DATALINK_C

Definition at line 30 of file datalink.c.

#define MOfCm (   _x)    (((float)(_x))/100.)

Definition at line 67 of file datalink.c.

Referenced by dl_parse_msg().

#define SenderIdOfMsg (   x)    (x[0])

Definition at line 69 of file datalink.c.

Referenced by dl_parse_msg().

Function Documentation

void dl_parse_msg ( void  )

NAV

WIND_INFO

Else there is no dl_settings section in the flight plan

Definition at line 72 of file datalink.c.

Referenced by set_datalink_message().

+ Here is the caller graph for this function: