Use log module, implement recv function. Some little refactor and update the cfg...
[bertos.git] / bertos / net / keytag.h
index b815a8b1b117328d770a347d55a5665d846887e0..0985a2071d950fd2fb3491e86902aeff0bf6c5aa 100644 (file)
@@ -56,8 +56,6 @@
  */
 #define TAG_MAX_LEN 14
 
-#define TAG_SER_PORT 0
-#define TAG_SER_BAUDRATE 9600
 
 /**
  * Max number of chars to print in the communication serial
  */
 typedef struct TagPacket
 {
-       KFile *tag;                         ///<Tag communication channel
-       KFile *host;                ///<Host communication channel
+       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
+       uint8_t buf[TAG_MAX_LEN];   ///< Reception buffer
 } TagPacket;
 
 void keytag_init(struct TagPacket *pkt, struct KFile *comm, struct KFile *tag);