blob: a78f80a23ced9517fad57c653f15cde6221598f5 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#ifndef _cc_ctrm_h_
2#define _cc_ctrm_h_
3
4#include <ctype.h>
5
6#include "cc_com.h"
7#include "message.h"
8
9#define ATMAIN_AT_BUF_LEN 512
10#define ZAT_CMD_NAME_MAXLEN 32
11
12#define ZAT_INVALID_ID -1
13#define ZAT_INVALID_CMD 0xFFFFFFFF
14
15typedef struct
16{
17 UINT8 atCmdId;
18 CHAR atCmdName[ZAT_CMD_NAME_MAXLEN];
19}T_zCc_AtCmdTab;
20
21//static PSTR zCc_FindSubStr(const PSTR pStr, const PSTR pSubStr,const SINT32 strLen);
22SINT32 zCc_at_tok_nextint(char **p_cur, SINT32 *p_out);
23SINT32 zCc_at_tok_start(char **p_cur);
24int zCcApp_EncAtReqD(char* ptMsgBuf);
25int zCcApp_EncAtReqA(VOID);
26int zCcApp_EncAtReqChup(void);
27int zCcApp_EncAtReqVts(char *ptMsgBuf);
28int zCcApp_EncAtReqChld(char *AtcmdMsg);
29int zCcApp_EncAtReqCcfc(char* ptMsgBuf);
30int zCcApp_EncAtReqClck(char* ptMsgBuf);
31int zCcApp_EncAtReqImsPlus(char *ptMsgBuf);
32
33#endif
34