Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Building Paparazzi frames over IVY. More...
#include "std.h"
#include "subsystems/datalink/ivy_transport.h"
#include "subsystems/datalink/downlink.h"
#include "subsystems/datalink/transport.h"
#include <stdio.h>
#include <Ivy/ivy.h>
Go to the source code of this file.
Functions | |
static void | put_bytes (struct ivy_transport *trans, struct link_device *dev, enum TransportDataType type, enum TransportDataFormat format, uint8_t len, const void *bytes) |
static void | put_named_byte (struct ivy_transport *trans, struct link_device *dev, enum TransportDataType type, enum TransportDataFormat format, uint8_t byte, const char *name) |
static uint8_t | size_of (struct ivy_transport *trans, uint8_t len) |
static void | start_message (struct ivy_transport *trans, struct link_device *dev, uint8_t payload_len) |
static void | end_message (struct ivy_transport *trans, struct link_device *dev) |
static void | overrun (struct ivy_transport *trans, struct link_device *dev) |
static void | count_bytes (struct ivy_transport *trans, struct link_device *dev, uint8_t bytes) |
static int | check_available_space (struct ivy_transport *trans, struct link_device *dev, uint8_t bytes) |
static int | check_free_space (struct ivy_transport *p, uint8_t len) |
static void | transmit (struct ivy_transport *p, uint8_t byte) |
static void | send_message (struct ivy_transport *p) |
static int | null_function (struct ivy_transport *p) |
void | ivy_transport_init (void) |
Variables | |
struct ivy_transport | ivy_tp |
Building Paparazzi frames over IVY.
Definition in file ivy_transport.c.
|
static |
Definition at line 173 of file ivy_transport.c.
References TRUE.
Referenced by ivy_transport_init().
|
static |
Definition at line 179 of file ivy_transport.c.
References TRUE.
Referenced by ivy_transport_init().
|
static |
Definition at line 167 of file ivy_transport.c.
References link_device::nb_bytes.
Referenced by ivy_transport_init().
|
static |
Definition at line 152 of file ivy_transport.c.
References ivy_transport::ivy_buf, ivy_transport::ivy_dl_enabled, ivy_transport::ivy_p, and link_device::nb_msgs.
Referenced by ivy_transport_init().
void ivy_transport_init | ( | void | ) |
Definition at line 184 of file ivy_transport.c.
References link_device::char_available, transport_tx::check_available_space, check_available_space(), link_device::check_free_space, check_free_space(), transport_tx::count_bytes, count_bytes(), ivy_transport::device, transport_tx::end_message, end_message(), link_device::get_byte, transport_tx::impl, ivy_transport::ivy_buf, ivy_transport::ivy_dl_enabled, ivy_transport::ivy_p, ivy_tp, null_function(), transport_tx::overrun, overrun(), link_device::periph, link_device::put_byte, put_bytes(), transport_tx::put_bytes, transport_tx::put_named_byte, put_named_byte(), link_device::send_message, send_message(), transport_tx::size_of, size_of(), transport_tx::start_message, start_message(), ivy_transport::trans_tx, transmit(), and TRUE.
Referenced by downlink_init().
|
static |
Definition at line 182 of file ivy_transport.c.
Referenced by ivy_transport_init().
|
static |
Definition at line 161 of file ivy_transport.c.
References link_device::nb_ovrn.
Referenced by ivy_transport_init().
|
static |
Definition at line 40 of file ivy_transport.c.
References DL_FORMAT_ARRAY, DL_TYPE_ARRAY_LENGTH, DL_TYPE_CHAR, DL_TYPE_DOUBLE, DL_TYPE_FLOAT, DL_TYPE_INT16, DL_TYPE_INT32, DL_TYPE_INT64, DL_TYPE_INT8, DL_TYPE_TIMESTAMP, DL_TYPE_UINT16, DL_TYPE_UINT32, DL_TYPE_UINT64, DL_TYPE_UINT8, and ivy_transport::ivy_p.
Referenced by ivy_transport_init().
|
static |
Definition at line 134 of file ivy_transport.c.
References ivy_transport::ivy_p.
Referenced by ivy_transport_init().
|
static |
Definition at line 181 of file ivy_transport.c.
Referenced by ivy_transport_init().
|
static |
Definition at line 141 of file ivy_transport.c.
Referenced by ivy_transport_init().
|
static |
Definition at line 146 of file ivy_transport.c.
References ivy_transport::ivy_buf, and ivy_transport::ivy_p.
Referenced by ivy_transport_init().
|
static |
Definition at line 180 of file ivy_transport.c.
Referenced by ivy_transport_init().
struct ivy_transport ivy_tp |
Definition at line 38 of file ivy_transport.c.
Referenced by ivy_transport_init(), and update_dl_status().