/// <summary> /// Serialise the contents of the EZSP structure. </summary> public int[] Serialize(EzspSerializer serializer) { serializer.SerializeEmberInitialSecurityBitmask(_bitmask); serializer.SerializeEmberKeyData(_preconfiguredKey); serializer.SerializeEmberKeyData(_networkKey); serializer.SerializeUInt8(_networkKeySequenceNumber); serializer.SerializeEmberEui64(_preconfiguredTrustCenterEui64); return(serializer.GetPayload()); }