nerves-networking/vintage_net

Improve host compilation and use

fhunleth opened this issue · 5 comments

Currently host compilation requires a nontrivial application configuration. It would be nice if there VintageNet would go into a "mock" mode where it's possible to get virtual network devices and make VintageNet calls in a simple way. This would let people call VintageNet from Phoenix Liveview UIs that they build. Right now, the current practice is to mock VintageNet manually.

@fhunleth I need to handle this issue in my current project and we glad to contribute. Do you have a particular architecture in mind ?

Nothing in mind now. I'll have to review. Thanks for bringing this up again!

Are there any public examples of current mocks and/or adapters? I'm also currently debating to implement this myself.