DlmsFrameWrapper Class
Static class that wraps/extracts DLMS frame into/from units that can be send via TCP/UDP.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
public static class DlmsFrameWrapper
- Inheritance
- Object DlmsFrameWrapper
CreateServerWPort |
Creates server wPort number using server SAP address and server physical address.
|
ExtractDlms01 |
Returns DLMS frame from WPDU of version 1.
|
ExtractNextWpdu01(ByteBuffer) |
Extracts next WPDU version 1 frame from the beginning of rawData. If the frame is not found, empty buffer is returned.
|
ExtractNextWpdu01(ByteBuffer, Int32) |
Extracts next WPDU version 1 frame starting at position index. If the frame is found, index is updated to first byte in rawData beyond the returned frame.
If the frame is not found, empty buffer is returned and index is not updated.
|
IsEventNotificationRequest |
Checks if wpdu contains event notification request DLMS frame. It is supposed that wpdu contains complete WPDU of version 1.
|
IsReleaseAssociationRequest |
Checks if wpdu contains release association request DLMS frame. It is supposed that wpdu contains complete WPDU of version 1.
|
IsWpdu01Complete |
Checks if rawData contains complete WPDU of version 1 (version is not checked, only length of header and data).
|
ParseServerWPort |
Returns server SAP and physical address from a server WPort.
|
UnWrap01 |
Extracts wrapped DLMS frame. It checks WPDU version to be equal to 1.
|
Wrap01 |
Wraps dlms frame into unit that can be used for DLMS communication via TCP/UDP. It uses WPDU of version 1.
|