ax25.h File Reference

AX.25 module. More...

#include <stdint.h>
#include "kubos-core/k_buffer.h"

Go to the source code of this file.

Data Structures

struct  ax25_addr_s
 

Macros

#define AX25_BUFFER_SIZE   255
 
#define AX25_CHAR(c)   ((char) ((c) << 1))
 
#define AX25_ADDR_NOCALL
 
#define AX25_UI_CONTROL   0x03
 
#define AX25_UI_PROTOCOL   0xF0
 
#define ax25_ui_pkt_build(info, addrs, addrs_len)
 

Typedefs

typedef struct ax25_addr_s ax25_addr_t
 

Functions

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 used by AX.25. More...
 
void ax25_print_addr (char *prefix, ax25_addr_t addr)
 Prints an AX.25 address using printf with the passed in prefix. More...
 
k_buffer_tax25_pkt_build (k_buffer_t *info, ax25_addr_t *addrs, uint8_t addrs_len, uint8_t ctrl, uint8_t protocol)