|
@@ -585,8 +585,8 @@ static void TcpDataInfoAssembleSend()
|
|
|
UINT8 *SendBuffer = NULL;
|
|
|
UINT8 BufferLen = 0;
|
|
|
UINT8 rbuf[100];
|
|
|
- sprintf((char *)rbuf,"%d,%x,%x,%d,%d,%d,%d,%d,,%d,%d,%d,%d,%d,%d,%d",
|
|
|
- Data_Current,BattRemainCap,battProtectState,SOC2,SOC1,battSOC,AppDataInfo.RelayControl,chargerConnectState,
|
|
|
+ sprintf((char *)rbuf,"%d,%x,%x,%d,%d,,%d,%d,%d,%d,%d,%d,%d",
|
|
|
+ Data_Current,BattRemainCap,battProtectState,AppDataInfo.RelayControl,chargerConnectState,
|
|
|
AppDataInfo.rentaltype,AppDataInfo.ExpiryTimeArray[0],AppDataInfo.ExpiryTimeArray[1],AppDataInfo.ExpiryTimeArray[2],AppDataInfo.ExpiryTimeArray[3],AppDataInfo.ExpiryTimeArray[4],AppDataInfo.ExpiryTimeArray[5]);
|
|
|
BufferLen = strlen(rbuf);
|
|
|
SendBuffer = malloc(BufferLen+sizeof(DebugMsgInfo));
|