-
Notifications
You must be signed in to change notification settings - Fork 6
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
Project Architecture #4
Comments
Hey @hdkmike am I missing something, your repo doesnt have an echo program? |
I'm trying to figure out if the best way to put this program together is to have a module that provides two functions. |
@kb1lqc , the Let me emphasize, this is a really dumb handler. There's no error handling and it makes a bunch of assumptions. |
@kb1lqc , I don't completely understand your question. I get the design in the diagram above. So you're looking to have a |
I want the module to do the parsing and packing and only the likely hard to unit test tun connection to be the untested part. Also, any other software can import faradayio and have udp/tcp packet to slip and vice versa formatting
…---- On Thu, 30 Nov 2017 18:50:59 -0800 [email protected] wrote ----
@kb1lqc , I don't completely understand your question. I get the design in the diagram above.
So you're looking to have a faradayio module. What happens if I call send()? Does it send the data to the board thus bypassing the tun adapter? Then I can call receive() and read data send to the module from the board? Then you can call some sort of "make tun adapter" method which will actually make the tun adapter and then have it's mechanisms call send() and receive()? Do I understand correctly?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
|
faradayio
is a program/module that provides the following service:I want to share my thoughts on how this project will go together. The end result is a program we install. However, I think it may be beneficial to define a module which is pulled in that builds that program with custom functions. This provides easier unit testing as well as the ability to use that python code in any other project as an
import
package.I'm also using @hdkmike's simple-tuntap project to help figure out the IO and architecture of this project a well.
Tagging: @reillyeon, @hdkmike, and @el-iso to include
The text was updated successfully, but these errors were encountered: