From 04b95840e106182266f71a549b85bcfff083deb1 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 23 五月 2025 18:07:48 +0800 Subject: [PATCH] 成功测试完毕新的蓝牙和MK的传输协议,并实现读写功能 --- keil/include/components/hido/Include/HIDO_Log.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/keil/include/components/hido/Include/HIDO_Log.h b/keil/include/components/hido/Include/HIDO_Log.h new file mode 100644 index 0000000..d5bead0 --- /dev/null +++ b/keil/include/components/hido/Include/HIDO_Log.h @@ -0,0 +1,38 @@ +/******************************************************************************* + * File Name : DB_Log.h + * Description : + * Created on : 2018年6月28日 + * Author : www.hido-studio.com + *******************************************************************************/ + +#ifndef MIDDLEWARES_THIRD_PARTY_DBLIBRARY_DEBUG_DB_LOG_H_ +#define MIDDLEWARES_THIRD_PARTY_DBLIBRARY_DEBUG_DB_LOG_H_ +/******************************************************************************* + * Include Files * + *******************************************************************************/ +#include "HIDO_TypeDef.h" + +/******************************************************************************* + * Macro * + *******************************************************************************/ + +/******************************************************************************* + * Type Definition * + *******************************************************************************/ +typedef enum +{ + HIDO_LOG_LEVEL_ERROR = 0, + HIDO_LOG_LEVEL_WARN, + HIDO_LOG_LEVEL_INFO, + HIDO_LOG_LEVEL_DEBUG, + + HIDO_LOG_LEVEL_MAX, +}HIDO_LogLevelEnum; + +/******************************************************************************* + * Global Function * + *******************************************************************************/ +HIDO_INT32 HIDO_Log(HIDO_LogLevelEnum _eLevel, const HIDO_CHAR *_pcFmt, ...); +HIDO_INT32 HIDO_LogTrace(const HIDO_CHAR *_pcFmt, ...); + +#endif /* MIDDLEWARES_THIRD_PARTY_DBLIBRARY_DEBUG_HIDO_LOG_H_ */ -- Gitblit v1.9.3