C/C++ declaration
#pragma pack(1) // set byte packing typedef struct { int bLength; char szSerNum[9]; char szProdName[9]; DWORD dwMinFreq; DWORD dwMaxFreq; BYTE bNumBands; DWORD dwBandFreq[16]; DWORD dwLOfreq; BYTE bNumVcos; DWORD dwVcoFreq[8]; WORD wVcoDiv[8]; BYTE bVcoBits[8]; DWORD dwRefClk1; DWORD dwRefClk2; BYTE IF1DAC[8]; } OLD_RADIO_INFO; #pragma pack() // set back the default packing
Delphi declaration
type TOld_Radio_Info = packed record bLength : Integer; szSerNum : array [0..8] of char; szProdName : array [0..8] of char; dwMinFreq : DWORD; dwMaxFreq : DWORD; bNumBands : BYTE; dwBandFreq : array [0..15] of DWORD; dwLOfreq : DWORD; bNumVcos : BYTE; dwVcoFreq : array [0..7] of DWORD; wVcoDiv : array [0..7] of WORD; bVcoBits : array [0..7] of BYTE; dwRefClk1 : DWORD; dwRefClk2 : DWORD; IF1DAC : array [0..7] of BYTE; end; POld_Radio_Info = ^TOld_Radio_Info;
Members
bLength
Specifies the size of the structure, in bytes; it must be filled before calling GetInfo
szSerNum
8 characters long serial number ended by zero - this string may be directly passed to the Open function.
szProdName
8 characters long product name ended by zero
dwMinFreq
Minimum frequency supported by the receiver
dwMaxFreq
Maximum freuqnecy supported by the receiver
bNumBands
Number of band filters on RF input of the receiver; also, number of valid entries in dwBandFreq array
dwBandFreq
Crossover frequencies between band filters
dwLOfreq
Local oscillator offset
bNumVCOs
Number of VCOs on PLL board; also, number of valid entries in dwVcoFreq, wVcoDiv and bVcoBits arrays
dwVcoFreq
Highest frequency for each VCO
wVcoDiv
VCO dividers
bVcoBits
VCO select bits
dwRefClk1
Reference Clock1 frequency [Hz]
dwRefClk2
Reference Clock2 frequency [Hz], 0 if not fitted
IF1DAC
DACs on IF1 module
C/C++ declaration
#pragma pack(1) // set byte packing typedef struct { int bLength; char szSerNum[9]; char szProdName[9]; DWORD dwMinFreq; DWORD dwMaxFreq; BYTE bNumBands; DWORD dwBandFreq[16]; DWORD dwLOfreq; BYTE bNumVcos; DWORD dwVcoFreq[8]; WORD wVcoDiv[8]; BYTE bVcoBits[8]; DWORD dwRefClk1; DWORD dwRefClk2; BYTE IF1DAC[8]; int iAGCstart; int iAGCmid; int iAGCend; int iDropLevel; int iRSSItop; int iRSSIref; } RADIO_INFO; #pragma pack() // set back the default packing
Delphi declaration
type TRadio_Info = packed record bLength : Integer; szSerNum : array [0..8] of char; szProdName : array [0..8] of char; dwMinFreq : DWORD; dwMaxFreq : DWORD; bNumBands : BYTE; dwBandFreq : array [0..15] of DWORD; dwLOfreq : DWORD; bNumVcos : BYTE; dwVcoFreq : array [0..7] of DWORD; wVcoDiv : array [0..7] of WORD; bVcoBits : array [0..7] of BYTE; dwRefClk1 : DWORD; dwRefClk2 : DWORD; IF1DAC : array [0..7] of BYTE; iAGCstart : Integer; iAGCmid : Integer; iAGCend : Integer; iDropLevel : Integer; iRSSItop : Integer; iRSSIref : Integer; end; PRadio_Info = ^TRadio_Info;
Members
bLength
Specifies the size of the structure, in bytes; it must be filled before calling GetInfo
szSerNum
8 characters long serial number ended by zero - this string may be directly passed to the Open function.
szProdName
8 characters long product name ended by zero
dwMinFreq
Minimum frequency supported by the receiver
dwMaxFreq
Maximum freuqnecy supported by the receiver
bNumBands
Number of band filters on RF input of the receiver; also, number of valid entries in dwBandFreq array
dwBandFreq
Crossover frequencies between band filters
dwLOfreq
Local oscillator offset
bNumVCOs
Number of VCOs on PLL board; also, number of valid entries in dwVcoFreq, wVcoDiv and bVcoBits arrays
dwVcoFreq
Highest frequency for each VCO
wVcoDiv
VCO dividers
bVcoBits
VCO select bits
dwRefClk1
Reference Clock1 frequency [Hz]
dwRefClk2
Reference Clock2 frequency [Hz], 0 if not fitted
IF1DAC
DACs on IF1 module
iAGCstart
Raw AGC level at low power (-97dBm)
iAGCmid
Raw AGC value 5dB above AGC start
iAGCend
raw AGC value at -30dBm
iDropLevel
The level where AGC starts *10dBm
iRSSItop
The level where raw RSSI value is 0x03FF *10dBm
iRSSIref
Raw RSSI value at -97dBm
C/C++ declaration
#pragma pack(1) // set byte packing typedef struct { uint32_t bLength; char szSerNum[9]; char szProdName[9]; uint64_t MinFreq; uint64_t MaxFreq; struct { uint32_t ExtRef:1; uint32_t Reserved:31; } Features; } RADIO_INFO2; #pragma pack() // set back the default packing
Members
bLength
Specifies the size of the structure, in bytes; It must be filled before calling GetInfo
szSerNum
8 characters long serial number ended by zero - this string may be directly passed to the Open function.
szProdName
8 characters long product name ended by zero
MinFreq
Minimum frequency supported by the receiver
MaxFreq
Maximum frequency supported by the receiver
Features.ExtRef
Flag indicating that external frequency reference is available and can be used
C/C++ declaration
#pragma pack(1) // set byte packing typedef struct { int bLength; // Length of structure in bytes int iRefLevel; // AGC reference level in dB DWORD dwAttackTime; // AGC attack time in ms DWORD dwDecayTime; // AGC decay time in ms } SOFTAGC_DATA; #pragma pack() // set back the default packing
Delphi declaration
type TSoftAGC_Data = packed record bLength : Integer; iRefLevel : Integer; dwAttackTime : DWORD; dwDecayTime : DWORD; end; PSoftAGC_Data = ^TSoftAGC_Data;
Members
bLength
Specifies the size of the structure, in bytes; it must be filled before passing the structure as argument to functions
iRefLevel
AGC reference level in dB
dwAttackTime
AGC attack time
dwDecayTime
AGC decay time