la5nta / wl2k-go

A Winlink framework for Go.
https://getpat.io
MIT License
50 stars 20 forks source link

transport: Add a pure Go AX.25 implementation #36

Closed martinhpedersen closed 4 years ago

martinhpedersen commented 8 years ago

It would be nice to be able to support AX.25 platform-independent.

This will probably be a project on it's own.

martinhpedersen commented 7 years ago

I stumbled across a promising node project that implements the full stack: https://github.com/echicken/node-ax25

It could be a nice starting-point. Maybe we could port it to Go?

LightAxe commented 7 years ago

How hard would it be to just bundle node-ax25 and call it directly?

martinhpedersen commented 4 years ago

@LightAxe - I don't know if anyone have attempted to call node/javascript code from Go, but it would require bundling a js/node engine with the library and a rather complicated wrapper I presume. I think our best bet is to port an existing and well tested implementation to Go.

I've opened a new issue for future discussions on this topic: Issue #56.

cminyard commented 2 years ago

I have just finished implementing an AX25 library in C. It's part of the gensio library at https://github.com/cminyard/gensio and it's portable to Windows, MacOS, and Linux. It has C++ and Python bindings at the moment. I assume Go wouldn't be very hard.

I would really like to avoid having to deal with the Linux kernel AX25 stack. I don't know Go, though. I could learn it if you are interested.

The gensio library can do a lot of other things that might be useful, too.

Obviously it hasn't been around that long, but I'm planning to keep working on it. I have my own uses for it.