Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
datalink.h File Reference

Handling of messages coming from ground and other A/Cs. More...

#include "std.h"
#include "dl_protocol.h"
+ Include dependency graph for datalink.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EXTERN   extern
 
#define Swap32IfBigEndian(_)   {}
 
#define PPRZ   1
 Datalink kinds. More...
 
#define XBEE   2
 
#define UDP   3
 
#define MSG_SIZE   128
 
#define DlCheckAndParse()
 Should be called when chars are available in dl_buffer. More...
 
#define DatalinkEvent()   {}
 

Functions

EXTERN void dl_parse_msg (void)
 

Variables

EXTERN bool_t dl_msg_available
 
EXTERN uint16_t datalink_time
 Flag provided to control calls to dl_parse_msg. More...
 
EXTERN uint8_t dl_buffer [MSG_SIZE]
 

Detailed Description

Handling of messages coming from ground and other A/Cs.

Definition in file datalink.h.

Macro Definition Documentation

#define DatalinkEvent ( )    {}

Definition at line 101 of file datalink.h.

Referenced by event_task_ap(), event_task_fbw(), main_event(), and main_event_task().

#define DlCheckAndParse ( )
Value:
{ \
} \
}
if(PrimarySpektrumState.SpektrumTimer)--PrimarySpektrumState.SpektrumTimer
#define FALSE
Definition: imu_chimu.h:141

Should be called when chars are available in dl_buffer.

Check for new message and parse

Definition at line 62 of file datalink.h.

#define EXTERN   extern

Definition at line 33 of file datalink.h.

#define MSG_SIZE   128

Definition at line 55 of file datalink.h.

#define PPRZ   1

Datalink kinds.

Definition at line 46 of file datalink.h.

#define Swap32IfBigEndian (   _)    {}

Definition at line 39 of file datalink.h.

#define UDP   3

Definition at line 48 of file datalink.h.

#define XBEE   2

Definition at line 47 of file datalink.h.

Function Documentation

Variable Documentation

EXTERN uint16_t datalink_time

Flag provided to control calls to dl_parse_msg.

NOT used in this module

Definition at line 53 of file datalink.h.

EXTERN uint8_t dl_buffer[MSG_SIZE]

Definition at line 56 of file datalink.h.

EXTERN bool_t dl_msg_available

Definition at line 50 of file datalink.h.