Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICOM ID-5100 - rigctl Get Frequency command failing #1200

Closed
leeott25 opened this issue Jan 2, 2023 · 0 comments
Closed

ICOM ID-5100 - rigctl Get Frequency command failing #1200

leeott25 opened this issue Jan 2, 2023 · 0 comments
Labels
bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. fixed Issue has been fixed

Comments

@leeott25
Copy link

leeott25 commented Jan 2, 2023

When rigctld is started or when entering the "f" command in rigctl, rigctld sends fe fe 8c 03 fd to the ID-5100 which seems to be correct. The ID-5100 replies with fe fe e0 8c 03 98 45 01 fd. The actual frequency of the Main vfo is 145.980. You can see how the reply from the ID-5100 matches the actual frequency. However, the format of the reply does not match the description of the 03 command described in the ID-5100 full manual. See page 13-9. Rigctld detects the wrong frame length. The following shows a section of the log from rigctld.

write_block(): TX 6 bytes, method=2
0000 fe fe 8c e0 03 fd ......
read_string_generic called, rxmax=200 direct=1, expected_len=1
read_string_generic(): RX 6 characters, direct=1
0000 fe fe 8c e0 03 fd ......
icom_one_transaction: DEBUG retval=6, frm_len=6, cmd=0x03
read_string_generic called, rxmax=200 direct=1, expected_len=1
read_string_generic(): RX 9 characters, direct=1
0000 fe fe e0 8c 03 98 45 01 fd ......E..
icom_one_transaction: frm_len=9, frm_len-1=fd, frm_len-2=01
-23:frame.c(403):icom_one_transaction returning(0)
-24:frame.c(455):icom_transaction returning(0)
icom.c(1653) trace
set_vfo_curr: vfo=Main, curr_vfo=Main
set_vfo_curr: curr_vfo now=Main
icom.c(9402):set_vfo_curr returning2(0)
icom_get_freq: wrong frame len=3
-25:icom.c(1698):icom_get_freq returning(-9) Command rejected by the rig

rig_get_freq(2098): freqMainA=0, modeMainA=, widthMainA=0
rig_get_freq(2098): freqMainB=0, modeMainB=, widthMainB=0
rig_set_cache_freq(117): freqMainA=0, modeMainA=, widthMainA=0
rig_set_cache_freq(117): freqMainB=0, modeMainB=, widthMainB=0
rig_set_cache_freq(122): vfo=Main, current_vfo=Main
rig_set_cache_freq(142): set vfo=Main to freq=0
rig_set_cache_freq(215): freqMainA=0, modeMainA=, widthMainA=0
rig_set_cache_freq(215): freqMainB=0, modeMainB=, widthMainB=0
-26:rig_get_freq: elapsed=63ms
-26:rigctl_parse.c(2101):rigctl_get_freq returning(-9) Command rejected by the rig

rigctl_parse: return#1 RPRT -9
mutex_rigctld: client lock disengaged
handle_socket: rigctl_parse retcode=-9
mutex_rigctld: client lock engaged
mutex_rigctld: client lock disengaged
handle_socket: doing rigctl_parse vfo_mode=0, secure=0
rigctl_parse: called, interactive=1

@mdblack98 mdblack98 added this to the 4.5.4 milestone Jan 2, 2023
@mdblack98 mdblack98 added bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. labels Jan 2, 2023
@mdblack98 mdblack98 pinned this issue Jan 2, 2023
mdblack98 added a commit that referenced this issue Jan 2, 2023
Remove get_powerstat from ID4100 ID31 ID51 as it they are not capable
Add new rig_is_model function to help with Icom rig identification checks
#1202
#1200
mdblack98 added a commit that referenced this issue Jan 2, 2023
Remove get_powerstat from ID4100 ID31 ID51 as it they are not capable
Add new rig_is_model function to help with Icom rig identification checks
#1202
#1200
@mdblack98 mdblack98 added needs test Patches have been submitted but need testing to close issue fixed Issue has been fixed and removed needs test Patches have been submitted but need testing to close issue labels Jan 2, 2023
@mdblack98 mdblack98 reopened this Jan 3, 2023
@mdblack98 mdblack98 unpinned this issue Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. fixed Issue has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants