private Byte[] ToBinaryEvent(Event e, bool littleEndian)
        {
            List <Byte> result = new List <byte>();

            result.AddRange(NodeAddress.Uint16ToByte(littleEndian));

            result.Add(e.OPCode);

            result.AddRange(e.Args);

            return(result.ToArray());
        }
        private Byte[] NetworkConfig()
        {
            List <Byte> result = new List <Byte>();

            result.AddRange(NodeAddress.Uint16ToByte(ShieldNode.ShieldBase.LittleEndian));

            result.Add(Channel);

            result.AddRange(PanId.Uint16ToByte(ShieldNode.ShieldBase.LittleEndian));

            result.AddRange(SecurityKey);

            return(result.ToArray());
        }