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
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 MSG_SIZE   128
 
#define DlCheckAndParse()
 Should be called when chars are available in dl_buffer. More...
 
#define DatalinkEvent()   {}
 

Functions

EXTERN uint8_t dl_buffer[MSG_SIZE__attribute__ ((aligned))
 
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...
 

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 87 of file datalink.h.

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

#define DlCheckAndParse ( )
Value:
{ \
} \
}
#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 63 of file datalink.h.

#define EXTERN   extern

Definition at line 35 of file datalink.h.

#define MSG_SIZE   128

Definition at line 56 of file datalink.h.

#define PPRZ   1

Datalink kinds.

Definition at line 48 of file datalink.h.

#define Swap32IfBigEndian (   _)    {}

Definition at line 41 of file datalink.h.

#define XBEE   2

Definition at line 49 of file datalink.h.

Function Documentation

EXTERN uint8_t dl_buffer [MSG_SIZE] __attribute__ ( (aligned)  )

Variable Documentation

EXTERN uint16_t datalink_time

Flag provided to control calls to dl_parse_msg.

NOT used in this module

Definition at line 54 of file datalink.h.

EXTERN bool_t dl_msg_available

Definition at line 51 of file datalink.h.