CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
ax100_tx.h File Reference
#include <stdint.h>
Include dependency graph for ax100_tx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AX100_DOWNLINK_MAX_BYTES   200
 The maximum number of CTS bytes that can be sent to the AX100 in a single downlink packet.
 
#define AX100_CSP_HEADER_LENGTH_BYTES   4
 

Functions

uint8_t AX100_downlink_bytes (uint8_t *data, uint16_t data_len)
 Send data to the ax100 for downlink.
 

Variables

uint32_t AX100_enable_downlink_uart_logs
 When enabled, the radio packets will be sent to the Debug UART for debugging purposes.
 
uint32_t AX100_enable_downlink_inhibited_uart_logs
 When enabled, log messages like "Downlink inhibited: ..." will be sent to the Debug UART.
 

Macro Definition Documentation

◆ AX100_CSP_HEADER_LENGTH_BYTES

#define AX100_CSP_HEADER_LENGTH_BYTES   4

◆ AX100_DOWNLINK_MAX_BYTES

#define AX100_DOWNLINK_MAX_BYTES   200

The maximum number of CTS bytes that can be sent to the AX100 in a single downlink packet.

Note
This value does not include the CSP header (4 bytes), but DOES include any CTS-SAT-1 header bytes (e.g., sequence numbers).

Function Documentation

◆ AX100_downlink_bytes()

uint8_t AX100_downlink_bytes ( uint8_t * data,
uint16_t data_len )

Send data to the ax100 for downlink.

Parameters
datapointer to the data to downlink
data_lenlength of the data
Returns
0 on success, >0 on error/failure
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ AX100_enable_downlink_inhibited_uart_logs

uint32_t AX100_enable_downlink_inhibited_uart_logs
extern

When enabled, log messages like "Downlink inhibited: ..." will be sent to the Debug UART.

Note
Logs are important to ensure that radio downlinks aren't sent before the antenna is deployed. These logs get very annoying though, so they can be turned off with this variable.
Only useful for configuration in ground testing.

◆ AX100_enable_downlink_uart_logs

uint32_t AX100_enable_downlink_uart_logs
extern

When enabled, the radio packets will be sent to the Debug UART for debugging purposes.

Note
Only useful for configuration in ground testing.