Revert "Fix lwip implementation of retransmission timers."
[bertos.git] / bertos / cfg / cfg_pocketbus.h
index 263e32a7faafbf04eefd002c6ffb6e32fb8fb4ab..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"
- * $WIZ$ min = "0"
+ * $WIZ$ min = 2
  */
 #define CONFIG_POCKETBUS_BUFLEN     128
 
+/**
+ * Command replay timeout in milliseconds.
+ * $WIZ$ type = "int"
+ */
+#define CONFIG_POCKETBUS_CMD_REPLY_TIMEOUT   50
+
 #endif /* CFG_POCKETBUS_H */