|
@@ -714,8 +714,7 @@ namespace NB_IOT_TCP_HP_SOCKET
|
|
|
if (cm.IsEnd)
|
|
|
{
|
|
|
PSProtocol protocol2 = new PSProtocol(psp.DestNumber, psp.SourceNumber, RandomTime());
|
|
|
- protocol2.Type = psp.Type;
|
|
|
- protocol2.PackNum = psp.PackNum;
|
|
|
+ protocol2.Type = FrameType.Battery_EndComm;
|
|
|
|
|
|
if (!ProtocolAnalysisTools.OuterPack(protocol2, out byte[] buffer3).Result)
|
|
|
{
|