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
udp.h File Reference
#include "subsystems/datalink/datalink.h"
#include "generated/airframe.h"
#include "subsystems/datalink/pprz_transport.h"
+ Include dependency graph for udp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STX   0x99
 
#define UdpInit()   udp_init()
 
#define UdpCheckFreeSpace(_x)   (TRUE)
 
#define UdpTransmit(_x)   udp_transmit(_x)
 
#define UdpSendMessage()   udp_send()
 
#define UdpCheckAndParse()
 

Functions

void udp_init (void)
 
void udp_transmit (uint8_t data)
 
void udp_send (void)
 
void udp_receive (void)
 

Macro Definition Documentation

#define STX   0x99

Definition at line 34 of file udp.h.

#define UdpCheckAndParse ( )
Value:
{ \
}
void udp_receive(void)
Definition: udp.c:63

Definition at line 46 of file udp.h.

#define UdpCheckFreeSpace (   _x)    (TRUE)

Definition at line 42 of file udp.h.

#define UdpInit ( )    udp_init()

Definition at line 41 of file udp.h.

#define UdpSendMessage ( )    udp_send()

Definition at line 44 of file udp.h.

#define UdpTransmit (   _x)    udp_transmit(_x)

Definition at line 43 of file udp.h.

Function Documentation

void udp_init ( void  )

Definition at line 48 of file udp.c.

References DATALINK_PORT, FMS_NETWORK_BROADCAST, LINK_HOST, LINK_PORT, network, and udp_buffer_id.

Referenced by main_init().

+ Here is the caller graph for this function:

void udp_receive ( void  )

Definition at line 63 of file udp.c.

References dl_buffer, dl_msg_available, network, STX, TRANSPORT_PAYLOAD_LEN, TRUE, and udp_read_buffer.

void udp_send ( void  )

Definition at line 58 of file udp.c.

References network, udp_buffer, and udp_buffer_id.

void udp_transmit ( uint8_t  data)

Definition at line 53 of file udp.c.

References udp_buffer, and udp_buffer_id.