public byte[] GetBytesCemi() { TunnelCemiRequest builder = new TunnelCemiRequest(); builder.Build(MulticastAddress.FromString("0/0/0"), MulticastAddress.FromString("0/0/0"), ApciTypes.IndividualAddressWrite, 255, _address.GetBytes()); builder.SetPriority(Prios.System); return(builder.GetBytes()); }
public byte[] GetBytesCemi() { TunnelCemiRequest builder = new TunnelCemiRequest(); List <byte> data = new List <byte>(); data.AddRange(Serial); data.AddRange(NewAddress.GetBytes()); data.AddRange(new byte[] { 0, 0, 0, 0 }); builder.Build(UnicastAddress.FromString("0.0.0"), MulticastAddress.FromString("0/0/0"), ApciTypes.IndividualAddressSerialNumberWrite, 255, data.ToArray()); builder.SetPriority(Prios.System); return(builder.GetBytes()); }