[component][at] Move at log from at.h to at_log.h .

This commit is contained in:
armink
2018-10-12 15:54:09 +08:00
parent e9ffd2b2ef
commit 405fce917a
7 changed files with 65 additions and 21 deletions

View File

@@ -32,17 +32,7 @@
extern "C" {
#endif
#define AT_SW_VERSION "1.1.0"
#define DBG_ENABLE
#define DBG_SECTION_NAME "AT"
#ifdef AT_DEBUG
#define DBG_LEVEL DBG_LOG
#else
#define DBG_LEVEL DBG_INFO
#endif /* AT_DEBUG */
#define DBG_COLOR
#include <rtdbg.h>
#define AT_SW_VERSION "1.2.0"
#define AT_CMD_NAME_LEN 16
#define AT_END_MARK_LEN 4
@@ -51,11 +41,6 @@ extern "C" {
#define AT_CMD_MAX_LEN 128
#endif
/* client receive idle timeout, client will wait this timeout when send data, unit: ms */
#ifndef AT_CLIENT_RECV_IDEL
#define AT_CLIENT_RECV_IDEL 50
#endif
/* the server AT commands new line sign */
#if defined(AT_CMD_END_MARK_CRLF)
#define AT_CMD_END_MARK "\r\n"