Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
datalink.c File Reference
#include "datalink.h"
#include "modules/datalink/downlink.h"
#include "generated/modules.h"
#include "generated/settings.h"
#include "pprzlink/messages.h"
#include "modules/gps/gps.h"
+ Include dependency graph for datalink.c:

Go to the source code of this file.

Macros

#define DATALINK_C
 
#define MODULES_DATALINK_C
 

Functions

void datalink_periodic (void)
 periodic function, should be called at 1Hz More...
 
void datalink_parse_PING (struct link_device *dev, struct transport_tx *trans, uint8_t *buf)
 
void dl_parse_msg (struct link_device *dev, struct transport_tx *trans, uint8_t *buf)
 Should be called when chars are available in dl_buffer. More...
 

Detailed Description

Handling of messages coming from ground and other A/Cs.

Definition in file datalink.c.

Macro Definition Documentation

◆ DATALINK_C

#define DATALINK_C

Definition at line 28 of file datalink.c.

◆ MODULES_DATALINK_C

#define MODULES_DATALINK_C

Definition at line 29 of file datalink.c.

Function Documentation

◆ datalink_parse_PING()

void datalink_parse_PING ( struct link_device *  dev,
struct transport_tx *  trans,
uint8_t buf 
)

Definition at line 60 of file datalink.c.

References dev, and msg.

◆ datalink_periodic()

void datalink_periodic ( void  )

periodic function, should be called at 1Hz

Definition at line 55 of file datalink.c.

References datalink_time.

◆ dl_parse_msg()

void dl_parse_msg ( struct link_device *  dev,
struct transport_tx *  trans,
uint8_t buf 
)

Should be called when chars are available in dl_buffer.

Definition at line 72 of file datalink.c.

References DefaultChannel, DefaultDevice, dev, IdOfMsg, LED_TOGGLE, and val.

Referenced by DlCheckAndParse().

+ Here is the caller graph for this function: