Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/multi/rssi.h"
#include "modules/datalink/datalink.h"
#include "pprzlink/messages.h"
#include "modules/core/abi.h"
#include "generated/airframe.h"
Go to the source code of this file.
Macros | |
#define | NB_ACS_ID 256 |
#define | NB_ACS 24 |
Functions | |
static void | rssi_cb (uint8_t sender_id, uint8_t _ac_id, int8_t _tx_strength, int8_t _rssi) |
void | rssi_init () |
void | parse_rssi_dl (uint8_t *buf) |
void | set_rssi (uint8_t _ac_id, int8_t _tx_strength, int8_t _rssi) |
struct rssi_info_ | get_rssi (uint8_t _ac_id) |
Variables | |
uint8_t | rssi_acs_idx |
struct rssi_info_ | rssi_acs [NB_ACS] |
uint8_t | rssi_acs_id [NB_ACS_ID] |
abi_event | ev |
Definition in file rssi.c.
struct rssi_info_ get_rssi | ( | uint8_t | _ac_id | ) |
Definition at line 77 of file rssi.c.
References rssi_info_::ac_id, NB_ACS, rssi_info_::rssi, rssi_acs, rssi_acs_id, rssi_acs_idx, and rssi_info_::tx_strength.
void parse_rssi_dl | ( | uint8_t * | buf | ) |
Definition at line 65 of file rssi.c.
References set_rssi().
Definition at line 47 of file rssi.c.
References set_rssi().
Referenced by rssi_init().
void rssi_init | ( | void | ) |
Definition at line 52 of file rssi.c.
References ABI_BROADCAST, rssi_info_::ac_id, ev, NB_ACS_ID, rssi_acs, rssi_acs_id, rssi_acs_idx, and rssi_cb().
Definition at line 77 of file rssi.c.
Referenced by parse_rssi_dl(), and rssi_cb().
abi_event ev |
Definition at line 45 of file rssi.c.
Referenced by onTransferReceived(), rssi_init(), shouldAcceptTransfer(), and uavcan_bind().
struct rssi_info_ rssi_acs[NB_ACS] |
Definition at line 41 of file rssi.c.
Referenced by get_rssi(), and rssi_init().
Definition at line 43 of file rssi.c.
Referenced by get_rssi(), and rssi_init().
uint8_t rssi_acs_idx |
Definition at line 41 of file rssi.c.
Referenced by get_rssi(), and rssi_init().