Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
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 SUPERBITRF   4
 
#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 ( )
Value:
{ \
}
#define PprzCheckAndParse(_dev, _trans)
struct pprz_transport pprz_tp

Definition at line 72 of file datalink.h.

Referenced by event_task_ap(), and main_event().

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

#define EXTERN   extern

Definition at line 33 of file datalink.h.

#define MSG_SIZE   128

Definition at line 56 of file datalink.h.

#define PPRZ   1

Datalink kinds.

Definition at line 46 of file datalink.h.

#define SUPERBITRF   4

Definition at line 49 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 54 of file datalink.h.

EXTERN uint8_t dl_buffer[MSG_SIZE]

Definition at line 57 of file datalink.h.

EXTERN bool_t dl_msg_available

Definition at line 51 of file datalink.h.