The first byte of the packet (after the 4-byte CSP header) is the packet type. The packet type is an enum which indicates the type of packet being sent. The packet type is used to determine how to parse the rest of the packet.
typedef enum {
typedef enum {
typedef enum {
typedef enum {
typedef enum {
typedef enum {
typedef enum {
typedef enum {
typedef enum {
OBC_rbf_state_enum_t
Definition external_led_and_rbf.h:6
@ OBC_RBF_STATE_BENCH
Definition external_led_and_rbf.h:8
@ OBC_RBF_STATE_FLYING
Definition external_led_and_rbf.h:7
GNSS_rx_mode_enum_t
Definition gnss_internal_drivers.h:7
@ GNSS_RX_MODE_COMMAND_MODE
Definition gnss_internal_drivers.h:8
@ GNSS_RX_MODE_FIREHOSE_MODE
Definition gnss_internal_drivers.h:9
@ GNSS_RX_MODE_DISABLED
Definition gnss_internal_drivers.h:10
MPI_reason_for_stopping_active_mode_enum_t
Definition mpi_command_handling.h:20
@ MPI_REASON_FOR_STOPPING_MAX_TIME_EXCEEDED
Definition mpi_command_handling.h:24
@ MPI_REASON_FOR_STOPPING_TEMPERATURE_EXCEEDED
Definition mpi_command_handling.h:22
@ MPI_REASON_FOR_STOPPING_NOT_SET
Definition mpi_command_handling.h:21
@ MPI_REASON_FOR_STOPPING_SELF_CHECK_DONE
Definition mpi_command_handling.h:25
@ MPI_REASON_FOR_STOPPING_TELECOMMAND
Definition mpi_command_handling.h:23
MPI_rx_mode_enum_t
Enumerates the different modes under which the satellite can operate the MPI.
Definition mpi_types.h:14
@ MPI_RX_MODE_COMMAND_MODE
Definition mpi_types.h:15
@ MPI_RX_MODE_NOT_LISTENING_TO_MPI
Definition mpi_types.h:17
@ MPI_RX_MODE_SENSING_MODE
Definition mpi_types.h:16
MPI_transceiver_state_enum_t
Represents the state of the MPI transceiver chip.
Definition mpi_types.h:26
@ MPI_TRANSCEIVER_MODE_MOSI
Definition mpi_types.h:28
@ MPI_TRANSCEIVER_MODE_INACTIVE
Definition mpi_types.h:27
@ MPI_TRANSCEIVER_MODE_MISO
Definition mpi_types.h:29
@ MPI_TRANSCEIVER_MODE_DUPLEX
Definition mpi_types.h:30
COMMS_rf_switch_control_mode_enum_t
Definition rf_antenna_switch.h:6
@ COMMS_RF_SWITCH_CONTROL_MODE_TOGGLE_BEFORE_EVERY_BEACON
Definition rf_antenna_switch.h:7
@ COMMS_RF_SWITCH_CONTROL_MODE_FORCE_ANT2
Definition rf_antenna_switch.h:9
@ COMMS_RF_SWITCH_CONTROL_MODE_USE_ADCS_NORMAL
Definition rf_antenna_switch.h:10
@ COMMS_RF_SWITCH_CONTROL_MODE_FORCE_ANT1
Definition rf_antenna_switch.h:8
@ COMMS_RF_SWITCH_CONTROL_MODE_UNKNOWN
Definition rf_antenna_switch.h:13
@ COMMS_RF_SWITCH_CONTROL_MODE_USE_ADCS_FLIPPED
Definition rf_antenna_switch.h:11
CTS1_operation_state_enum_t
Definition rtos_bootup_operation_fsm_task.h:8
@ CTS1_OPERATION_STATE_DEPLOYING
Definition rtos_bootup_operation_fsm_task.h:13
@ CTS1_OPERATION_STATE_BOOTED_AND_WAITING
Definition rtos_bootup_operation_fsm_task.h:10
@ CTS1_OPERATION_STATE_NOMINAL_WITH_RADIO_TX
Definition rtos_bootup_operation_fsm_task.h:16
@ CTS1_OPERATION_STATE_NOMINAL_WITHOUT_RADIO_TX
Definition rtos_bootup_operation_fsm_task.h:19
enum STM32_reset_cause_e STM32_reset_cause_t
Possible STM32 system reset causes.
@ STM32_RESET_CAUSE_EXTERNAL_RESET_PIN_RESET
Definition stm32_reboot_reason.h:13
@ STM32_RESET_CAUSE_INDEPENDENT_WATCHDOG_RESET
Definition stm32_reboot_reason.h:11
@ STM32_RESET_CAUSE_OPTION_BYTE_LOADER_RESET
Definition stm32_reboot_reason.h:15
@ STM32_RESET_CAUSE_SOFTWARE_RESET
Definition stm32_reboot_reason.h:12
@ STM32_RESET_CAUSE_BROWNOUT_RESET
Definition stm32_reboot_reason.h:14
@ STM32_RESET_CAUSE_FIREWALL_RESET
Definition stm32_reboot_reason.h:16
@ STM32_RESET_CAUSE_LOW_POWER_RESET
Definition stm32_reboot_reason.h:9
@ STM32_RESET_CAUSE_WINDOW_WATCHDOG_RESET
Definition stm32_reboot_reason.h:10
@ STM32_RESET_CAUSE_UNKNOWN
Definition stm32_reboot_reason.h:8
TIME_sync_source_enum_t
Definition timekeeping.h:9
@ TIME_SYNC_SOURCE_GNSS_PPS
Definition timekeeping.h:12
@ TIME_SYNC_SOURCE_GNSS_UART
Definition timekeeping.h:11
@ TIME_SYNC_SOURCE_NONE
Definition timekeeping.h:10
@ TIME_SYNC_SOURCE_TELECOMMAND_CORRECTION
Definition timekeeping.h:14
@ TIME_SYNC_SOURCE_EPS_RTC
Definition timekeeping.h:15
@ TIME_SYNC_SOURCE_TELECOMMAND_ABSOLUTE
Definition timekeeping.h:13
This packet type does not have sequence numbers. All log messages fit within (or are truncated to fit within) a single packet.
Plain text content, same as UART messages.
This packet type has sequence numbers.
All multi-byte integers in these packets are in little-endian format.
For example, a uint16_t value of 1013 (0x03F5) would be sent as [0xF5, 0x03].
The packet length is encoded by the AX100 in the ASM+GOLAY encoding scheme.
It is not managed nor encoded in the packets at the level handled by this firmware on the OBC.