开云体育

Date

Re: Add Bluetooth…

 

开云体育

Completely agreed, direwolf+bluetooth is a great combo, extend it to the ax.25 network stack on the pi as well,

??

cool,
-craig
KM6LYW

On 5/1/22 2:52 PM, J K via groups.io wrote:


Anyone add Bluetooth support? ?I have a RPi02W with Fe-Pi audio board and even though have a Moblink TNC3 was thinking about getting a second TNC3, but then thought why not just add BT support to the RPi02W running DireWolf and it’d be basically the same thing.


Re: Direwolf as a TNC Help

 

So I have found if I set direwolf to

PTT /dev/ttyUSB1 -DTR RTS
then the FSK light comes on and when it transmits it flips from FSK to PTT.

That I find functional.

Now to figure out why nothing else understands it when it transmits.

I am thankful for all the replies and help, don't misunderstand my frustration but I do believe there is a issue with RTS and DTR in direwolf as I'm not the first to have this issue and likely not the last.


Re: Add Bluetooth…

Lynn Deffenbaugh
 

开云体育

I'm running Bluetooth to a Pi 2 Zero W with Direwolf as KJ4OVQ-9.? I connect to it from my APRSISMO/TestHost Android application when I'm in the vehicle to become a mobile IGate.? It only does SPP and not BLE, so iPhones don't even try it.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32




On 5/1/2022 5:52 PM, J K via groups.io wrote:


Anyone add Bluetooth support? ?I have a RPi02W with Fe-Pi audio board and even though have a Moblink TNC3 was thinking about getting a second TNC3, but then thought why not just add BT support to the RPi02W running DireWolf and it’d be basically the same thing.



Re: Direwolf as a TNC Help

 

It's definitely got to be a application issue.

I have a serial adapter on order as I can't find the one I have that shows via LED the signals going over the wire so that will have to wait but if I set WSJTX or FLRig or FLDigi to use RTS for PTT it triggers PROPERLY

If I set direwolf to RTS it triggers FSK and dead keys
If I set direwolf to DTR it triggers PTT and dead keys
If I set direwolf to RTS DTR it triggers PTT and FSK properly, as it should, RTS is set to PTT and DTR is set to FSK
-RTS DTR gives me PTT dead key
RTS -DTR gives me FSK dead key

It seems to me the application is sending the signal but not dropping it as it should or the signals are inverted from what they should be OR stop bits need to be put in place

direwolf is the common denominator in this equation. It's as if it's giving the wrong serial signal, and no I'm not the only one that's had this issue.
My fellow ham has had this issue and a search on the web can find others

I've found threads where others have had the issue and worked around the problem but quite frankly I shouldn't have to work around the problem, that's why I bought a sound serial interface device, to minimize the clutter and optimize space and power consumption.

At this point I'm seriously considering switching to a hardware TNC if I'm going to work around the problem.

While Direwolf is a novel application and concept it does not work in all situations, many YES but not all and some have to make it work by working around any problems they may run into.

This is sad to me. Will I use Direwolf again? Sure, I'll try it but if I run into similar issue I'll likely just spend the time or money to find another solution rather than waste hours upon hours of my time troubleshooting a problem I know to be a software issue.


Re: Direwolf as a TNC Help

 

开云体育


Hello Patrick,


Well dad gum, I could have SWORE for the life of me I tried that

On you original post to the [email protected] list, you posted:

?? "RTS DTR -> FSK & PTT flash on for a moment then turn off"


Do you have any idea what you changed since that first post on 4/29 @ 1pm until now?



Next, you sent a follow up email stating "It keys, it sends but my other station doesn't decode it. ".? That sounds like a standard audio level tuning issue.? What is your receiving radio?? Is it also running Direwolf?? Regardless, check out what I wrote up about this for a few other sound cards:

??


I'm not sure how the SCU-17 will present itself to alsamixer so you might need to make all the changes via the SCU-17's physical knobs.

--David
KI6ZHD


Re: Direwolf as a TNC Help

 

So it's keying but not decoding on the other end, I assume FSK is likely the issue but I really don't know.

It keys, it sends but my other station doesn't decode it.

It's currently going into a dummy load at 5W so I doubt it can be heard much further away than my approximate location.

Direwolf shows it's trying to send it


Re: Add Bluetooth…

 

Doh! Missed that message, ya beat me to it.

On 5/1/22 15:01, J K via groups.io wrote:
Looks straightforward.



13 Pro Max

On May 1, 2022, at 5:52 PM, J K via groups.io <kuhnje@...> wrote:


Re: Add Bluetooth…

 

Think this will help....?


Re: Direwolf as a TNC Help

 

Well dad gum, I could have SWORE for the life of me I tried that

I swapped RTS and DTR back and fourth and they both worked though it is triggering FKS and PTT at the same time it is working and I've successfully sent some messages to myself.

I tried some other combinations and got a dead key, but whatever, RTS DTR seems to do it, very weird

On 5/1/22 14:38, Lee Bengston wrote:
I had a similar problem when using a USB to serial adapter and an EasyDigi board. Both the RTS and DTR pins are wired to the EasyDigi - presumably so that either one can be selected for PTT by the client. Lines that seemed like they should work either gave me no PTT or a constant transmit. The only line that worked in direwolf.conf was this:

PTT /dev/ttyUSB0 RTS DTR

At the time I implemented the above, it was not considered a valid option based on my interpretation of what's in the manual, but it worked.? If it hasn't been tried already you might want to try the above and also try reversing RTS and DTR in the line if the above doesn't work. Of course change the serial port to match yours.

73,
Lee K5DAT


Re: Add Bluetooth…

 

开云体育

Looks straightforward.



13 Pro Max

On May 1, 2022, at 5:52 PM, J K via groups.io <kuhnje@...> wrote:

?

Anyone add Bluetooth support? ?I have a RPi02W with Fe-Pi audio board and even though have a Moblink TNC3 was thinking about getting a second TNC3, but then thought why not just add BT support to the RPi02W running DireWolf and it’d be basically the same thing.


Add Bluetooth…

 


Anyone add Bluetooth support? ?I have a RPi02W with Fe-Pi audio board and even though have a Moblink TNC3 was thinking about getting a second TNC3, but then thought why not just add BT support to the RPi02W running DireWolf and it’d be basically the same thing.


Re: Direwolf as a TNC Help

 

I had a similar problem when using a USB to serial adapter and an EasyDigi board. Both the RTS and DTR pins are wired to the EasyDigi - presumably so that either one can be selected for PTT by the client. Lines that seemed like they should work either gave me no PTT or a constant transmit. The only line that worked in direwolf.conf was this:

PTT /dev/ttyUSB0 RTS DTR

At the time I implemented the above, it was not considered a valid option based on my interpretation of what's in the manual, but it worked.? If it hasn't been tried already you might want to try the above and also try reversing RTS and DTR in the line if the above doesn't work. Of course change the serial port to match yours.

73,
Lee K5DAT


On Sun, May 1, 2022 at 3:25 PM Patrick <kd7wpq@...> wrote:
Understood, but toggling the switch should only switch the PTT method
whether that by PTT or FSK in accordance to the signal it receives, be
that RTS or DTR, but I digress, if my buddy and I have no luck I will
give that a go, pull it out and do some tinkering.

I'm still curious why I can get PTT in FLDigi without a issue but not
Direwolf, or rather it works correctly.

Another thing I thought about doing is grabbing one of my USB serial
adapters that shows what signals are being sent via LEDs on the adapter
and seeing what it shows me.

I'll report back when I have more results.







Virus-free.


Re: Direwolf as a TNC Help

 

Understood, but toggling the switch should only switch the PTT method whether that by PTT or FSK in accordance to the signal it receives, be that RTS or DTR, but I digress, if my buddy and I have no luck I will give that a go, pull it out and do some tinkering.

I'm still curious why I can get PTT in FLDigi without a issue but not Direwolf, or rather it works correctly.

Another thing I thought about doing is grabbing one of my USB serial adapters that shows what signals are being sent via LEDs on the adapter and seeing what it shows me.

I'll report back when I have more results.


Re: Direwolf as a TNC Help

 

开云体育


Hello Patrick,

It's a pretty remote possibility that this is a code bug since 1000s of people are successfully using Direwolf.? The unique thing here is that you're using the Yaesu SCU-17 device with matching Yaesu cable which many people don't have.? I would imagine you can make it work but you need to work your way through the testing steps I've offered to confirm you're actually getting the signals you expect.? To me, your core issue seems to be showing up with FSK led lighting up symptom.? It would be interesting to see if toggling that switch inside the radio body itself to see how that changes your outcome.

--David
KI6ZHD




On 05/01/2022 12:45 PM, Patrick wrote:

Hopefully I haven't baffled or stumped everyone.

Granted I'm a bit stumped as to why it's not working.

Is it possible it's a application bug and if so what do I need to do to request it be fixed?



Re: Direwolf as a TNC Help

 

Hopefully I haven't baffled or stumped everyone.

Granted I'm a bit stumped as to why it's not working.

Is it possible it's a application bug and if so what do I need to do to request it be fixed?


Re: Direwolf as a TNC Help

 

Nope, I have FLRig and FLDigi configured to use my 857 by default.

FLRig is pointed to /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00AC0110-if00-port0

Firewolf (/dev/ttyUSB1) is configured to use
/dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F8CEC3-if01-port0

No other applications are running using those devices unless I open them

And just for the heck of it I just configured FLDigi to use Hardware PTT (CAT turned off) to /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F8CEC3-if01-port0 with "Use RTS" checked, closed the config window and clicked on "Tune" and it keyed up. Click Tune again (to turn it off) and PTT let go.


Re: Direwolf as a TNC Help

 

What about Flrig? Are you using that with Fldigi? If so, Flrig is the program that is owning the serial port, not Fldigi, so it is what has to be shut down before starting DireWolf.

Andrew, KA2DDO
author of YAAC
________________________________________
From: [email protected] <[email protected]> on behalf of Patrick <kd7wpq@...>
Sent: Saturday, April 30, 2022 8:36 PM
To: [email protected]
Subject: Re: [direwolf] Direwolf as a TNC Help

Great question to be sure I'm not pointing two applications to the same
device :)

A easy mistake to make for sure, but no.

I opened FLDigi and ran it without direwolf running to see if it would
key PTT any different, and it did

The two applications are not run at the same time.

I'm trying to run YAAC with Direwolf as a KISS TNC interface but without
PTT working in Direwolf it's kind of pointless

And yes, I'm very sure FLDigi was dropping PTT when "Tune" was turned
off (not green).
I tested it twice.


Re: Direwolf as a TNC Help

 

Great question to be sure I'm not pointing two applications to the same device :)

A easy mistake to make for sure, but no.

I opened FLDigi and ran it without direwolf running to see if it would key PTT any different, and it did

The two applications are not run at the same time.

I'm trying to run YAAC with Direwolf as a KISS TNC interface but without PTT working in Direwolf it's kind of pointless

And yes, I'm very sure FLDigi was dropping PTT when "Tune" was turned off (not green).
I tested it twice.


Re: Direwolf as a TNC Help

 

I'll ask the obvious question:
?? You aren't trying to use /dev/ttyUSB1 when both FLDigi and Direwolf are running?
?? Being more specific, you are sure FLDigi is 'dropping' its connection to /dev/ttyUSB1 before you start Direwolf?

Robert Giuliano
KB8RCO



On Saturday, April 30, 2022, 07:10:07 PM EDT, Patrick <kd7wpq@...> wrote:


[Edited Message Follows]

OK, I've done a bit more testing and have verified that FLDigi has no problem keying the SCU-17 but direwolf is having problems.

If I set FLDigi's Hardware PTT to /dev/ttyUSB1 RTS then I can trigger PTT with tune. If I turn tune off PTT is let go.
DTR gives me FSK properly
RTS = +V gives me a PTT dead key
DTR = +V give me a FSK dead key

If I set direwolf to...
PTT /dev/ttyUSB1 -RTS
I get a FSK RTS dead key
RTS gives me a FSK dead key
DTR gives me a PTT dead key
-DTR gives me a FSK and PTT dead key

This has to be a config issue I'm missing somewhere

Edit: Just did some digging, seems I'm not the first to have this issue....
https://github.com/wb2osz/direwolf/issues/44


Re: Direwolf as a TNC Help

 
Edited

OK, I've done a bit more testing and have verified that FLDigi has no problem keying the SCU-17 but direwolf is having problems.

If I set FLDigi's Hardware PTT to /dev/ttyUSB1 RTS then I can trigger PTT with tune. If I turn tune off PTT is let go.
DTR gives me FSK properly
RTS = +V gives me a PTT dead key
DTR = +V give me a FSK dead key

If I set direwolf to...
PTT /dev/ttyUSB1 -RTS
I get a FSK RTS dead key
RTS gives me a FSK dead key
DTR gives me a PTT dead key
-DTR gives me a FSK and PTT dead key

This has to be a config issue I'm missing somewhere

Edit: Just did some digging, seems I'm not the first to have this issue....
https://github.com/wb2osz/direwolf/issues/44