DlmsFramesLengthLenghtOfSetReqWithFirstDataBlock Method
Calculates length of set-request-with-first-block frame.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
public static int LenghtOfSetReqWithFirstDataBlock(
CosemAttributeDecsriptorWithSelection attribute,
int dataLength,
bool ciphered,
bool authentized
)
- attribute CosemAttributeDecsriptorWithSelection
- COSEM attribute with value for request.
- dataLength Int32
- Length of data that will be carried in SA block.
- ciphered Boolean
- If the APDU will be ciphered.
- authentized Boolean
- If the APDU will be authentized.
Int32