#ifndef __PROJECT_VAR_H #define __PROJECT_VAR_H #include "includes.h" typedef unsigned long long INT64U; typedef signed long long INT64S; // project version #define SW_VERSION_HD0 'C' #define SW_VERSION_HD1 'C' #define SW_VERSION_HD2 'U' #define SW_VERSION_PJ0 0 #define SW_VERSION_PJ1 0 #define SW_VERSION0 1 #define SW_VERSION1 0 #define SW_VERSION2 2 #define WTP_SUPPORT_END_NUMBER 9 #define RET_SUCESS 0 #define RET_ERROR 1 //#define IEC101_STM32 #define IEC104_STM32 //#define IEC104_STM32_FUJIAN_HX //#define SIM900_MODE_SERVER #define SIM900_MODE_CLIENT #define SERIAL_DEBUG #ifdef SERIAL_DEBUG #define log(...) printf(__VA_ARGS__) #define LOG(...) printf(__VA_ARGS__) #define LogInit() #define PRINT_FUNLINE printf("%s %d\r\n", __FUNCTION__, __LINE__) #else #define log(...) #define LOG(...) #define DumpHEX(buffer, len) #define PRINT_FUNLINE #endif #ifdef SERIAL_DEBUG void DumpHEX(INT8U *buffer, INT32U len); #endif #endif