Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
Common code for AP and FBW telemetry. More...
#include "subsystems/datalink/downlink.h"
#include "generated/airframe.h"
#include "subsystems/datalink/datalink.h"
#include "subsystems/datalink/telemetry.h"
#include "mcu_periph/sys_time.h"
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 |
Common code for AP and FBW telemetry.
Definition in file downlink.c.
void downlink_init | ( | void | ) |
Definition at line 86 of file downlink.c.
References BLUEGIGA, bluegiga_init(), bluegiga_p, datalink_nb_msgs, DefaultDevice, DefaultPeriodic, get_sys_time_usec(), PPRZ, register_periodic_telemetry(), send_downlink(), SUPERBITRF, sys_time_usleep(), W5100, and w5100_init().
Referenced by init_ap(), main(), and main_init().
|
static |
Definition at line 62 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().
|
static |
Definition at line 58 of file downlink.c.
Referenced by send_downlink().
|
static |
Definition at line 60 of file downlink.c.
Referenced by send_downlink().
|
static |
Definition at line 59 of file downlink.c.
Referenced by send_downlink().