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.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010 ENAC
3 * Copyright (C) 2016 2016 Michal Podhradsky <http://github.com/podhrmic>
4 *
5 * This file is part of paparazzi.
6 *
7 * paparazzi is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
11 *
12 * paparazzi is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with paparazzi; see the file COPYING. If not, write to
19 * the Free Software Foundation, 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
21 *
22 */
27#ifndef EXTRA_PPRZ_DL_H
28#define EXTRA_PPRZ_DL_H
29
31#include "pprzlink/pprz_transport.h"
32
33#if USE_UDP
34#include "mcu_periph/udp.h"
35#endif
36
37#if USE_USB_SERIAL || USE_USB_SERIAL_DEBUG
39#endif
40
41/* PPRZ transport structure */
42extern struct pprz_transport extra_pprz_tp;
43
45
47void extra_pprz_dl_event(void);
48
49
51extern void extra_pprz_dl_init(void);
52
57extern void extra_pprz_dl_periodic(void);
58
59#endif /* EXTRA_PPRZ_DL_H */
60
void extra_pprz_dl_init(void)
Init function.
struct pprz_transport extra_pprz_tp
void extra_pprz_dl_periodic(void)
Periodic function.
uint8_t extra_dl_buffer[MSG_SIZE]
void extra_pprz_dl_event(void)
Datalink Event.
#define MSG_SIZE
Definition main_demo5.c:62
uint16_t foo
Definition main_demo5.c:58
arch independent UDP API
arch independent USB API
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.