blob: 707f6a9c4d959df411dc3c345f0b70d7c5997851 [file] [log] [blame]
/*
*
* Author : lb
* Date : 2021/11/4 14:08:32
*
*/
#ifndef MBTK_AT_TABLES_H
#define MBTK_AT_TABLES_H
#define MBTK_PARAM_OPTIONAL utlAT_PARAMETER_PRESENCE_OPTIONAL
#define MBTK_PARAM_REQUIRED utlAT_PARAMETER_PRESENCE_REQUIRED
#define MBTK_PARAM_DECIMAL(optional) utlDEFINE_DECIMAL_AT_PARAMETER(utlAT_PARAMETER_ACCESS_READ_WRITE, optional)
#define MBTK_PARAM_STRING(optional) utlDEFINE_STRING_AT_PARAMETER(utlAT_PARAMETER_ACCESS_READ_WRITE, optional)
#define MBTK_PARAM_QSTRING(optional) utlDEFINE_QSTRING_AT_PARAMETER(utlAT_PARAMETER_ACCESS_READ_WRITE, optional)
#define MBTK_AT_DEFINE(name, param_optional, syntax, at_process) \
utlDEFINE_EXTENDED_MBTK_AT_COMMAND(name, param_optional, syntax, at_process, at_process),
#define MBTK_AT_DEFINE_VSYNTAX(name, param_optional, at_process) \
utlDEFINE_EXTENDED_VSYNTAX_MBTK_AT_COMMAND(name, param_optional, at_process, at_process, at_process),
#endif /* MBTK_AT_TABLES_H */
////////////////////////////////////Parameter Definition Start///////////////////////////////////////////////
#ifdef MBTK_AT_COMMAND_PARAM
static utlAtParameter_T atMTEST_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atSYSTIME_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atMTESTF_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atMSHELL_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atREVTEST_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atADC_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atGPIO_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atNETLED_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atGNSS_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atGNSSRESET_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atSYSSLEEP_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atMPORTCFG_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atURCECHO_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atMGPSTEST_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atMGPSC_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atCFTPPORT_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atCFTPUN_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atCFTPPW_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atCFTPTLS_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T atCFTPSERV_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atCFTPTYPE_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atCFTPMKD_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atCFTPRMD_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atCFTPDEL_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atCFTPPUTFILE_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED),MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T atCFTPPUT_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T atCFTPGETFILE_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED),MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T atCFTPGET_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T atCFTPLIST_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
#if 1//def MBTK_TCP_SUPPORT
static utlAtParameter_T cipopen_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED),MBTK_PARAM_STRING(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T cipclose_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T cipsend_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_STRING(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_STRING(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T ciprxget_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T mcipcfgpl_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T mcipcfg_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T cipopquery_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
#endif
static utlAtParameter_T atCGDRT_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T atCGSETV_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_OPTIONAL)};
static utlAtParameter_T atMDUMP_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atHTTPRQH_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED), MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atHTTPPARA_params[] = { MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED), MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)\
,MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED),MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atHTTPACTION_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atHTTPTYPE_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atHTTPREAD_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED)};
static utlAtParameter_T atHTTPDATAEX_params[] = { MBTK_PARAM_DECIMAL(MBTK_PARAM_REQUIRED), MBTK_PARAM_STRING(MBTK_PARAM_REQUIRED)};
#endif
////////////////////////////////////Parameter Definition End/////////////////////////////////////////////////
////////////////////////////////////Function Definition Start////////////////////////////////////////////////
#ifdef MBTK_AT_COMMAND_FUNCTION
utlReturnCode_T MBTK_AT_MTEST_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MINFO_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_SYSTIME_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MTESTF_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MSHELL_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_ISLKVRSCAN_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_SDTEST_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_SPKTEST_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MICTEST_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_REVTEST_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_GPIOTEST_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_ADCGETV_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_RGMIITEST_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CGNETLED_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_SYSSLEEP_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MGPSC_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MPORTCFG_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MURCECHO_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
RETURNCODE_T MBTK_AT_READVER_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPPORT_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPUN_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPPW_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPTLS_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPSERV_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPTYPE_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPMKD_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPRMD_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPDEL_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPPUTFILE_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPPUT_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPGETFILE_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPGET_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CFTPLIST_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
#if 1//def MBTK_TCP_SUPPORT
utlReturnCode_T MBTK_AT_NETOPEN_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_NETCLOSE_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CIPOPEN_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CIPCLOSE_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CIPSEND_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CIPRXGET_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MCIPCFGPL_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MCIPCFG_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_USEDDATA_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CLEARDATA_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CIPOPQUERY_PROCESS( const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
#endif
utlReturnCode_T MBTK_AT_CGDRT_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_CGSETV_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_MDUMP_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
//MBTK_AT_HTTP_H
utlReturnCode_T MBTK_AT_HTTPOPEN_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_HTTPCLOSE_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_HTTPSEND_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_HTTPRQH_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_HTTPACTION_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_HTTPTYPE_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_HTTPREAD_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_HTTPDATAEX_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
utlReturnCode_T MBTK_AT_HTTPPARA_PROCESS(const utlAtParameterOp_T op,
const char *command_name_p,
const utlAtParameterValue_P2c parameter_values_p,
const size_t num_parameters,
const char *info_text_p,
unsigned int *xid_p,
void *arg_p);
#endif
////////////////////////////////////Function Definition End//////////////////////////////////////////////////
////////////////////////////////////AT Definition Start/////////////////////////////////////////////////////
#ifdef MBTK_AT_COMMAND_SHELL
MBTK_AT_DEFINE("+MTEST", atMTEST_params, "+MTEST=(0-1),\"\"", MBTK_AT_MTEST_PROCESS)
MBTK_AT_DEFINE("+MINFO", NULL, NULL, MBTK_AT_MINFO_PROCESS)
MBTK_AT_DEFINE("+SYSTIME", atSYSTIME_params, "+SYSTIME=(0-2),\"\"", MBTK_AT_SYSTIME_PROCESS)
MBTK_AT_DEFINE_VSYNTAX("+MTESTF", atMTESTF_params, MBTK_AT_MTESTF_PROCESS)
MBTK_AT_DEFINE("+MSHELL", atMSHELL_params, "+MSHELL=\"\"", MBTK_AT_MSHELL_PROCESS)
MBTK_AT_DEFINE("+ISLKVRSCAN", NULL, NULL, MBTK_AT_ISLKVRSCAN_PROCESS)
MBTK_AT_DEFINE("+SDTEST", NULL, NULL, MBTK_AT_SDTEST_PROCESS)
MBTK_AT_DEFINE("+SPKTEST", NULL, NULL, MBTK_AT_SPKTEST_PROCESS)
MBTK_AT_DEFINE("+MICTEST", NULL, NULL, MBTK_AT_MICTEST_PROCESS)
MBTK_AT_DEFINE("+REVTEST", atREVTEST_params, "+MTEST=(0-1),\"\"", MBTK_AT_REVTEST_PROCESS)
MBTK_AT_DEFINE("+GPIOTEST", atGPIO_params, "+GPIOTEST=(0-1)", MBTK_AT_GPIOTEST_PROCESS)
MBTK_AT_DEFINE("+ADCGETV", atADC_params, "+ADCGETV=(0-1)", MBTK_AT_ADCGETV_PROCESS)
MBTK_AT_DEFINE("+RGMIITEST", NULL, NULL, MBTK_AT_RGMIITEST_PROCESS)
MBTK_AT_DEFINE("+CGNETLED", atNETLED_params, "+CGNETLED=(0-1)", MBTK_AT_CGNETLED_PROCESS)
MBTK_AT_DEFINE("*SYSSLEEP", NULL, NULL, MBTK_AT_SYSSLEEP_PROCESS)
MBTK_AT_DEFINE("+SYSSLEEP", atSYSSLEEP_params, "+SYSSLEEP=(0-2)", MBTK_AT_SYSSLEEP_PROCESS)
MBTK_AT_DEFINE("+MPORTCFG", atMPORTCFG_params, "+MPORTCFG=(0-2),(0-2)", MBTK_AT_MPORTCFG_PROCESS)
MBTK_AT_DEFINE("+MURCECHO", atURCECHO_params, "+MURCECHO=(0-1)", MBTK_AT_MURCECHO_PROCESS)
//MBTK_AT_DEFINE("+MGPSTEST", atMGPSTEST_params, "+MGPSTEST=(0-2),(0-180),(0-100)", MBTK_AT_MGPSTEST_PROCESS)
MBTK_AT_DEFINE("*READVER", NULL, NULL, MBTK_AT_READVER_PROCESS)
MBTK_AT_DEFINE("+MGPSC", atMGPSC_params, "+MGPSC=(0,1,5)", MBTK_AT_MGPSC_PROCESS)
MBTK_AT_DEFINE("+CFTPPORT", atCFTPPORT_params, "+CFTPPORT: (list of supported <port>s) ", MBTK_AT_CFTPPORT_PROCESS)
MBTK_AT_DEFINE("+CFTPUN", atCFTPUN_params, NULL, MBTK_AT_CFTPUN_PROCESS)
MBTK_AT_DEFINE("+CFTPPW", atCFTPPW_params, NULL, MBTK_AT_CFTPPW_PROCESS)
MBTK_AT_DEFINE("+CFTPTLS", atCFTPTLS_params, "+CFTPTLS: (0-2),(0-1)", MBTK_AT_CFTPTLS_PROCESS)
MBTK_AT_DEFINE("+CFTPSERV", atCFTPSERV_params, NULL, MBTK_AT_CFTPSERV_PROCESS)
MBTK_AT_DEFINE("+CFTPTYPE", atCFTPTYPE_params, "+CFTPTYPE: (\"I\",\"A\")", MBTK_AT_CFTPTYPE_PROCESS)
MBTK_AT_DEFINE("+CFTPMKD", atCFTPMKD_params, NULL, MBTK_AT_CFTPMKD_PROCESS)
MBTK_AT_DEFINE("+CFTPRMD", atCFTPRMD_params, NULL, MBTK_AT_CFTPRMD_PROCESS)
MBTK_AT_DEFINE("+CFTPDELE", atCFTPDEL_params, NULL, MBTK_AT_CFTPDEL_PROCESS)
MBTK_AT_DEFINE("+CFTPPUTFILE", atCFTPPUTFILE_params, "+CFTPPUTFILE: ,,(0-2147483647)", MBTK_AT_CFTPPUTFILE_PROCESS)
MBTK_AT_DEFINE("+CFTPPUT", atCFTPPUT_params, "+CFTPPUT: ,(0-2147483647),(1-1500)", MBTK_AT_CFTPPUT_PROCESS)
MBTK_AT_DEFINE("+CFTPGETFILE", atCFTPGETFILE_params, "+CFTPGETFILE: ,,(0-2147483647), (0-524288)", MBTK_AT_CFTPGETFILE_PROCESS)
MBTK_AT_DEFINE("+CFTPGET", atCFTPGET_params, "+CFTPGET: ,(0-2147483647),(0-524288)", MBTK_AT_CFTPGET_PROCESS)
MBTK_AT_DEFINE("+CFTPLIST", atCFTPLIST_params, NULL, MBTK_AT_CFTPLIST_PROCESS)
#if 1//def MBTK_TCP_SUPPORT
MBTK_AT_DEFINE_VSYNTAX("+NETOPEN", NULL, MBTK_AT_NETOPEN_PROCESS)
MBTK_AT_DEFINE_VSYNTAX("+NETCLOSE", NULL, MBTK_AT_NETCLOSE_PROCESS)
MBTK_AT_DEFINE("+CIPOPEN", cipopen_params, "+CIPOPEN: (list of supported <link_num>s), (list of supported<type>s)", MBTK_AT_CIPOPEN_PROCESS)
MBTK_AT_DEFINE("+CIPCLOSE", cipclose_params, "+CIPOPEN: (list of supported <link_num>s)", MBTK_AT_CIPCLOSE_PROCESS)
MBTK_AT_DEFINE("+CIPSEND", cipsend_params, "+CIPSEND: (list of supported <link_num>s), (list of supported <length>s)", MBTK_AT_CIPSEND_PROCESS)
MBTK_AT_DEFINE("+CIPRXGET", ciprxget_params, "+CIPRXGET: (list of supported <mode>s), (list of supported<cid>s), (list of supported<len>s)", MBTK_AT_CIPRXGET_PROCESS)
MBTK_AT_DEFINE("+MCIPCFGPL", mcipcfgpl_params, "+MCIPCFGPL:(list of supported <link_num>s), (list of supported <hex_support>s),(list of supported <ack_support>s), (list of supported <ssl_support>s, (list of supported <ignore_cert>s)", MBTK_AT_MCIPCFGPL_PROCESS)
MBTK_AT_DEFINE("+MCIPCFG", mcipcfg_params, "+MCIPCFG: (list of supported <heartbeat_time>s), (list of supported <delay_time>ms)", MBTK_AT_MCIPCFG_PROCESS)
MBTK_AT_DEFINE_VSYNTAX("+USEDDATA", NULL, MBTK_AT_USEDDATA_PROCESS)
MBTK_AT_DEFINE_VSYNTAX("+CLEARDATA", NULL, MBTK_AT_CLEARDATA_PROCESS)
MBTK_AT_DEFINE("+CIPOPQUERY", cipopquery_params, "+CIPOPQUERY: (0-3),(0-3),(0-3),(0-3)", MBTK_AT_CIPOPQUERY_PROCESS)
#endif
MBTK_AT_DEFINE("+CGDRT", atCGDRT_params, "+CGDRT: (0-139),(0-1)", MBTK_AT_CGDRT_PROCESS)
MBTK_AT_DEFINE("+CGSETV", atCGSETV_params, "+CGSETV: (0-139),(0-1)", MBTK_AT_CGSETV_PROCESS)
MBTK_AT_DEFINE("+MDUMP", atMDUMP_params, "+MDUMP=(0-1)", MBTK_AT_MDUMP_PROCESS)
MBTK_AT_DEFINE("$HTTPOPEN", NULL, NULL, MBTK_AT_HTTPOPEN_PROCESS)
MBTK_AT_DEFINE("$HTTPCLOSE", NULL, NULL, MBTK_AT_HTTPCLOSE_PROCESS)
MBTK_AT_DEFINE("$HTTPSEND", NULL, NULL, MBTK_AT_HTTPSEND_PROCESS)
MBTK_AT_DEFINE("$HTTPACTION", atHTTPACTION_params, "$HTTPACTION=(0-3)", MBTK_AT_HTTPACTION_PROCESS)
MBTK_AT_DEFINE("$HTTPTYPE", atHTTPTYPE_params, "$HTTPTYPE=(0-1)", MBTK_AT_HTTPTYPE_PROCESS)
MBTK_AT_DEFINE("$HTTPREAD", atHTTPREAD_params, "$HTTPREAD=(0-1),(0-512000)", MBTK_AT_HTTPREAD_PROCESS)
MBTK_AT_DEFINE("$HTTPDATAEX", atHTTPDATAEX_params, "$HTTPDATAEX=(0-500),\"\"", MBTK_AT_HTTPDATAEX_PROCESS)
MBTK_AT_DEFINE("$HTTPPARA", atHTTPPARA_params, "$HTTPPARA=\"\",(0-65535),(0-1), (0-1)", MBTK_AT_HTTPPARA_PROCESS)
MBTK_AT_DEFINE("$HTTPRQH", atHTTPRQH_params, "$HTTPRQH=\"\", \"\"", MBTK_AT_HTTPRQH_PROCESS)
#endif
////////////////////////////////////AT Definition End///////////////////////////////////////////////////////