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

IC-746Pro ptt error #1241

Closed
mdblack98 opened this issue Mar 4, 2023 · 0 comments
Closed

IC-746Pro ptt error #1241

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

Comments

@mdblack98
Copy link
Contributor

COM7 for CAT and COM10 for RTS ptt.
Hamlib is still querying rig ptt and somehow the 1st byte 0xfe is coming in before the command is sent???
I think we'll change rig_get_ptt to check the serial port RTS/DTR first instead of the CAT command.

[2023-03-03 17:40:14.448086][00:24:02.012097][RIGCTRL:trace] rig_get_mode mode=USB bw=3000
[2023-03-03 17:40:14.448086][00:24:02.012114][RIGCTRL:trace] mode: USB
[2023-03-03 17:40:14.448086][00:24:02.012135][RIGCTRL:debug] 1443:rig.c(3287):rig_get_ptt entered
[2023-03-03 17:40:14.448086][00:24:02.012156][RIGCTRL:trace] rig_get_ptt: cache check age=958ms
[2023-03-03 17:40:14.448086][00:24:02.012176][RIGCTRL:trace] rig_get_ptt: cache miss age=958ms
[2023-03-03 17:40:14.448086][00:24:02.012196][RIGCTRL:trace] rig.c(3400) trace
[2023-03-03 17:40:14.448833][00:24:02.012220][RIGCTRL:debug] 1444:icom.c(5061):icom_get_ptt entered
[2023-03-03 17:40:14.448833][00:24:02.012243][RIGCTRL:debug] 1445:frame.c(425):icom_transaction entered
[2023-03-03 17:40:14.448833][00:24:02.012267][RIGCTRL:debug] icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=0
[2023-03-03 17:40:14.448833][00:24:02.012290][RIGCTRL:debug] 1446:frame.c(138):icom_one_transaction entered
[2023-03-03 17:40:14.448833][00:24:02.012311][RIGCTRL:trace] rig_flush: called for serial device
[2023-03-03 17:40:14.448833][00:24:02.012334][RIGCTRL:trace] read_string_generic called, rxmax=4095 direct=1, expected_len=1
[2023-03-03 17:40:14.459331][00:24:02.022887][RIGCTRL:trace] 0000 fe .
[2023-03-03 17:40:14.459331][00:24:02.023241][RIGCTRL:trace] write_block(): TX 7 bytes, method=2
[2023-03-03 17:40:14.459331][00:24:02.023270][RIGCTRL:trace] 0000 fe fe 66 e0 1c 00 fd ..f....
[2023-03-03 17:40:14.459331][00:24:02.023303][RIGCTRL:trace] read_string_generic called, rxmax=200 direct=1, expected_len=1
[2023-03-03 17:40:14.470577][00:24:02.034334][RIGCTRL:trace] read_string_generic(): RX 6 characters, direct=1
[2023-03-03 17:40:14.470577][00:24:02.034402][RIGCTRL:trace] 0000 fe 66 e0 1c 00 fd .f....
[2023-03-03 17:40:14.470577][00:24:02.034437][RIGCTRL:trace] icom_one_transaction: DEBUG retval=6, frm_len=7, cmd=0x1c
[2023-03-03 17:40:14.470577][00:24:02.034470][RIGCTRL:debug] 1446:frame.c(242):icom_one_transaction returning(-8) Protocol error
[2023-03-03 17:40:14.470577][00:24:02.034578][RIGCTRL:warning] icom_transaction: retry=3: rig_get_ptt: cache check age=958ms

@mdblack98 mdblack98 added the bug label Mar 4, 2023
@mdblack98 mdblack98 added this to the 4.5.5 milestone Mar 4, 2023
mdblack98 added a commit that referenced this issue Mar 4, 2023
@mdblack98 mdblack98 added the critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. label Mar 6, 2023
mdblack98 added a commit that referenced this issue Mar 6, 2023
@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 Mar 6, 2023
mdblack98 added a commit that referenced this issue Mar 7, 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

1 participant