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

Common code for AP and FBW telemetry. More...

+ Include dependency graph for downlink.c:

Go to the source code of this file.

Functions

static void send_downlink (struct transport_tx *trans, struct link_device *dev)
 
void downlink_init (void)
 

Variables

static uint32_t last_down_nb_bytes = 0
 
static uint32_t last_up_nb_msgs = 0
 
static uint32_t last_ts = 0
 

Detailed Description

Common code for AP and FBW telemetry.

Definition in file downlink.c.

Function Documentation

void downlink_init ( void  )

Definition at line 67 of file downlink.c.

References datalink_nb_msgs, DefaultDevice, DefaultPeriodic, register_periodic_telemetry(), and send_downlink().

Referenced by init_ap(), main(), and main_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_downlink ( struct transport_tx *  trans,
struct link_device *  dev 
)
static

Definition at line 43 of file downlink.c.

References datalink_nb_msgs, datalink_time, get_sys_time_msec(), last_down_nb_bytes, last_ts, and last_up_nb_msgs.

Referenced by downlink_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

uint32_t last_down_nb_bytes = 0
static

Definition at line 39 of file downlink.c.

Referenced by send_downlink().

uint32_t last_ts = 0
static

Definition at line 41 of file downlink.c.

Referenced by send_downlink().

uint32_t last_up_nb_msgs = 0
static

Definition at line 40 of file downlink.c.

Referenced by send_downlink().