- KFile *tag; ///< Tag communication channel
- KFile *host; ///< Host communication channel
- bool sync; ///< Status flag: true if we find an STX
- uint16_t len; ///< Packet lenght
- uint8_t buf[TAG_MAX_LEN]; ///< Reception buffer
+ KFile *tag; ///< Tag communication channel
+ KFile *host; ///< Host communication channel
+ bool sync; ///< Status flag: true if we find an STX
+ size_t len; ///< Packet lenght
+ uint8_t buf[CONFIG_TAG_MAX_LEN]; ///< Reception buffer