Added FFTTerm to the StreamReader I/O.
Some checks failed
🚀 Pack skyscraper8 / make-zip (push) Failing after 37s
Some checks failed
🚀 Pack skyscraper8 / make-zip (push) Failing after 37s
This commit is contained in:
parent
ecba6a5421
commit
8808dc92e0
@ -418,5 +418,10 @@ namespace skyscraper8.Skyscraper.FrequencyListGenerator
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool FFTTerm()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -504,12 +504,17 @@ namespace skyscraper8.Skyscraper.FrequencyListGenerator
|
||||
|
||||
public Version GetEngineVersion()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return ProxiedStreamReader.GetEngineVersion();
|
||||
}
|
||||
|
||||
public string GetEngineName()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return ProxiedStreamReader.GetEngineName();
|
||||
}
|
||||
|
||||
public bool FFTTerm()
|
||||
{
|
||||
return ProxiedStreamReader.FFTTerm();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -496,7 +496,8 @@ namespace skyscraper5.Skyscraper.IO.CrazycatStreamReader
|
||||
SR_AIRSCAN = 0x800000,
|
||||
SR_CIRSCAN = 0x1000000,
|
||||
SR_FFTSCAN = 0x2000000,
|
||||
SR_CARESNO = 0x4000000
|
||||
}
|
||||
SR_CARESNO = 0x4000000,
|
||||
SR_SETPOL = 0x8000000
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -433,5 +433,6 @@ namespace skyscraper5.Skyscraper.IO
|
||||
/// </summary>
|
||||
/// <returns>For example: "StreamReaderEx for BDA Tuners</returns>
|
||||
string GetEngineName();
|
||||
}
|
||||
bool FFTTerm();
|
||||
}
|
||||
}
|
||||
|
||||
@ -928,5 +928,22 @@ namespace skyscraper5.Skyscraper.IO.RemoteStreamReader
|
||||
throw new NotImplementedException(result.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
public bool FFTTerm()
|
||||
{
|
||||
TcpStream.WriteUInt32BE((uint)RemoteStreamReaderConstants.REQUEST_FFT_TERM);
|
||||
TcpStream.Flush();
|
||||
|
||||
RemoteStreamReaderConstants result = (RemoteStreamReaderConstants)TcpStream.ReadUInt32BE();
|
||||
switch (result)
|
||||
{
|
||||
case RemoteStreamReaderConstants.COMMAND_SUCCESSFUL:
|
||||
return true;
|
||||
case RemoteStreamReaderConstants.COMMAND_FAILED:
|
||||
return false;
|
||||
default:
|
||||
throw new NotImplementedException(result.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,6 +41,7 @@
|
||||
REQUEST_GET_SIGNAL_EX_EX,
|
||||
REQUEST_SKYSCRAPER_ENGINE_NAME,
|
||||
REQUEST_SKYSCRAPER_ENGINE_VERSION,
|
||||
REQUEST_RF_SCAN_2
|
||||
}
|
||||
REQUEST_RF_SCAN_2,
|
||||
REQUEST_FFT_TERM
|
||||
}
|
||||
}
|
||||
|
||||
@ -303,5 +303,10 @@ namespace skyscraper5.Skyscraper.IO.TunerInterface
|
||||
{
|
||||
return this.GetType().Name;
|
||||
}
|
||||
|
||||
public bool FFTTerm()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user