Paparazzi UAS  v5.15_devel-81-gd13dafb
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
datalink.c File Reference

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

#include "datalink.h"
#include "subsystems/datalink/downlink.h"
#include "generated/modules.h"
#include "generated/settings.h"
#include "pprzlink/messages.h"
#include "subsystems/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 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...
 
WEAK void firmware_parse_msg (struct link_device *dev, struct transport_tx *trans, uint8_t *buf)
 Firmware specfic msg handler. More...
 

Detailed Description

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

Definition in file datalink.c.

Macro Definition Documentation

#define DATALINK_C

Definition at line 28 of file datalink.c.

#define MODULES_DATALINK_C

Definition at line 29 of file datalink.c.

Function Documentation

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 56 of file datalink.c.

References DefaultChannel, DefaultDevice, dev, firmware_parse_msg(), gps_inject_data(), IdOfMsg, LED_TOGGLE, parse_rc_3ch_datalink(), parse_rc_4ch_datalink(), and val.

Referenced by DlCheckAndParse().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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