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

Switching config from IC-9700 to TS-590 and back fails on IC-9700 #587

Closed
mdblack98 opened this issue Mar 6, 2021 · 1 comment
Closed
Labels
bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. WSJTX Bugs affecting WSTJ-X operations

Comments

@mdblack98
Copy link
Contributor

Starting WSJT-X the IC-9700 works fine. Switch config to TS-590...then switch back to IC-9700 the IC-9700 fails in set_ptt
[2021-03-06 13:47:56.257083][00:04:53.468681][RIGCTRL:trace] #: 9 Transceiver::TransceiverState(online: yes Frequency {144170000Hz, 144170000Hz} Mode: 7; SPLIT: on; PTT: off)
[2021-03-06 13:47:56.257083][00:04:53.468690][RIGCTRL:trace] PTT: false Transceiver::TransceiverState(online: yes Frequency {144170000Hz, 144170000Hz} Mode: 7; SPLIT: on; PTT: on) reversed=false
[2021-03-06 13:47:56.257083][00:04:53.468697][RIGCTRL:trace] rig_set_ptt PTT=false
[2021-03-06 13:47:56.257083][00:04:53.468706][RIGCTRL:debug] rig.c(2514):rig_set_ptt entered
[2021-03-06 13:47:56.257083][00:04:53.468713][RIGCTRL:debug] icom_set_ptt called
[2021-03-06 13:47:56.257083][00:04:53.468723][RIGCTRL:debug] icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=1
[2021-03-06 13:47:56.257083][00:04:53.468730][RIGCTRL:trace] rig_flush: called for serial device
[2021-03-06 13:47:56.257083][00:04:53.468737][RIGCTRL:debug] serial.c(629):serial_flush entered
[2021-03-06 13:47:56.257083][00:04:53.468742][RIGCTRL:debug] tcflush
[2021-03-06 13:47:56.258082][00:04:53.469482][RIGCTRL:debug] serial.c(661):serial_flush return
[2021-03-06 13:47:56.258082][00:04:53.469494][RIGCTRL:debug] write_block called
[2021-03-06 13:47:56.258082][00:04:53.469713][RIGCTRL:trace] write_block(): TX 8 bytes
[2021-03-06 13:47:56.258082][00:04:53.469726][RIGCTRL:trace] 0000 fe fe a2 e0 1c 00 00 fd ........
[2021-03-06 13:47:56.258082][00:04:53.469733][RIGCTRL:trace] read_string called, rxmax=80
[2021-03-06 13:47:56.268849][00:04:53.480087][RIGCTRL:trace] read_string(): RX 6 characters
[2021-03-06 13:47:56.268849][00:04:53.480100][RIGCTRL:trace] 0000 fe fe e0 a2 fb fd ......
[2021-03-06 13:47:56.268849][00:04:53.480107][RIGCTRL:trace] icom_one_transaction: data_len=1, frm_len=6
[2021-03-06 13:47:56.268849][00:04:53.480115][RIGCTRL:debug] frame.c(337):icom_transaction return
[2021-03-06 13:47:56.268849][00:04:53.480121][RIGCTRL:debug] icom.c(3575):icom_set_ptt return
[2021-03-06 13:47:56.268849][00:04:53.480128][RIGCTRL:debug] rig.c(2753):rig_get_ptt entered
[2021-03-06 13:47:56.268849][00:04:53.480135][RIGCTRL:trace] elapsed_ms: start = 1615038476,257083400
[2021-03-06 13:47:56.268849][00:04:53.480147][RIGCTRL:trace] elapsed_ms: elapsed_msecs=12
[2021-03-06 13:47:56.268849][00:04:53.480153][RIGCTRL:trace] rig_get_ptt: cache check age=11ms
[2021-03-06 13:47:56.268849][00:04:53.480159][RIGCTRL:trace] rig_get_ptt: cache hit age=11ms
[2021-03-06 13:47:56.268849][00:04:53.480165][RIGCTRL:debug] rig.c(2767):rig_get_ptt return
[2021-03-06 13:47:56.268849][00:04:53.480172][RIGCTRL:warning] rig_set_ptt: failed, retry=3
[2021-03-06 13:47:56.268849][00:04:53.480180][RIGCTRL:debug] icom_set_ptt called
[2021-03-06 13:47:56.268849][00:04:53.480189][RIGCTRL:debug] icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=1
[2021-03-06 13:47:56.268849][00:04:53.480196][RIGCTRL:trace] rig_flush: called for serial device
[2021-03-06 13:47:56.268849][00:04:53.480202][RIGCTRL:debug] serial.c(629):serial_flush entered
[2021-03-06 13:47:56.268849][00:04:53.480207][RIGCTRL:debug] tcflush
[2021-03-06 13:47:56.268849][00:04:53.480424][RIGCTRL:debug] serial.c(661):serial_flush return
[2021-03-06 13:47:56.268849][00:04:53.480435][RIGCTRL:debug] write_block called
[2021-03-06 13:47:56.269717][00:04:53.480736][RIGCTRL:trace] write_block(): TX 8 bytes
[2021-03-06 13:47:56.269717][00:04:53.480748][RIGCTRL:trace] 0000 fe fe a2 e0 1c 00 00 fd ........
[2021-03-06 13:47:56.269717][00:04:53.480754][RIGCTRL:trace] read_string called, rxmax=80
[2021-03-06 13:47:56.280017][00:04:53.491302][RIGCTRL:trace] read_string(): RX 7 characters
[2021-03-06 13:47:56.280017][00:04:53.491329][RIGCTRL:trace] 0000 fe 00 a2 01 01 02 fd .......
[2021-03-06 13:47:56.280017][00:04:53.491338][RIGCTRL:trace] icom_one_transaction: data_len=2, frm_len=7
[2021-03-06 13:47:56.280017][00:04:53.491349][RIGCTRL:debug] frame.c(337):icom_transaction return
[2021-03-06 13:47:56.280017][00:04:53.491361][RIGCTRL:error] icom_set_ptt: ack NG (0x01), len=2
[2021-03-06 13:47:56.280017][00:04:53.491370][RIGCTRL:debug] icom.c(3572):icom_set_ptt return
[2021-03-06 13:47:56.280017][00:04:53.491377][RIGCTRL:debug] rig.c(2549):rig_set_ptt return
[2021-03-06 13:47:56.280017][00:04:53.491381][RIGCTRL:error] error: Command rejected by the rig
icom.c(3572):icom_set_ptt return
rig.c(2549):rig_set_ptt return

@mdblack98 mdblack98 added bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. WSJTX Bugs affecting WSTJ-X operations labels Mar 6, 2021
@mdblack98 mdblack98 added this to the 4.2 milestone Mar 6, 2021
mdblack98 added a commit that referenced this issue Mar 6, 2021
If neither is received a timeout error occurs so a retry will be done
Serial corruption was causing NAK rejects which was the wrong way to handle it
#587
@mdblack98
Copy link
Contributor Author

IC-9700 config switching is working now.

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. WSJTX Bugs affecting WSTJ-X operations
Projects
None yet
Development

No branches or pull requests

1 participant