Questions tagged [unetstack]

Questions on UnetStack underwater stack and network simulator

Questions related to the UnetStack underwater stack and network simulator.

118 questions
2
votes
1 answer

How to calculate end-to-end delay in a multi-hop transmission in UnetStack

I have developed an energy aware routing protocol, now for performance evaluation I want to calculate end-to-end packet transmission delay when packets travel through a multi-hop link. I am unable to decide which timing information to consider…
2
votes
1 answer

UnetStack3 simulator & audio takes long time to start

Running bin/unet sim or bin/unet audio takes around 5 seconds before it opens the browser window. Machine: MBP, macOS Mojave (10.14.6) Looks like it takes time during opening the TCP listening ports. Logs…
manuignatius
  • 143
  • 8
2
votes
2 answers

Role of maxPropagationDelay in link agent of UnetStack

In the link agent, I came across attributes like maxPropagationDelay and reservationGuardTime. What is the role of these attributes? Where I can find more information about these attributes.
2
votes
1 answer

Accessing routing table from agent to get next hop

I've set up my routing algorithm from node itself. After this I want to send datagrams from physical layer in that route itself. For example if my routes are 1 to 2 and 2 to 3 and I want to send a datagram from 1 to 3 I want my datagram to go…
pr0py_s
  • 171
  • 9
2
votes
1 answer

Adding new attributes using unetsack agents into Subnero research edition modems

We are working on new routing protocol for underwater communication and want to test it on Subnero research edition modems. If required attributes for routing algorithm not available in Subnero modem, can we introduce and deploy it in Subnero…
2
votes
1 answer

Dynamic Routing in UNET Stack

I'm trying to create a simulation in UNET Stack in which I have a route and I send packets from that from one node to another through the given route. I do not want to use add route in simulation but instead as I create nodes dynamically i.e once I…
pr0py_s
  • 171
  • 9
2
votes
1 answer

Intermediate node not forwading all received packet during routing

I want to send packets from source node 3 to the sink node 1, through intermediate node 2. Accordingly next-hop is configured in simulation script. Data packets are sent from source node 3 for every 2000 ms (2 seconds), for a duration of 2 minutes.…
2
votes
1 answer

How to delete route entries from routing table using an agent in UnetStack

In my routing protocol, I want to update the routing table dynamically at a periodic interval, as of now, I am adding route entries to the routing table from my agent, by sending the RouteDiscoveryNtf message to the router agent, which is similar to…
2
votes
1 answer

How to fetch parameter of remote node using RemoteGetParamReq in processRequest of an Agent

I have written an Agent and added to node 1 to fetch PhysicalParameters (Propogation speed, nodes energy etc) of node 2 using RemoteGetParamReq which is working inside agents startup() method.How can I use RemoteGetParamReq inside agents…
2
votes
1 answer

How to get Location of a node using it's address in the script?

I have written a transmit cmd that takes address and data as input and sends data to that node. I tried to get the location of the node using it's address but it is showing null value, but data is getting successfully transferred. Why is this…
Sourabh
  • 79
  • 8
2
votes
1 answer

How to implement energy model for underwater networks in unetstack?

I want to implement energy model in unetstack, I know it's theory but don't know how to implement it in the unetstack as I'm still learning it. Please provide the steps involved in it. Basic code skeleton will also be helpful. Expected Output : I…
Sourabh
  • 79
  • 8
2
votes
1 answer

How to get the reception signal power value in simulation script?

I have a channel model, where some transmission loss is calculated, If I have to test it against different values of frequency and print the values calculated in getRxPower(rx) function in simulation script, how can I access this value in the…
2
votes
1 answer

Tracing packets from source to destination for multi-hop communication using trace.nam in unetstack

We implemented multi-hop routing protocol for underwater communication. Now we want to evaluate the performance of that routing protocol using parameters like- end to end delay, hop-count etc. We analyzed trace.nam to trace the packets from source…
2
votes
1 answer

Finding distance between two nodes using using unetstack with groovy script

I am implementing a routing protocol for underwater communication networks based on the distance between neighboring nodes. I created an agent and written a script to find the distance between neighboring node using a ranging agent but I am getting…
2
votes
1 answer

unetsim: Is there a functionality to move a node from one coordinate to another by passing command from another node?

Is there a way to command one node using another node to move to a specific location, such as a particular coordinate? If so, please share the sample code (if possible). Thank You