APRS
Files | |
file | aprs.h |
APRS parsing module. | |
Data Structures | |
struct | aprs_position_s |
struct | aprs_telemetry_desc_s |
struct | aprs_telemetry_s |
Macros | |
#define | APRS_DIGI_APRS ax25_addr_init("APRS") |
#define | APRS_DIGI_TCPIP ax25_addr_init("TCPIP*") |
#define | APRS_NOCALL ax25_addr_init("N0CALL") |
#define | APRSIS_ADDRS(src_) |
#define | APRSIS_ADDRS_LEN 4 |
#define | APRS_POSITION_LEN 43 |
#define | APRS_TELEMETRY_LEN 34 |
#define | APRS_T_ANALOG_MAXLENS { 7, 6, 5, 5, 4 } |
#define | APRS_T_DIGITAL_MAXLENS { 5, 4, 3, 3, 3, 2, 2, 2} |
Typedefs | |
typedef struct aprs_position_s | aprs_position_t |
typedef struct aprs_telemetry_desc_s | aprs_telemetry_desc_t |
typedef struct aprs_telemetry_s | aprs_telemetry_t |
Functions | |
int | aprs_position_format (char *dest, aprs_position_t *position) |
k_buffer_t * | aprs_position_build (aprs_position_t *position) |
void | aprs_telemetry_init (aprs_telemetry_t *telemetry) |
void | aprs_telemetry_add_analog (aprs_telemetry_t *telemetry, int field, char *name, char *unit, uint8_t init_value) |
void | aprs_telemetry_add_digital (aprs_telemetry_t *telemetry, int bit, char *name, char *unit, uint8_t bit_value) |
int | aprs_telemetry_format (char *dest, aprs_telemetry_t *telemetry) |
k_buffer_t * | aprs_telemetry_build (aprs_telemetry_t *telemetry) |
int | aprs_telemetry_params_format (char *dest, char *callsign, aprs_telemetry_t *telemetry) |
int | aprs_telemetry_units_format (char *dest, char *callsign, aprs_telemetry_t *telemetry) |
Macro Definition Documentation
#define APRS_DIGI_APRS ax25_addr_init("APRS") |
#define APRS_DIGI_TCPIP ax25_addr_init("TCPIP*") |
#define APRS_NOCALL ax25_addr_init("N0CALL") |
#define APRS_POSITION_LEN 43 |
#define APRS_T_ANALOG_MAXLENS { 7, 6, 5, 5, 4 } |
#define APRS_T_DIGITAL_MAXLENS { 5, 4, 3, 3, 3, 2, 2, 2} |
#define APRS_TELEMETRY_LEN 34 |
#define APRSIS_ADDRS | ( | src_ | ) |
Value:
{ \
ax25_addr_init(src_), \
}
ax25_addr_t ax25_addr_init(char *addr)
Turn an ASCII encoded callsign / SSID into the 7-bit encoded and space padded 7 byte address that is ...
#define APRSIS_ADDRS_LEN 4 |
Typedef Documentation
typedef struct aprs_position_s aprs_position_t |
typedef struct aprs_telemetry_desc_s aprs_telemetry_desc_t |
typedef struct aprs_telemetry_s aprs_telemetry_t |
Function Documentation
k_buffer_t* aprs_position_build | ( | aprs_position_t * | position | ) |
int aprs_position_format | ( | char * | dest, |
aprs_position_t * | position | ||
) |
void aprs_telemetry_add_analog | ( | aprs_telemetry_t * | telemetry, |
int | field, | ||
char * | name, | ||
char * | unit, | ||
uint8_t | init_value | ||
) |
void aprs_telemetry_add_digital | ( | aprs_telemetry_t * | telemetry, |
int | bit, | ||
char * | name, | ||
char * | unit, | ||
uint8_t | bit_value | ||
) |
k_buffer_t* aprs_telemetry_build | ( | aprs_telemetry_t * | telemetry | ) |
int aprs_telemetry_format | ( | char * | dest, |
aprs_telemetry_t * | telemetry | ||
) |
void aprs_telemetry_init | ( | aprs_telemetry_t * | telemetry | ) |
int aprs_telemetry_params_format | ( | char * | dest, |
char * | callsign, | ||
aprs_telemetry_t * | telemetry | ||
) |
int aprs_telemetry_units_format | ( | char * | dest, |
char * | callsign, | ||
aprs_telemetry_t * | telemetry | ||
) |