
Example, To set The NetSDR Channel 1 NCO frequency to 14.010 MHz.
The host sends this:
[0A][00] [20][00] [00] [90][C6][D5][00][00]
The Target responds with:
[0A][00] [20][00] [00] [90][C6][D5][00][00]
Example, To get the current NCO frequency for channel 2:
The host sends this:
[05][20] [20][00] [02]
The Target responds with:
[0A][00] [20][00] [02] [90][C6][D5][00] [00]
Example, To get the available frequency ranges and DownConverter VCO frequencies for channel 1:
The host sends this:
[05][40] [20][00] [00]
The Target responds with:
1 byte channel ID
1 byte number of frequency ranges
List of frequency ranges each consisting of 15 bytes
5 byte Frequency min
5 byte Frequency max
5 byte downconverter VCO Frequency
EXAMPLE:
Radio with a 100KHz to 34MHz and 140MHz to 150MHz capability responds with min and max frequency for each
band and a 5 byte Downconverter VCO frequency:
Band 1 100 KHz = 0x00000186A0
Band 1 34 MHz = 0x000206CC80
Band 1 0 MHz = 0x0000000000 //downconverter VCO not used so returns zero
Band 2 140 MHz = 0x0008583B00 //hi side injection since VCO is greater than frequency range
Band 2 150 MHz = 0x0008F0D180 // this will invert the spectrum in real mode
Band 2 160 MHz = 0x0009896800 //downconverter VCO frequency(IF range 10 to 20MHz)
[24][40] [20][00] [00] [02] [A0][86][01][00][00] [80][CC][06][02][00] [00][00][00][00][00]
[00][3B][58][08][00] [80][D1][F0][08][00] [00][68][89][09][00]
4.2.4 Receiver NCO Phase Offset
Purpose: Controls the NetSDR NCO phase offset when dual channels are used.
Control Item Code: 0x0022
Control Item Parameter Format:
The first parameter is a 1 byte channel ID.
Selects which channel to set or set all the same phase(0xFF)
Channel 1 ID == 0x00
Channel 2 ID == 0x02
Followed by a 4 byte phase value. (32 bit unsigned integer LSB first)
Example, To set The NetSDR Channel 2 NCO phase to 0x12345678
The host sends this:
Rev. 1.03 2011-11-01
18
Comentarios a estos manuales