/// <summary> /// Method for serializing the command fields </summary> public override int[] Serialize() { SerializeHeader(_serializer); _serializer.SerializeEzspNetworkScanType(_scanType); _serializer.SerializeUInt32(_channelMask); _serializer.SerializeUInt8(_duration); return(_serializer.GetPayload()); }