N0BOY / FT8CN

Run FT8 on Android
MIT License
321 stars 27 forks source link

KX3 Setup #90

Open ArtWK2S opened 6 months ago

ArtWK2S commented 6 months ago

KX3 should be in DATA mode when operating to remove filters. If the KX3 is set to DATA and the setup is entered and exited the DATA mode is turned off.

komacke commented 4 months ago

Having this issue also. And if I manually switch it to data on the KX3 panel, ft8cn switches it again to USB when I change bands.

Looking at the code to make a suggestion. It appears method setUsbModeToRig() is called on BaseRig extended objects. So perhaps what we need is a new method ElecraftRigConstant.setOperationDataMode() copied from ElecraftRigConstant.setOperationUSBMode(). Then call DataMode from setUsbModeToRig(). Alternatively, just modify ElecraftRigConstant.setOperationUSBMode() to return DATA_MODE.

A new ElecraftRigConstant is needed: private static final String DATA_MODE = "MD6;";

MD6 will work for the K[x]3 family. If I understand the Elecraft programming manually correctly, there might need to be some detection of the K2 or alternatively create a new rig. Does anyone use ft8cn with the K2?

komacke commented 4 months ago

I've created PR 100 to make this change. Please consider it for the release.