¿ªÔÆÌåÓý

Date

Re: How configure 991a and direwolf for ISS

 

Keith provided the specific line for the radio and how it should be configured for the virtual ports.
.
I was working off physical serial port devices that I have used for PTT.?
I have used different USB to serial TTL devices for PTT using FTDI or other chips.

I would go with Keith's advice!

Robert Giuliano
KB8RCO



On Tuesday, July 20, 2021, 10:59:26 AM EDT, Rick Hatton <71topaz@...> wrote:


On Tue, Jul 20, 2021 at 07:42 AM, Rob Giuliano wrote:
Are you using ttyUSB1 for anything other than PTT?
?
If you have ttyUSB1 set to hardware flow control, that may cause problems.
I think you can do this with the stty app.
You can check the settings with
?? stty -a -F /dev/ttyUSB1?
and change the hardware flow control with
? stty -crtscts -F /dev/ttyUSB1
This will ensure flow control is disabled for that port, and free up the pin for Direwolf to use.
?
Hopefully it is that simple!
?

Robert Giuliano
KB8RCO

The only thing that should be using ttyUSB1 or 0 is whatever ham software. They are vitual ports generated by having the 991a plugged in to the USB port.I am running at the time.


Re: How configure 991a and direwolf for ISS

Rick Hatton
 
Edited

On Tue, Jul 20, 2021 at 07:44 AM, Keith wrote:
PTT RIG 135 /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00A06B06-if00-port0
Works. (check your port ID on your system and change if needed).
Just curious....You emphasized NOT using flrig.? Why?? Works very well with the 991a. But the line above, in direwolf.conf, does work on mine.? You might want to confirm the device port info (i.e., 00A06B06) in your /dev/serial/by-id directory.? Also be sure to add your user and direwolf to the /etc/group dialout group, if you haven't already done so.
?
Hope that helps.
?
73
Keith
Seems to be? usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00C98A2F-if01-port0 for tty/USB1. I have used /dev/serial/by-id before when I was using an IC-718.
I don't use flrig because, for me, seems to be an added level of complexity... running another program when fldigi and wsjtx both will control the 991a. Still, I suppose if I set up flrig correctly,? might not have to worry anout the setup differences in other programs. I'll give it another look.

Thanks


Re: How configure 991a and direwolf for ISS

Rick Hatton
 
Edited

On Tue, Jul 20, 2021 at 07:42 AM, Rob Giuliano wrote:
Are you using ttyUSB1 for anything other than PTT?
?
If you have ttyUSB1 set to hardware flow control, that may cause problems.
I think you can do this with the stty app.
You can check the settings with
?? stty -a -F /dev/ttyUSB1?
and change the hardware flow control with
? stty -crtscts -F /dev/ttyUSB1
This will ensure flow control is disabled for that port, and free up the pin for Direwolf to use.
?
Hopefully it is that simple!
?

Robert Giuliano
KB8RCO

The only thing that should be using ttyUSB1 or 0 is whatever ham software I am running at the time. They are virtual ports generated by having the 991a plugged in to the USB port.
Thanks


Re: How configure 991a and direwolf for ISS

 

¿ªÔÆÌåÓý

.
.
.
PTT RIG 135 /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00A06B06-if00-port0
.
.
.

Works. (check your port ID on your system and change if needed).



Just curious....You emphasized NOT using flrig.? Why?? Works very well with the 991a. But the line above, in direwolf.conf, does work on mine.? You might want to confirm the device port info (i.e., 00A06B06) in your /dev/serial/by-id directory.? Also be sure to add your user and direwolf to the /etc/group dialout group, if you haven't already done so.

Hope that helps.

73
Keith


On 7/19/21 9:02 PM, Rick Hatton wrote:

I have been doing HF. I want to do VHF to communicate woth the ISS.

WSJTX and fldigi? alway use U SB.
I am most definitely NOT using flrig.
fldigi is using hamlib. I believe WSJTX does too.
PTT port is /dev/ttyUSB1
CAT port is /dev/ttyUSB0

PTT is via RTS in WSJTX.
4800. Data bits set to default. Stop bits 2

Hardware PTT is not set in fldigi. PTT via hamlib command. Stop bits 1. RTS/CTS flow control.

The 991a is connected to the computer with one USB cable. In both Windows and Linux 2 virtual serial ports are created. One "Enhanced" used for cat and one "Standard".



Re: How configure 991a and direwolf for ISS

 

Are you using ttyUSB1 for anything other than PTT?

If you have ttyUSB1 set to hardware flow control, that may cause problems.
I think you can do this with the stty app.
You can check the settings with
?? stty -a -F /dev/ttyUSB1?
and change the hardware flow control with
? stty -crtscts -F /dev/ttyUSB1
This will ensure flow control is disabled for that port, and free up the pin for Direwolf to use.

Hopefully it is that simple!

Robert Giuliano
KB8RCO



On Tuesday, July 20, 2021, 10:05:07 AM EDT, Rick Hatton <71topaz@...> wrote:


[Edited Message Follows]

Thank you Robert.

PTT /dev/ttyUSB1 RTS ... now keys the radio on startup of direwolf, but doesn't unkey.
PTT /dev/ttyUSB1 -RTS ... also does not unkey.


Re: How configure 991a and direwolf for ISS

Rick Hatton
 
Edited

Thank you Robert.

PTT /dev/ttyUSB1 RTS ... now keys the radio on startup of direwolf, but doesn't unkey.
PTT /dev/ttyUSB1 -RTS ... also does not unkey.


Re: How configure 991a and direwolf for ISS

 

If your working PTT port for (WSJT) is /dev/ttyUSB1 and it uses RTS, then the line in Direwolf.conf should read:
????PTT /dev/ttyUSB1 RTS
unless PTT is active low, then it would be:
????PTT /dev/ttyUSB1 -RTS

This needs to be defined under the ACHANNEL in use.
Search for PTT in the config file and there should be examples:
# For the PTT command, specify the device and either RTS or DTR.
# RTS or DTR may be preceded by "-" to invert the signal.
# Both can be used for interfaces that want them driven with opposite polarity.
#

#PTT COM1 RTS
#PTT COM1 RTS -DTR


Robert Giuliano
KB8RCO



On Monday, July 19, 2021, 9:02:16 PM EDT, Rick Hatton <71topaz@...> wrote:


I have been doing HF. I want to do VHF to communicate woth the ISS.

WSJTX and fldigi? alway use U SB.
I am most definitely NOT using flrig.
fldigi is using hamlib. I believe WSJTX does too.
PTT port is /dev/ttyUSB1
CAT port is /dev/ttyUSB0

PTT is via RTS in WSJTX.
4800. Data bits set to default. Stop bits 2

Hardware PTT is not set in fldigi. PTT via hamlib command. Stop bits 1. RTS/CTS flow control.

The 991a is connected to the computer with one USB cable. In both Windows and Linux 2 virtual serial ports are created. One "Enhanced" used for cat and one "Standard".


Re: How configure 991a and direwolf for ISS

Rick Hatton
 

I have been doing HF. I want to do VHF to communicate woth the ISS.

WSJTX and fldigi? alway use U SB.
I am most definitely NOT using flrig.
fldigi is using hamlib. I believe WSJTX does too.
PTT port is /dev/ttyUSB1
CAT port is /dev/ttyUSB0

PTT is via RTS in WSJTX.
4800. Data bits set to default. Stop bits 2

Hardware PTT is not set in fldigi. PTT via hamlib command. Stop bits 1. RTS/CTS flow control.

The 991a is connected to the computer with one USB cable. In both Windows and Linux 2 virtual serial ports are created. One "Enhanced" used for cat and one "Standard".


Re: Toy example text <-> audio?

 

¿ªÔÆÌåÓý


Hello Yishuai,

I'm stuck at physical layer i.e. didn't manage to convert any byte into audio, that's why I wanted to start with RTTY. With minimodem I could run echo "hello, world" | minimodem -t rtty and it plays the tones. If I want to play any sound with Direwolf other than direwolf -x, do I must set up a network stack and run echo "hello, world" | nc localhost 8000?

There are three ways to interface with Direwolf:

? - pseudo serial port to connect into the Linux AX.25 stack
? - TCPKISS where you can write your own program to send KISS encoded packets to Direwolf for transmission/reception
? - AGW packets over TCP where you can write your own program to send AGW encoded packets to Direwolf for transmission/reception


Other interfaces are available with ARDOP, Fldigi, etc.? It all depends on your needs and you'll have to do some experimentation to find something that you like.? Search of the archives here in the [email protected] list where some people have posted URLs of tool examples for interfacing with some of these interfaces.? Yes, these approaches are more complicated than say using minimodem but depending on your needs, they might be a lot more reliable for you on the long term.

--David
KI6ZHD


Re: Toy example text <-> audio?

 

Hi David,

There are lots of factors for sure including the robustness of the mode, noise floor of the frequency, width of the passband, the regional legality of symbols/sec of the transmitter, etc. it goes on and on.

Thanks for the reminder! I'll check my local coordinator's band plan to see which channels are for digital simplex.

Personally, I personally wouldn't bother with RTTY as it's not 8bit clean (if you need to send binary data), it's not very robust, it's quite slow (especially for a medium like FM over VHF), etc.

I'm stuck at physical layer i.e. didn't manage to convert any byte into audio, that's why I wanted to start with RTTY. With minimodem I could run echo "hello, world" | minimodem -t rtty and it plays the tones. If I want to play any sound with Direwolf other than direwolf -x, do I must set up a network stack and run echo "hello, world" | nc localhost 8000?

Is your goal to send arbitrary strings?

Yes for today. Once I can send arbitrary bytes on air, the L2~L7 are just computer science, which I have slightly more confidence with.

Thanks,
Yishuai


Re: Toy example text <-> audio?

 

¿ªÔÆÌåÓý


Hello Yishuai,

>When you say RF, are you talking about FM over VHF? Maybe SSB over HF? The transport details really matters here

I currently have FM over VHF/UHF. I suppose the modulation and frequency limit the transmission rate. Are there other factors that are affected?


There are lots of factors for sure including the robustness of the mode, noise floor of the frequency, width of the passband, the regional legality of symbols/sec of the transmitter, etc.? it goes on and on.


>What kind of speed is required here? Do you want to do everything via AX.25 or are you looking for something far simplier like minimodem?

I plan to start with RTTY, typing on one computer and printing on another, without packeting. After that I want to build a server that speaks HTTP, maybe over Bell 103.


Personally, I personally wouldn't bother with RTTY as it's not 8bit clean (if you need to send binary data), it's not very robust, it's quite slow (especially for a medium like FM over VHF), etc.



What operating system are you looking to run this "application" on? Windows, Linux, Mac, something else?

I have Windows, Linux, Mac, Android, and iOS. I'll start with Linux, which seems to have the most tools available. I'll then port to more platforms, so that all my devices can open up a browser and interact with the server.


Is your goal to send arbitrary strings?? Maybe you want to send files?? Is this all point to point or is there any in-between infrastructure being used (digipeaters, etc)?? How are you intending to interface to these modems?? For example, ARDOP has a very robust API for sending both FEC and ARQ protected strings.?

--David


Re: Toy example text <-> audio?

 

Hi David,

When you say RF, are you talking about FM over VHF? Maybe SSB over HF? The transport details really matters here

I currently have FM over VHF/UHF. I suppose the modulation and frequency limit the transmission rate. Are there other factors that are affected?

What kind of speed is required here? Do you want to do everything via AX.25 or are you looking for something far simplier like minimodem?

I plan to start with RTTY, typing on one computer and printing on another, without packeting. After that I want to build a server that speaks HTTP, maybe over Bell 103.

What operating system are you looking to run this "application" on? Windows, Linux, Mac, something else?

I have Windows, Linux, Mac, Android, and iOS. I'll start with Linux, which seems to have the most tools available. I'll then port to more platforms, so that all my devices can open up a browser and interact with the server.

Thanks,
Yishuai N3LYS


Re: How configure 991a and direwolf for ISS

 

¿ªÔÆÌåÓý


When using Fldigi or WSJT-X, what mode is your radio in?? What band are on you on?? This can MATTER as some radios will have different PTT settings per mode (SSB, DATA, CW, etc), RF band (VHF, UHF, HF, etc.)

For Fldigi, what is your configuration for your keying?
?? - Are you sure you're not using Flrig?
?? - Are you sure you're not using CAT?

?? - If really a serial port PTT in fldigi or flrig
????? - CAT control
? ? ???? - what is the serial port name specified
? ? ? ?? - baud rate
??? ? ?? - stop bits
? ? ???? - RTS/CTS feature enabled or disabled
? ? ? ? - PTT control
? ? ? ? ?? - What is the serial port name specified
? ? ? ? ? ? - Are you using the "PTT via RTS" or "PTT via DTR" or "RTS +12v" or "DTR +12v" options?

--David
KI6ZHD


On 07/19/2021 11:39 AM, Rick Hatton wrote:

Direwolf: 1.5
The soundcard in the 991a.
Hamlib looks like 4.2
The radio isn't keying. It is set to RTS in fldigi and wsjtx, both key the 991a.. I'm not sure how that is set in Direwolf.


Re: Toy example text <-> audio?

 

¿ªÔÆÌåÓý


Hello N3LYS,

I'm a newcomer. I want to transmit bytes between computers via RF, and my plan is:
  1. Encode bytes into audio.
  2. The transmitter modulates the audio into RF.
  3. The receiver demodulates the RF into audio.
  4. Decode audio into bytes

Stepping back a bit.. can you give us more details on your goals:

? - When you say RF, are you talking about FM over VHF?? Maybe SSB over HF??? The transport details really matters here
? - What kind of speed is required here?
? - What operating system are you looking to run this "application" on?? Windows, Linux, Mac, something else?


For steps 1 and 4, I know works fine, but my transceiver does not have VOX, so in step 2 I need to activate the PTT via serial port (and relay hacks).


packet radio payloads are sent over AX.25 which is a robust protocol with lots of sub-modes: connected, non-connected, etc.? Do you want to do everything via AX.25 or are you looking for something far simplier like minimodem?? There are lots of other modems out there like ARDOP, LoRA, JS8Call, many modes via Fldigi, etc but their choice depends on your RF medium, distances, speeds, addressing needs, etc.


My questions are:

  • Is Direwolf the tool I should use?
  • Are there toy examples where Direwolf reads a text file and plays the encoded audio, or picks sound from a microphone and prints the decoded text?

Direwolf does have:
?? - gen_packets :: creates WAV files translating text into modem tools containing atest tool -- use "man gen_packets" for more details
?? - atest :: decodes these WAV files back into AX.25 packets -- "use "man atest' to get more details

--David
KI6ZHD


Re: How configure 991a and direwolf for ISS

Rick Hatton
 

Direwolf: 1.5
The soundcard in the 991a.
Hamlib looks like 4.2
The radio isn't keying. It is set to RTS in fldigi and wsjtx, both key the 991a.. I'm not sure how that is set in Direwolf.


Re: Toy example text <-> audio?

 

I'll take your questions in reverse order:

  • Are there toy examples where Direwolf reads a text file and plays the encoded audio, or picks sound from a microphone and prints the decoded text?


  • Is Direwolf the tool I should use?
As asked, that is a matter of opinion.
? It starts with capability, and ends with whether or not other tools would do the same thing as well or better.
? Everyone asked will have an opinion (although on this group the answer may be obvious).

If the question was worded as "Can Direwolf do this?".? That limits the question to capability.
? Direwolf's encoded is slightly different from a standard modem.?
? As long as you are sending standard text bytes (not extended characters), it should work just fine.?
? It could work for more files as long as the 7-bit limit is not set.

Good luck and let us know how it goes!

Robert Giuliano
KB8RCO



On Monday, July 19, 2021, 11:54:42 AM EDT, N3LYS <liyishuai.mun@...> wrote:


Dear folks,

I'm a newcomer. I want to transmit bytes between computers via RF, and my plan is:

  1. Encode bytes into audio.
  2. The transmitter modulates the audio into RF.
  3. The receiver demodulates the RF into audio.
  4. Decode audio into bytes.

For steps 1 and 4, I know works fine, but my transceiver does not have VOX, so in step 2 I need to activate the PTT via serial port (and relay hacks).

My questions are:

  • Is Direwolf the tool I should use?
  • Are there toy examples where Direwolf reads a text file and plays the encoded audio, or picks sound from a microphone and prints the decoded text?

73
N3LYS


Toy example text <-> audio?

 

Dear folks,

I'm a newcomer. I want to transmit bytes between computers via RF, and my plan is:

  1. Encode bytes into audio.
  2. The transmitter modulates the audio into RF.
  3. The receiver demodulates the RF into audio.
  4. Decode audio into bytes.

For steps 1 and 4, I know works fine, but my transceiver does not have VOX, so in step 2 I need to activate the PTT via serial port (and relay hacks).

My questions are:

  • Is Direwolf the tool I should use?
  • Are there toy examples where Direwolf reads a text file and plays the encoded audio, or picks sound from a microphone and prints the decoded text?

73
N3LYS


Re: How configure 991a and direwolf for ISS

 

¿ªÔÆÌåÓý


Hello Rick,

I have an FT-991a. I'd like to be able use the ISS packet repeater. I have the channel programmed. The radio will key transmit with mic PTT.
I am using OpenSuse 15.1 Linux.
Direwolf will NOT key the radio.
The radio is set for FM. When I changed to FM-data, I could hear some packet like noise, but the radio did not key.

A few beginning questions:

? - What version of Direwolf?
? - What sound card are you using?

? - How are you trying to key your radio:
??? - VOX ?
? ?? - CAT command?? If so, what version of Hamlib do you have installed?
? ?? - asserting a signal on a serial port?
? ?? - asserting a signal on a GPIO pin?

--David
KI6ZHD


How configure 991a and direwolf for ISS

Rick Hatton
 
Edited

I have an FT-991a. I'd like to be able use the ISS packet repeater. I have the channel programmed. The radio will key transmit with mic PTT.
I am using OpenSuse 15.1 Linux.
Direwolf will NOT key the radio.
The radio is set for FM. When I changed to FM-data, I could hear some packet like noise, but the radio did not key.

FLDIGI and WSJT-X both work, but that is HF and SB. I can use an FT-8900 with Direwolf for ISS and APRS work.

I am not sure of any other info to provide.

Any help/info appreciated.


Re: Using "TRANSMIT INHIBIT INPUT"

 

Dave,
You are a legend and have saved me time trying this myself.
For the developers, it would be handy to have a "SEND ALL" or "SEND LAST" option for these saved frames. For my application (APRS tracker), sending the "LAST" frame would all that would be required.

Ian
VK1IAN

On 19/7/21 8:24 pm, Dave via groups.io wrote:
For all who's interested, or as reference:
After implementing my circuitry for a PTT interlocking and DCD sharing solution combined with Direwolf, I can confirm Direwolf holds the frames in queue when the TX inhibit input (TXINH) is active, and sends them after release of the input.
73! Dave