adjacentlink / emane

Distributed wireless network emulation framework
Other
127 stars 37 forks source link

Application interface without IP/Ethernet #227

Open Lithimlin opened 1 year ago

Lithimlin commented 1 year ago

I'm currently trying to figure out if and how I can use EMANE to emulate a LoRa channel.

I have an application for which I want to write an interface to EMANE. However, since I'm working with LoRa, I'm not using IP/Ethernet packets. From what I understand that means I cannot use the RawTransport or VirtualTransport interfaces, correct? So would I need to write a custom Transport interface? Does anyone perhaps know if something like this has already been done for LoRa or just a non-IP/Ethernet packet structure?

Thanks for any advice in advance.

sgalgano commented 1 year ago

You can write a custom transport, but I would suggest investigating the use of an NEM (emulator physical layer and your LoRa radio model) without a transport, using the FileDescriptorService to register a socket with your radio model to exchange data and control with upper stack component(s).