*
* $WIZ$ module_name = "ax25"
* $WIZ$ module_configuration = "bertos/cfg/cfg_ax25.h"
- * $WIZ$ module_depends = "kfile"
+ * $WIZ$ module_depends = "kfile", "crc-ccitt"
*/
#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;
#define AX25_PID_NOLAYER3 0xF0
/**
- * HDLC flags
+ * \name HDLC flags.
* These should be moved in
* a separated HDLC related file one day...
* \{
*/
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 */