X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_pocketbus.h;h=aa0b090bb1aadaf9d6e65197474c586bdd404465;hb=12a865a058c2c3da0e4da685158f3a506ffad876;hp=687e535d90580fef3628304ed18d971b2d852871;hpb=0c26b45fea2f58a6959b946af412a267fcb34f2e;p=bertos.git diff --git a/bertos/cfg/cfg_pocketbus.h b/bertos/cfg/cfg_pocketbus.h index 687e535d..aa0b090b 100644 --- a/bertos/cfg/cfg_pocketbus.h +++ b/bertos/cfg/cfg_pocketbus.h @@ -32,14 +32,29 @@ * * \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" @@ -47,4 +62,10 @@ */ #define CONFIG_POCKETBUS_BUFLEN 128 +/** + * Command replay timeout in milliseconds. + * $WIZ$ type = "int" + */ +#define CONFIG_POCKETBUS_CMD_REPLY_TIMEOUT 50 + #endif /* CFG_POCKETBUS_H */