1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*******************************************************************************
 * File Name         : ATConfig.h
 * Description       :
 * Created on        : 2019Äê12ÔÂ28ÈÕ
 * Author            : www.hido-studio.com
 *******************************************************************************/
 
#ifndef _AT_CONFIG_H_
#define _AT_CONFIG_H_
/*******************************************************************************
 *                              Include Files                                  *
 *******************************************************************************/
#include "HIDO_TypeDef.h"
 
/*******************************************************************************
 *                                  Macro                                      *
 *******************************************************************************/
#define AT_CMD_RESULT_OK                                 0x0001
#define AT_CMD_RESULT_ERROR                              0x0002
#define AT_CMD_RESULT_TIMEOUT                            0x0004
 
#define AT_GENERAL_TIMEOUT_TIME                            5000
 
/*******************************************************************************
 *                             Type Definition                                 *
 *******************************************************************************/
typedef struct
{
    HIDO_CHAR *m_pcATCmd;
    HIDO_UINT32 m_u32TimeOut;
    HIDO_UINT32 m_u32Result;
}ST_ATCmd;
 
/*******************************************************************************
 *                             Global Function                                 *
 *******************************************************************************/
 
#endif /* _AT_CONFIG_H_ */