¿ªÔÆÌåÓý

Transmit timing error: PTT is on 4005 mSec too long. Direwolf 1.6 #hamlib


 

I'm getting this transmit timing error.? I know this used to happen on older versions, but has anyone had it happen on later versions.? Any ideas on how to fix it or debug?

I had direwolf working but then this cropped up.? I'm running on Linux


 

Here's more info from -o

Dire Wolf version 1.6
Includes optional support for:? hamlib cm108-ptt

Reading config file direwolf.conf
Audio device for both receive and transmit: plughw:2,0? (channels 0 & 1)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate.
Channel 1: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate.
Hamlib determined CAT control serial port rate of 19200.
Note: PTT not configured for channel 1. (Ignore this if using VOX.)??????????????????????????????????????????????
Ready to accept AGW client application 0 on port 8000 ...????????????????????????????????????????????????????????
Ready to accept KISS TCP client application 0 on port 8001 ...???????????????????????????????????????????????????
DCD 0 = 1
DCD 1 = 1????????????????????????????????????????????????????????????????????????????????????????????????????????

Attached to KISS TCP client application 0...?????????????????????????????????????????????????????????????????????

Ready to accept KISS TCP client application 1 on port 8001 ...???????????????????????????????????????????????????
KISS protocol set hardware "TNC:", port 0????????????????????????????????????????????????????????????????????????
KISS protocol set hardware "MODEM:", port 0??????????????????????????????????????????????????????????????????????
KISS Set Hardware unrecognized command: MODEM.
KISS protocol set hardware "MODEML:", port 0
KISS Set Hardware unrecognized command: MODEML.
KISS protocol set hardware "MODEMBW:", port 0
KISS Set Hardware unrecognized command: MODEMBW.
PTT 0 = 1
Hamlib Error: rig_set_ptt command for channel 0 PTT
Communication bus error??????????????????????????????????????????????????????????????????????????????????????????
[0L] KI5SBM>APRS,WIDE1-1:=/>+!27d]\r? #,/W2 <0x0d>
Transmit timing error: PTT is on 4010 mSec too long.
PTT 0 = 0
Hamlib Error: rig_set_ptt command for channel 0 PTT
Communication bus error???


 

Does anyone know what causes this error?


 


When this Transmit Timing Error was reported in the past, it seemed to be caused by a hamlib failure.?


We see hamlib errors in this case:

Hamlib Error: rig_set_ptt command for channel 0 PTT
Communication bus error????????
Hamlib Error: rig_set_ptt command for channel 0 PTT
Communication bus error?

That might be the cause of the other error.
Let's try to fix that.

What do you have for the PTT line in the configuration file?


 

Thanks for the reply.? I rebuilt my Direwolf after reloading hamlib libraries.? That did not fix the issue.? I changed my CI-V baud setting for my radio from? 19200 to 9600...and changed it back to 19200, and it will now transmit again.? I have no idea why that worked, but your reply gave me some clues.

73,
Doug - KI5SBM


 

¿ªÔÆÌåÓý


Once you got the CAT communications working again, did your "transmit timing error" go away?

--David
KI6ZHD


On 12/10/2021 11:24 AM, Doug via groups.io wrote:

Thanks for the reply.? I rebuilt my Direwolf after reloading hamlib libraries.? That did not fix the issue.? I changed my CI-V baud setting for my radio from? 19200 to 9600...and changed it back to 19200, and it will now transmit again.? I have no idea why that worked, but your reply gave me some clues.

73,
Doug - KI5SBM


 

Yes, there are no errors now and it transmits fine.?


I was interpreting this as direwolf doing some error checking and it knew it wasn¡¯t transmitting. My guess is that 4sec is an internal timeout or something. Total speculation on my part.?


 

I'm still getting this error intermittently.? I don't know how to get it working again.? It seems I change a few settings on my radio and then change them back and it eventually works.? Any ideas?


 

Last night i could not get it to transmit.? I turned off the radio and wrote on this thread.? Today.? I just turned on my radio and ran direwolf and it transmitted fine without changing anything.?

(My computer was not rebooted.? Watched netflix...maybe that's the trigger.)


 

¿ªÔÆÌåÓý


When you have issues, you need to find out if you are seeing any errors wherever you're running Direwolf.? Hopefully you're logging everything to a file to make this easy for you.? You're previous issues were around hamlib issues.? Maybe those came back?? Maybe you're having some form of RFI issue?? How close is your computer from the radio and it's antenna?? You really want the antenna as far away as possible and ideally on a different plain (for example, mounted above you on top of your roof).

--David
KI6ZHD


On 12/18/2021 06:24 AM, Doug via groups.io wrote:

Last night i could not get it to transmit.? I turned off the radio and wrote on this thread.? Today.? I just turned on my radio and ran direwolf and it transmitted fine without changing anything.?

(My computer was not rebooted.? Watched netflix...maybe that's the trigger.)