Issue when an 850-client emulated with LibIEC850 stack writes bitstring size 6 value encoded as 8 bits - with padding=0 (MMS encoding) - to the TrgOps attribute of a Report Control Block in the data model of the IEC61850 Server. The IEC61850 Server fieldbus driver is rejecting the SetURCBValues and SetBRCBValues services (== MMS write request to RCB.TrgOps) with the log error message "TrgOps is out of range".
The correct size - a bitstring with padding=2 - works as expected. The reason for the encoding restriction is that the server supports only 6 bits in TrgOps of RCBs according to standard IEC 61850-8-1.
This behavior has been modified. IEC 61850 Server now also accepts up to 8 bits size MMS bitstring as TrgOps value in RCBs. This means that the driver accepts and decodes from MMS bitstrings to TrgOps values with as well padding=0.
To benefit from this fix: