RADIO_INFO2 structure

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 FMWEnabled:1;

uint32_t Reserved:30;

} 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

Features.FMWEnabled

Flag indicating that FMW extension module is installed

SOFTAGC_DATA structure

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