Use log module, implement recv function. Some little refactor and update the cfg...
[bertos.git] / bertos / cfg / cfg_pocketbus.h
index 687e535d90580fef3628304ed18d971b2d852871..aa0b090bb1aadaf9d6e65197474c586bdd404465 100644 (file)
  *
  * \brief Configuration file for pocketbus module.
  *
- * \version $Id$
- *
  * \author Daniele Basile <asterix@develer.com>
  */
 
 #ifndef CFG_POCKETBUS_H
 #define CFG_POCKETBUS_H
 
+/**
+ * Module logging level.
+ *
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "log_level"
+ */
+#define POCKETBUS_LOG_LEVEL      LOG_LVL_ERR
+
+/**
+ * Module logging format.
+ *
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "log_format"
+ */
+#define POCKETBUS_LOG_FORMAT     LOG_FMT_TERSE
+
+
 /**
  *Buffer len for pockebus protocol.
  * $WIZ$ type = "int"
  */
 #define CONFIG_POCKETBUS_BUFLEN     128
 
+/**
+ * Command replay timeout in milliseconds.
+ * $WIZ$ type = "int"
+ */
+#define CONFIG_POCKETBUS_CMD_REPLY_TIMEOUT   50
+
 #endif /* CFG_POCKETBUS_H */