|
@@ -18,24 +18,28 @@
|
|
|
|
|
|
#define defaultSn "ZLTEST00000000001"
|
|
|
|
|
|
-#define EEP_START_SEC_VAR_INIT_8_NO_CACHEABLE
|
|
|
-#include "Eep_MemMap.h"
|
|
|
-AppConfigBody AppConfigInfo = {false, false, {defaultSn}, {0}};
|
|
|
-#define EEP_STOP_SEC_VAR_INIT_8_NO_CACHEABLE
|
|
|
-#include "Eep_MemMap.h"
|
|
|
-
|
|
|
#define APP_RELEASE
|
|
|
|
|
|
#ifdef APP_RELEASE
|
|
|
const char WebSiteName[] = "\"iotp.fast-fun.cn\"";
|
|
|
uint16 WebSitePort = 8712;
|
|
|
+#define EEP_START_SEC_VAR_INIT_8_NO_CACHEABLE
|
|
|
+#include "Eep_MemMap.h"
|
|
|
+AppConfigBody AppConfigInfo = {false, false, {defaultSn}, {0}};
|
|
|
+#define EEP_STOP_SEC_VAR_INIT_8_NO_CACHEABLE
|
|
|
+#include "Eep_MemMap.h"
|
|
|
#else
|
|
|
const char WebSiteName[] = "\"nas.fast-fun.cn\"";
|
|
|
uint16 WebSitePort = 8812;
|
|
|
+#define EEP_START_SEC_VAR_INIT_8_NO_CACHEABLE
|
|
|
+#include "Eep_MemMap.h"
|
|
|
+AppConfigBody AppConfigInfo = {false, true, {defaultSn}, {0}};
|
|
|
+#define EEP_STOP_SEC_VAR_INIT_8_NO_CACHEABLE
|
|
|
+#include "Eep_MemMap.h"
|
|
|
#endif
|
|
|
|
|
|
//*全局变量*//
|
|
|
-const uint32 AppSwVersion = 0x00020109;
|
|
|
+const uint32 AppSwVersion = 0x0002010A;
|
|
|
const uint8 DataModuleType = 0x02; // 01=NB,02-4G
|
|
|
const uint16 HwVersion = 0x0102;
|
|
|
const uint32 BlSwVersion = 0x00000002;
|
|
@@ -138,7 +142,8 @@ UINT8 BcuRxFlag[28];
|
|
|
/************************************************************
|
|
|
*BCU->4G解码变量存放区
|
|
|
************************************************************/
|
|
|
-UINT8 BMS_CellRecvCounter=0; //每个电压收取标志位
|
|
|
+UINT8 BMS_CellRecvFlg = 0; //电压收取标志位
|
|
|
+UINT8 canRecvFramNum[BMS_CELL_MAX_NUM/3] = {0};
|
|
|
UINT8 BMS_ReqVIN = 0x00; // 是否请求VIN码,0:预留;1:请求VIN;2:不请求VIN;3:无效;,Re-1,Off-0,
|
|
|
UINT8 BMS_ReqHVOff = 0x00; // 是否请求下高压,0:预留;1:请求下高压;2:不请求下高压;3:无效;,Re-1,Off-0,
|
|
|
UINT8 BMS_ProtocolEditionH = 0x00; // 通讯协议版本高位(例 : 版本为3 .1, 则此处发3), , Re - 1, Off - 0,
|