Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
datalink forwarder for InterMCU More...
#include "std.h"
#include "pprzlink/pprzlink_device.h"
#include "pprzlink/pprzlink_transport.h"
Go to the source code of this file.
Data Structures | |
struct | intermcu_dl_t |
Functions | |
void | intermcu_dl_init (void) |
Init function. More... | |
void | intermcu_dl_repack (struct transport_tx *trans, struct link_device *dev, uint8_t *msg, uint8_t size) |
repack a message and send on device More... | |
void | intermcu_dl_on_msg (uint8_t *msg, uint8_t size) |
function to forward telemetry on new message More... | |
Variables | |
struct intermcu_dl_t | intermcu_dl |
datalink forwarder for InterMCU
Definition in file intermcu_dl.h.
struct intermcu_dl_t |
Definition at line 34 of file intermcu_dl.h.
Data Fields | ||
---|---|---|
struct link_device * | dev | Device structure for communication. |
struct transport_tx * | trans | Forwarding transport. |
void intermcu_dl_init | ( | void | ) |
Init function.
Definition at line 40 of file intermcu_dl.c.
References intermcu_dl_t::dev, intermcu_dl, and intermcu_dl_t::trans.
function to forward telemetry on new message
msg | pointer to the message buffer |
size | size of the message to send |
function to forward telemetry on new message
Definition at line 79 of file intermcu_dl.c.
References intermcu_dl_t::dev, intermcu_dl, intermcu_dl_repack(), msg, and intermcu_dl_t::trans.
Referenced by intermcu_event().
void intermcu_dl_repack | ( | struct transport_tx * | trans, |
struct link_device * | dev, | ||
uint8_t * | msg, | ||
uint8_t | size | ||
) |
repack a message and send on device
trans | pointer to the TX transport |
dev | pointer to the sending device |
msg | pointer to the message buffer |
size | size of the message to send |
repack a message and send on device
Definition at line 57 of file intermcu_dl.c.
Referenced by intermcu_dl_on_msg(), and intermcu_forward_uplink().
|
extern |
Definition at line 1 of file intermcu_dl.c.
Referenced by intermcu_dl_init(), and intermcu_dl_on_msg().