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

Use Direwolf for Raw Packets not AX.25 Frames #552

Closed
buddylindsey opened this issue Oct 22, 2024 · 5 comments
Closed

Use Direwolf for Raw Packets not AX.25 Frames #552

buddylindsey opened this issue Oct 22, 2024 · 5 comments

Comments

@buddylindsey
Copy link

I am trying to write some software and I want to send raw data across RF (mostly experimentation) at this point.

However, I am lost in configuration. I would like to keep it simple and just write the output to a .wav file and then read from a .wav file while testing my code.

It seems like I would want to use KISS serial tnc, but I am a little lost in the configuration.

Is there a "simple" way to do non ax.25 data sending and receiving to a serial port for my app to connect to?

@ShawnStoddard
Copy link

ShawnStoddard commented Oct 22, 2024 via email

@buddylindsey
Copy link
Author

I want to see about messing with writing my own protocol as a learning exercise. Or re-implement ax.25 on my own, or at least part of it. I am trying to better understand lower-level packet radio. However, I feel overwhelmed on the actual generating audio and reading audio portion I was hoping I could use direwolf to handle modulation and demodulation of data.

What I would like to do is send data to direwolf via a serial port and it modulate it to a .wav file.

I then want to have direwolf read that .wav file demodulate it and push the data to a serial port for my app to read.

I don't want direwolf to do any transformations or try to read the data as ax.25 frames. I don't have a problem wrapping my data with the KISS protocol. Just don't want it to do anything beyond that.

Once i work out what I am trying to do in code I want to then try to send it to direwolf to have direwolf send it to my digirig for transmission in a real scenario.

@dranch
Copy link
Collaborator

dranch commented Oct 22, 2024

Direwolf Github issues aren't the place to ask questions or get support. That's what the Direwolf group.io list at https://groups.io/g/direwolf is for. I recommend to create a thread there for getting a LOT more exposure to your question but you also might want to check out Kamal's minimodem - http://www.whence.com/minimodem/ as one idea. Please close this Github issue.

@buddylindsey
Copy link
Author

Thanks, I missed the groups.io group. I'll go there and will also checkout minimodem.

@wb2osz
Copy link
Owner

wb2osz commented Oct 22, 2024

direwolf is not just a TNC. It is a toolkit for experimentation. When used with the KISS interface, arbitrary HDLC frames can be sent and received. At least one person is using direwolf for non-AX.25 frames with his own protocol. direwolf will complain but do it. You can use the "-dh" command line option to dump all packets in hexadecimal. "gen_packets" will convert text to an audio file. "atest" will demodulate audio files and display the resulting text. These are used for modem & other automated testing without real-time audio.
You might find this documentation useful: https://github.com/wb2osz/aprsspec

73,
John WB2OSZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants