kopia lustrzana https://github.com/Hamlib/Hamlib
Allow for PowerSDR ID in Kenwood TS2000 emulation mode
PowerSDR accepts a ZZID; command which changes the result of subsequent ID; commands to ID900;. Since there seems no way of telling PowerSDR to revert to the true TS2000 ID of ID019; we have to accept ID900; as a TS2000. Allow for SmartSDR Kenwood compatible IDs of 904 - 907 as TS-2000 synonyms.Hamlib-3.0
rodzic
baa192ea05
commit
4d6dacb92f
|
@ -567,7 +567,13 @@ int kenwood_open(RIG *rig)
|
|||
return -RIG_EPROTO;
|
||||
}
|
||||
|
||||
if (!strcmp ("IDID900", id)) /* DDUtil in TS-2000 mode */
|
||||
if (!strcmp ("IDID900", id) /* DDUtil in TS-2000 mode */
|
||||
|| !strcmp ("ID900", id) /* PowerSDR after ZZID; command */
|
||||
|| !strcmp ("ID904", id) /* SmartSDR Flex-6700 */
|
||||
|| !strcmp ("ID905", id) /* PowerSDR Flex-6500 */
|
||||
|| !strcmp ("ID906", id) /* PowerSDR Flex-6700R */
|
||||
|| !strcmp ("ID907", id) /* PowerSDR Flex-6300 */
|
||||
)
|
||||
{
|
||||
strcpy (id, "ID019"); /* fake it */
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue