Hi,
First of all thank in advance.
This is my first message in this group and I don't have much experience with ns-3. I hope my questions make sense.
I'm trying to build a protocol on top of the LLC/SNAP on an wifi ad-hoc network using the 802.11a standard.
I don't need to forward the frames to higher layers (ip,...), the protocol I'm building will be the highest layer.
I have seen different classes that can be used as base class for building a custom protocol such as:
ns3::MeshL2RoutingProtocolns3::Ipv4L3ProtocolI may be wrong but I don't think they really fit my needs. The first one, because even though it is on the right layer, I'm not working with a mesh network and the second because I won't use the IP protocol.
Is there a base class which I will fit my user? Or should I just create a class for the protocol which is a subclass of
ns3::Object?
And furthermore, I have also seen the "install mechanism" in different examples like the following:
"mobility.Install (nodes);"
or
"InternetStackHelper internet;
internet.Install (nodes);"
In case there is no base class that I can use for my protocol, how could I install my protocol in to the nodes/wifinetdevices ?
Thank you very much,
Sergio