X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_pocketbus.h;h=aa0b090bb1aadaf9d6e65197474c586bdd404465;hb=3d3ba83839f2a8faed6c373e5153d61672ce7fb6;hp=47dfce889a1b314a36118b119b426c87ecb61dbc;hpb=cafdb86d36274921d12ee8c3559b40474834e41c;p=bertos.git diff --git a/bertos/cfg/cfg_pocketbus.h b/bertos/cfg/cfg_pocketbus.h index 47dfce88..aa0b090b 100644 --- a/bertos/cfg/cfg_pocketbus.h +++ b/bertos/cfg/cfg_pocketbus.h @@ -32,15 +32,40 @@ * * \brief Configuration file for pocketbus module. * - * \version $Id$ - * * \author Daniele Basile */ #ifndef CFG_POCKETBUS_H #define CFG_POCKETBUS_H -/// Buffer len for pockebus protocol. $WIZARD = { "type" : "int", "min" : "0" } +/** + * 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 = 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 */