Skip to content

Commit

Permalink
Decrease MaxInfoRX and MaxInfoTX values if UseFrameSize is used.
Browse files Browse the repository at this point in the history
  • Loading branch information
gurux01 committed Oct 5, 2018
1 parent 8bfe1f2 commit fe8904b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,4 @@ pip-log.txt
Development/.vs/Gurux.DLMS.Net/DesignTimeBuild/.dtbcache
Gurux.DLMS.Client.Example.Net/.vs/Gurux.DLMS.Client.Example.Net/DesignTimeBuild/.dtbcache
Gurux.DLMS.XmlClient/.vs/Gurux.DLMS.XmlClient/DesignTimeBuild/.dtbcache
Gurux.DLMS.Server.Example.Net/.vs/Gurux.DLMS.Server.Example/DesignTimeBuild/.dtbcache
4 changes: 2 additions & 2 deletions Development/GXDLMSClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -638,9 +638,9 @@ public byte[] SNRMRequest()
GXDLMSLimitsDefault.DefaultWindowSizeRX != Limits.WindowSizeRX)
{
data.SetUInt8((byte)HDLCInfo.MaxInfoTX);
GXDLMS.AppendHdlcParameter(data, Limits.MaxInfoTX);
GXDLMS.AppendHdlcParameter(data, (UInt16)maxInfoTX);
data.SetUInt8((byte)HDLCInfo.MaxInfoRX);
GXDLMS.AppendHdlcParameter(data, Limits.MaxInfoRX);
GXDLMS.AppendHdlcParameter(data, (UInt16)maxInfoRX);
data.SetUInt8((byte)HDLCInfo.WindowSizeTX);
data.SetUInt8(4);
data.SetUInt32(Limits.WindowSizeTX);
Expand Down
10 changes: 0 additions & 10 deletions Development/ManufacturerSettings/GXManufacturer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,6 @@ public string Info
set;
}


/// <summary>
/// Used extension class.
/// </summary>
public string Extension
{
get;
set;
}

/// <summary>
/// Is manufacturer setting removed.
/// </summary>
Expand Down

0 comments on commit fe8904b

Please sign in to comment.