Gurux.DLMS.GXDLMSNotify.GenerateDataNotificationMessages C# (CSharp) Method

GenerateDataNotificationMessages() public method

Generates data notification message(s).
public GenerateDataNotificationMessages ( System.DateTime time, GXByteBuffer data ) : byte[][]
time System.DateTime Date time. Set To Min or Max if not added
data GXByteBuffer Notification body.
return byte[][]
        public byte[][] GenerateDataNotificationMessages(DateTime time, GXByteBuffer data)
        {
            byte[][] reply;
            if (UseLogicalNameReferencing)
            {
                GXDLMSLNParameters p = new GXDLMSLNParameters(Settings, Command.DataNotification, 0, null, data, 0xff);
                p.time = time;
                p.time.Skip |= DateTimeSkips.Ms;
                reply = GXDLMS.GetLnMessages(p);
            }
            else
            {
                GXDLMSSNParameters p = new GXDLMSSNParameters(Settings, Command.DataNotification, 1, 0, data, null);
                reply = GXDLMS.GetSnMessages(p);
            }
            return reply;
        }

Same methods

GXDLMSNotify::GenerateDataNotificationMessages ( System.DateTime time, int>.List objects ) : byte[][]
GXDLMSNotify::GenerateDataNotificationMessages ( System.DateTime time, byte data ) : byte[][]