| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | #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 | 
 | 
 | 15 | typedef 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);
 | 
 | 22 | SINT32 zCc_at_tok_nextint(char **p_cur, SINT32 *p_out);
 | 
 | 23 | SINT32 zCc_at_tok_start(char **p_cur);
 | 
 | 24 | int zCcApp_EncAtReqD(char* ptMsgBuf);
 | 
 | 25 | int zCcApp_EncAtReqA(VOID);
 | 
 | 26 | int zCcApp_EncAtReqChup(void);
 | 
 | 27 | int zCcApp_EncAtReqVts(char *ptMsgBuf);
 | 
 | 28 | int zCcApp_EncAtReqChld(char *AtcmdMsg);
 | 
 | 29 | int zCcApp_EncAtReqCcfc(char* ptMsgBuf);
 | 
 | 30 | int zCcApp_EncAtReqClck(char* ptMsgBuf);
 | 
 | 31 | int zCcApp_EncAtReqImsPlus(char *ptMsgBuf);
 | 
 | 32 | 
 | 
 | 33 | #endif
 | 
 | 34 | 
 |