Difference between revisions of "TCP/IP filt"

From SmartSDR Wiki
Jump to: navigation, search
(FILT)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
filt <slice index> <low_cut_hz> <high_cut_hz>
+
=== FILT ===
 +
Set the filter parameters for a slice
 +
<pre>
 +
C[D]<seq_number>|filt <slice> <low> <high>
 +
where <slice> is the slice index on which to change the filter
 +
      <low> is the low cut in Hz
 +
      <high> is the high cut in Hz
 +
</pre>
 +
Example:
 +
<pre>C19|filt A 100 2800</pre>
  
- use positive frequencies for upper sideband, and negative frequencies for lower sideband
+
See [[SmartSDR TCP/IP API#Response Format|Response Format]] for details on the format of the response messages from the radio
  
- low_cut_hz must be less than high_cut_hz or command will be ignored
+
{| class="wikitable" style="text-align:center"
 +
|+Responses
 +
|-
 +
! Hex Response !! Message !! Debug Output / Meaning
 +
|-
 +
! 00000000
 +
| &nbsp; || align="left" | OK
 +
|-
 +
! 5000000D
 +
| &nbsp; || align="left" | Incorrect slice reciever
 +
|-
 +
! 5000002C
 +
| &nbsp; || align="left" | Incorrect number of parameters
 +
|}
 +
 
 +
Response Example:
 +
<pre>R19|0|</pre>

Latest revision as of 10:47, 28 February 2018

FILT

Set the filter parameters for a slice

C[D]<seq_number>|filt <slice> <low> <high>
where <slice> is the slice index on which to change the filter
      <low> is the low cut in Hz
      <high> is the high cut in Hz

Example:

C19|filt A 100 2800

See Response Format for details on the format of the response messages from the radio

Responses
Hex Response Message Debug Output / Meaning
00000000   OK
5000000D   Incorrect slice reciever
5000002C   Incorrect number of parameters

Response Example:

R19|0|