wfview/rigidentities.cpp
Elliott Liggett cd4e82378c Added support for various spectrum sizes and rig capability support.
wfview has been tested with the following Icom radios over USB port:
IC-7300, IC-7610, IC-7851 (and IC-7850), and IC-9700. It likely works
fine with the IC-705 as well. At this time, the rig's CIV address must
be changed in the preference file to indicate the rig you are using, and
this must be in integer, not hex.
2021-01-24 16:16:38 -08:00

53 lines
987 B
C++

#include "rigidentities.h"
// Copytight 2017-2021 Elliott H. Liggett
model_kind determineRadioModel(unsigned char rigID)
{
model_kind rig;
switch(rigID)
{
case model7100:
rig = model7100;
break;
case model7200:
rig = model7200;
break;
case model7300:
rig = model7300;
break;
case model7600:
rig = model7600;
break;
case model7610:
rig = model7610;
break;
case model7700:
rig = model7700;
break;
case model7800:
rig = model7800;
break;
case model7850:
rig = model7850;
break;
case model9700:
rig = model9700;
break;
case model705:
rig = model705;
break;
default:
rig = modelUnknown;
break;
}
return rig;
}