/*
 * AppTaskUart1.h
 *
 *  Created on: 2022Äê5ÔÂ11ÈÕ
 *      Author: cw
 */


/*
 * @Author       : ChenJie
 * @Date         : 2022-02-10 11:44:08
 * @Version      : V3.0
 * @LastEditors  : ChenJie
 * @LastEditTime : 2022-02-14 15:48:07
 * @Description  : file content
 * @FilePath     : \S32K146_4G\src\AppTaskUart1.h
 */
/*
 * AppTaskUart2.h
 *4GµÄ´®¿Úº¯Êý
 *  Created on: 2022Äê2ÔÂ10ÈÕ
 *      Author: QiXiang_CHENJIE
 */

#ifndef APPTASKUART1_H_
#define APPTASKUART1_H_
#include "hal_adapter.h"
#include "AppFunclib.h"
#include "AppGlobalVar.h"

#include "WirelessDecodeSlave.h"

typedef enum
{
    AT_CMD_TEST = 0,
	ATE_0,         /* 关闭回显 */
	AT_SET_MODE,
	AT_CWAUTOCONN,
	AT_CWJAP,
	AT_CIPSTART,
	AT_CIPMODE,
	AT_CIPSEND,
	AT_SEND_DATA,   /* 获取IP信息 */
	AT_CIFSR,     /* 获取IP信息 */
	AT_CWQAP,     /* 断开WiFi连接 */
	AT_ISNOCON,
}ATCmd;


typedef enum
{
	TCP_UNCONNECT = 0,		/* 模块上电,TCP未连接 */
	TCP_CONNECT,			/* TCP建立连接 */
	WIFI_UNENABLE,			/* 模块未上电 */
}TCP_SERVER;

void wifi_task(void *pvParameters);
#endif /* APPTASKUART1_H_ */






