#include <stdint.h>
Go to the source code of this file.
◆ COMMS_rf_switch_control_mode_enum_t
Enumerator |
---|
COMMS_RF_SWITCH_CONTROL_MODE_TOGGLE_BEFORE_EVERY_BEACON | |
COMMS_RF_SWITCH_CONTROL_MODE_FORCE_ANT1 | |
COMMS_RF_SWITCH_CONTROL_MODE_FORCE_ANT2 | |
COMMS_RF_SWITCH_CONTROL_MODE_USE_ADCS_NORMAL | |
COMMS_RF_SWITCH_CONTROL_MODE_USE_ADCS_FLIPPED | |
COMMS_RF_SWITCH_CONTROL_MODE_UNKNOWN | |
◆ COMMS_find_optimal_antenna_using_adcs()
uint8_t COMMS_find_optimal_antenna_using_adcs |
( |
| ) |
|
◆ COMMS_rf_switch_control_mode_enum_from_string()
◆ COMMS_rf_switch_control_mode_enum_to_string()
◆ COMMS_set_rf_switch_state()
void COMMS_set_rf_switch_state |
( |
uint8_t | antenna_num | ) |
|
◆ COMMS_toggle_rf_switch_state()
void COMMS_toggle_rf_switch_state |
( |
| ) |
|
Toggles the active antenna (selected by RF switch), from 1 to 2 or from 2 to 1.
- Note
- This function can be used to manually toggle the active antenna, regardless of the result of COMMS_find_optimal_antenna.
◆ COMMS_active_rf_switch_antenna
uint8_t COMMS_active_rf_switch_antenna |
|
extern |
◆ COMMS_max_duration_without_uplink_before_setting_default_rf_switch_mode_sec
uint32_t COMMS_max_duration_without_uplink_before_setting_default_rf_switch_mode_sec |
|
extern |
If the satellite goes this long without receiving an uplink, the COMMS_rf_switch_control_mode
will be set back to TOGGLE_BEFORE_EVERY_BEACON
.
◆ COMMS_rf_switch_control_mode