/// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeUInt8(_channel);
     serializer.SerializeUInt16(_panId);
     serializer.SerializeExtendedPanId(_extendedPanId);
     serializer.SerializeBool(_allowingJoin);
     serializer.SerializeUInt8(_stackProfile);
     serializer.SerializeUInt8(_nwkUpdateId);
     return(serializer.GetPayload());
 }
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeExtendedPanId(_extendedPanId);
     serializer.SerializeUInt16(_panId);
     serializer.SerializeUInt8(_radioTxPower);
     serializer.SerializeUInt8(_radioChannel);
     serializer.SerializeEmberJoinMethod(_joinMethod);
     serializer.SerializeUInt16(_nwkManagerId);
     serializer.SerializeUInt8(_nwkUpdateId);
     serializer.SerializeUInt32(_channels);
     return(serializer.GetPayload());
 }