public byte[] GetBytesCemi() { TunnelCemiRequest builder = new TunnelCemiRequest(); builder.Build(UnicastAddress.FromString("0.0.0"), MulticastAddress.FromString("0/0/0"), ApciTypes.IndividualAddressRead); return(builder.GetBytes()); }
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[] GetBytesEmi1() { TunnelEmi1Request builder = new TunnelEmi1Request(); builder.Build(UnicastAddress.FromString("0.0.0"), MulticastAddress.FromString("0/0/0"), ApciTypes.IndividualAddressRead); builder.SetChannelId(ChannelId); builder.SetSequence(SequenceCounter); return(builder.GetBytes()); }
public byte[] GetBytesEmi1() { List <byte> data = new List <byte>() { 0x11, 0x00 }; TunnelRequest builder = new TunnelRequest(); builder.Build(UnicastAddress.FromString("0.0.0"), MulticastAddress.FromString("0/0/0"), ApciTypes.IndividualAddressRead); data.AddRange(builder.GetBytes()); return(data.ToArray()); }
public byte[] GetBytesCemi() { List <byte> data = new List <byte>() { 0x11, 0x00 }; TunnelRequest builder = new TunnelRequest(); builder.Build(MulticastAddress.FromString("0/0/0"), MulticastAddress.FromString("0/0/0"), ApciTypes.IndividualAddressWrite, 255, _address.GetBytes()); builder.SetPriority(Prios.System); data.AddRange(builder.GetBytes()); return(data.ToArray()); }
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()); }