Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
downlink_transport.h
Go to the documentation of this file.
1 /*
2  * Paparazzi $Id: downlink_transport.h 4766 2010-03-30 10:00:29Z hecto $
3  *
4  * Copyright (C) 2003-2010 The Paparazzi Team
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  */
24 
30 #ifndef DOWNLINK_TRANSPORT_H
31 #define DOWNLINK_TRANSPORT_H
32 
33 #include <inttypes.h>
34 
48 };
49 
51 {
52  uint8_t (*SizeOf)(void *impl, uint8_t size);
53  int (*CheckFreeSpace)(void *impl, uint8_t size);
54 
55  void (*PutBytes)(void *impl, enum DownlinkDataType data_type, uint8_t len, const void *bytes);
56 
57  void (*StartMessage)(void *impl, char *name, uint8_t msg_id, uint8_t payload_len);
58  void (*EndMessage)(void *impl);
59  void (*Overrun)(void *impl);
60  void (*CountBytes)(void *impl, uint8_t len);
61  void (*Periodic)(void *impl);
62 
63  void *impl;
64 };
65 
66 #endif /* DOWNLINK_TRANSPORT_H */
void(* Periodic)(void *impl)
void(* EndMessage)(void *impl)
void(* CountBytes)(void *impl, uint8_t len)
void(* StartMessage)(void *impl, char *name, uint8_t msg_id, uint8_t payload_len)
int(* CheckFreeSpace)(void *impl, uint8_t size)
void(* PutBytes)(void *impl, enum DownlinkDataType data_type, uint8_t len, const void *bytes)
uint8_t(* SizeOf)(void *impl, uint8_t size)
unsigned char uint8_t
Definition: types.h:14
void(* Overrun)(void *impl)