X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_pocketbus.h;h=aa0b090bb1aadaf9d6e65197474c586bdd404465;hb=6fffd0614f75137e8fed424c87835d4e7d478ef7;hp=263e32a7faafbf04eefd002c6ffb6e32fb8fb4ab;hpb=4b3ac136e2d0ad9f1d1860b9ca1b355e242f0bb1;p=bertos.git diff --git a/bertos/cfg/cfg_pocketbus.h b/bertos/cfg/cfg_pocketbus.h index 263e32a7..aa0b090b 100644 --- a/bertos/cfg/cfg_pocketbus.h +++ b/bertos/cfg/cfg_pocketbus.h @@ -32,19 +32,40 @@ * * \brief Configuration file for pocketbus module. * - * \version $Id$ - * * \author Daniele Basile */ #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 */