Open w8wjb opened 6 years ago
I don't have a Mac and have not been able to reproduce this problem on Linux. However, a bug that caused some strange behavior with KISS over TCP was fixed recently. Can you try the most recent version on the "dev" branch and see if the issue persists? Thanks.
I also found the same problem. You can clearly watch direwolf not pass the messages over the KISS TNC connection. Its sometimes almost every other packet. I've used 1.5 and the current beta test 2. This does not effect AGW protocol. It only does it on KISS. I'm running linux.
As it turns out. My problem was related to incorrectly handling parts of the protocol and timing that caused my issues. Its working fine now after realizing that. I'm guessing there's logic in direwolf to kinda ignore things when they aren't expected. Cheers!
Is there any reason to keep this open any longer?
Hello! I use versions 1.7 and 1.8 of direwolf. It sends data to kissserial, this data is logged by direwolf. However, it does not send it on to kiss TCP. I think that data sent to kissserial should be forwarded to direwolf over tcp. Am I getting this right? Is it possible that I made a mistake and it depends on the setting? OS: archlinux, direwolf version: 1.7, 1.7.1, 1.8 If I understand correctly, this is a similar bug to this bug ticket. But correct me if I'm wrong!
Thx
@dandidev - Your issue seems to be different than this Github issue ticket and github issues are generally only for reporting bugs or enhancement requests. Please repost your issue to the direwolf@groups.io list to get help. In that email, please detail your scenario on what kind of packets you're seeing/not-seeing be it connected or non-connected packets, etc.
I am working with the latest version (commit 590c82b) of Direwolf on a Mac. There seems to be some problems with transmitting packets via the KISS TCP interface. I am working on a client application that connects to the KISS port and sends packets. After struggling to figure out what was wrong with my code, I began to suspect that maybe the problem is with Direwolf. So I took my app out of the equation by using kissutil to format and send the packets instead and discovered an issue.
To reproduce the issue, I created a text file with a sample packet found in the User Guide:
K1NRO-1>APDW14,WIDE2-2:!4238.80NS07105.63W#PHG5630
I started Direwolf:
direwolf -t 0 -d kn
and then also started kissutil:./kissutil -f ~/tmp/kisstest
I then copied the sample packet into the transmit directory, sequentially, 4 times, waiting each time for the audio to let me know that the packet had been processed. In addition, I ran Wireshark in order to capture the packets passing over the loopback interface, just to ensure that the bytes produced by kissutil were exactly the same.Even though it is the exact same packet of data, you can see from the log that Direwolf does not process it the same way all 4 times.
Here is the output from kissutil:
Here is the output from direwolf: