#ifndef _cc_ctrm_h_ | |
#define _cc_ctrm_h_ | |
#include <ctype.h> | |
#include "cc_com.h" | |
#include "message.h" | |
#define ATMAIN_AT_BUF_LEN 512 | |
#define ZAT_CMD_NAME_MAXLEN 32 | |
#define ZAT_INVALID_ID -1 | |
#define ZAT_INVALID_CMD 0xFFFFFFFF | |
typedef struct | |
{ | |
UINT8 atCmdId; | |
CHAR atCmdName[ZAT_CMD_NAME_MAXLEN]; | |
}T_zCc_AtCmdTab; | |
//static PSTR zCc_FindSubStr(const PSTR pStr, const PSTR pSubStr,const SINT32 strLen); | |
SINT32 zCc_at_tok_nextint(char **p_cur, SINT32 *p_out); | |
SINT32 zCc_at_tok_start(char **p_cur); | |
int zCcApp_EncAtReqD(char* ptMsgBuf); | |
int zCcApp_EncAtReqA(VOID); | |
int zCcApp_EncAtReqChup(void); | |
int zCcApp_EncAtReqVts(char *ptMsgBuf); | |
int zCcApp_EncAtReqChld(char *AtcmdMsg); | |
int zCcApp_EncAtReqCcfc(char* ptMsgBuf); | |
int zCcApp_EncAtReqClck(char* ptMsgBuf); | |
int zCcApp_EncAtReqImsPlus(char *ptMsgBuf); | |
#endif | |