Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
udp_arch.h File Reference
#include "mcu_periph/udp.h"
#include "udp_socket.h"
Include dependency graph for udp_arch.h:

Go to the source code of this file.

Functions

void udp_arch_init (void)
int udp_arch_auto_gcs (struct in_addr *addr, int max)
 GCS computers found by the UDP links with host "auto" (see udp_arch.c), e.g.

Function Documentation

◆ udp_arch_auto_gcs()

int udp_arch_auto_gcs ( struct in_addr * addr,
int max )
extern

GCS computers found by the UDP links with host "auto" (see udp_arch.c), e.g.

to send video to them too.

Parameters
[out]addrIP addresses of the GCS computers (each address once)
[in]maxsize of addr
Returns
number of addresses (0: no GCS found, or no link with host "auto")

GCS computers found by the UDP links with host "auto" (see udp_arch.c), e.g.

Definition at line 174 of file udp_arch.c.

References UdpArch::au, UdpAuto::enabled, UdpAuto::gcs, UdpAuto::gcs_seen_ms, p, UDP_AUTO_GCS_TIMEOUT_MS, UDP_AUTO_MAX_GCS, udp_mutex, and udp_time_ms().

Referenced by viewvideo_function().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ udp_arch_init()

void udp_arch_init ( void )
extern

Definition at line 213 of file udp_arch.c.

References udp_mutex, and udp_thread().

Referenced by mcu_init().

Here is the call graph for this function:
Here is the caller graph for this function: