#include namespace iflytop { class Hardware { public: typedef enum { kcan, kuart } from_where_t; public: void initialize(); int32_t process_rx_packet(from_where_t fromwhere, uint8_t *packet, int32_t len, uint8_t *receipt, int32_t &receiptsize, bool &matching); void loop(); }; } // namespace iflytop