PlcFrameWrapperUnWrap Method
Extracts wrapped DLMS frame.
byte DSAP, byte LSAP, ushort DestinationAddress, ushort SourceAddress, ushort length, byte[] data, con_class = 0
|____________________4-32 Data.Indication overhead___________________|________L_SDU______________|4-32-rozsireni|
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
public static ByteBuffer UnWrap(
ByteBuffer rawData,
out byte destSap,
out byte localSap,
out ushort destAddress,
out ushort sourceAddress
)
- rawData ByteBuffer
- Data returned from PLC.
- destSap Byte
- Destination (base node) SAP address.
- localSap Byte
- Local (meter) SAP address.
- destAddress UInt16
- Destination (base node) 432 address.
- sourceAddress UInt16
- Source (meter) 432 address.
ByteBufferDLMS frame.