X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fnet%2Fax25.h;h=4eb77f6de0501e6b6c5c84a67a5d1ef3a1dff66a;hb=2cf89a4723de15eadeeba8f8453170c94b19d496;hp=ad11e4665671fb10edc6edb2eb8128080aa2303f;hpb=319029b456527124521b6a6a65c21edb321cdcb8;p=bertos.git diff --git a/bertos/net/ax25.h b/bertos/net/ax25.h index ad11e466..4eb77f6d 100644 --- a/bertos/net/ax25.h +++ b/bertos/net/ax25.h @@ -34,7 +34,6 @@ * For now, only UI frames without any Layer 3 protocol are handled. * This however is enough to send/receive APRS packets. * - * \version $Id$ * \author Francesco Sacchi * * $WIZ$ module_name = "ax25" @@ -49,7 +48,7 @@ #include "cfg/cfg_ax25.h" #include -#include +#include /** * Maximum size of a AX25 frame. @@ -179,6 +178,8 @@ void ax25_sendVia(AX25Ctx *ctx, const AX25Call *path, size_t path_len, const voi #define ax25_send(ctx, dst, src, buf, len) ax25_sendVia(ctx, ({static AX25Call __path[]={dst, src}; __path;}), 2, buf, len) void ax25_init(AX25Ctx *ctx, KFile *channel, ax25_callback_t hook); +void ax25_print(KFile *ch, const AX25Msg *msg); + int ax25_testSetup(void); int ax25_testTearDown(void); int ax25_testRun(void);