38 #ifndef AX25_BUFFER_SIZE 39 #define AX25_BUFFER_SIZE 255 42 #define AX25_CHAR(c) ((char) ((c) << 1)) 43 #define AX25_ADDR_NOCALL { .callsign = { \ 44 AX25_CHAR('N'), AX25_CHAR('0'), AX25_CHAR('C'), AX25_CHAR('A'), \ 45 AX25_CHAR('L'), AX25_CHAR('L') }, .ssid = AX25_CHAR('0') } 47 #define AX25_UI_CONTROL 0x03 48 #define AX25_UI_PROTOCOL 0xF0 72 uint8_t addrs_len, uint8_t ctrl,
76 #define ax25_ui_pkt_build(info, addrs, addrs_len) \ 77 ax25_pkt_build(info, addrs, addrs_len, AX25_UI_CONTROL, \ k_buffer_t * ax25_pkt_build(k_buffer_t *info, ax25_addr_t *addrs, uint8_t addrs_len, uint8_t ctrl, uint8_t protocol)
char callsign[6]
Definition: ax25.h:51
ax25_addr_t ax25_addr_init(char *addr)
Messaging Buffer Wrapper.
char ssid
Definition: ax25.h:52
void ax25_print_addr(char *prefix, ax25_addr_t addr)
Definition: k_buffer.h:43
struct ax25_addr_s ax25_addr_t