Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
extra_pprz_dl.c
Go to the documentation of this file.
1/*
2 * Copyright (C) 2006 Pascal Brisset, Antoine Drouin
3 * Copyright (C) 2010 ENAC
4 * Copyright (C) 2016 2016 Michal Podhradsky <http://github.com/podhrmic>
5 *
6 * This file is part of paparazzi.
7 *
8 * paparazzi is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
11 * any later version.
12 *
13 * paparazzi is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with paparazzi; see the file COPYING. If not, write to
20 * the Free Software Foundation, 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
22 *
23 */
44#define PERIODIC_C_EXTRA
45
48
49// By default don't update datalink_time when receiving messages from extra datalink
50#ifndef EXTRA_PPRZ_UPDATE_DL
51#define EXTRA_PPRZ_UPDATE_DL FALSE
52#endif
53
56
58
63
64
70
71
73{
74#if PERIODIC_TELEMETRY && defined(TELEMETRY_PROCESS_Extra)
75 // send periodic messages as defined in the Extra process, we are using DefaultPeriodic so we can send standard messages
77#endif
78}
void extra_pprz_dl_init(void)
Init function.
struct pprz_transport extra_pprz_tp
void extra_pprz_dl_periodic(void)
Periodic function.
bool extra_dl_msg_available
uint8_t extra_dl_buffer[MSG_SIZE]
void extra_pprz_dl_event(void)
Datalink Event.
#define EXTRA_PPRZ_UPDATE_DL
Extra datalink and telemetry using PPRZ protocol.
#define MSG_SIZE
Definition main_demo5.c:62
uint16_t foo
Definition main_demo5.c:58
Periodic telemetry system header (includes downlink utility and generated code).
#define DefaultPeriodic
Set default periodic telemetry.
Definition telemetry.h:66
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.