#ifndef __APP_TCPPART_H #define __APP_TCPPART_H typedef struct{ unsigned char reg:1; unsigned char pdp:1; unsigned char netReady:1; unsigned char tcp:1; unsigned char resetPDP:1; unsigned char tcpAccountErrReCnt; }NET_DEF; typedef struct { unsigned char login;//是否登录 short app_netcnt; unsigned char hearttick;//超时重新connect 40S }APP_STATUS; extern TUPSEND_DEF tupCtl; extern NET_DEF netWork; extern APP_STATUS app_status; void ApplocationCallBack(void *param); void Tup_Process(int interva); void MS5700_Networking(unsigned int interval); #endif