X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=inline;f=bertos%2Fnet%2Fax25.h;h=d6213cf43859422e3260f1d087c365c277a71faf;hb=271bf1533496a59a915217f9ad9e785444810e74;hp=0aa8513dc4cfb1137970b3001fecf5a8c30f2e1a;hpb=6ea89e0647ea241ed2393a53cccb0d8ba01be48e;p=bertos.git diff --git a/bertos/net/ax25.h b/bertos/net/ax25.h index 0aa8513d..d6213cf4 100644 --- a/bertos/net/ax25.h +++ b/bertos/net/ax25.h @@ -39,7 +39,7 @@ * * $WIZ$ module_name = "ax25" * $WIZ$ module_configuration = "bertos/cfg/cfg_ax25.h" - * $WIZ$ module_depends = "kfile" + * $WIZ$ module_depends = "kfile", "crc-ccitt" */ @@ -115,7 +115,7 @@ typedef struct AX25Msg #endif uint16_t ctrl; ///< AX25 control field uint8_t pid; ///< AX25 PID field - uint8_t *info; ///< Pointer to the info field (payload) of the message + const uint8_t *info; ///< Pointer to the info field (payload) of the message size_t len; ///< Payload length } AX25Msg; @@ -123,7 +123,7 @@ typedef struct AX25Msg #define AX25_PID_NOLAYER3 0xF0 /** - * HDLC flags + * \name HDLC flags. * These should be moved in * a separated HDLC related file one day... * \{ @@ -155,4 +155,8 @@ void ax25_poll(AX25Ctx *ctx); */ void ax25_init(AX25Ctx *ctx, KFile *channel, ax25_callback_t hook); +int ax25_testSetup(void); +int ax25_testTearDown(void); +int ax25_testRun(void); + #endif /* NET_AX25_H */