Questions tagged [unetstack]

Questions on UnetStack underwater stack and network simulator

Questions related to the UnetStack underwater stack and network simulator.

118 questions
1
vote
0 answers

Creating multiple UnetSockets in UnetStack to exhaust the server

I am trying to implement an attack similar to a normal SYN flood attack in my network created on UnetStack. As UnetSocket() requires parameters like api and localhost to create a socket, providing fake or random api number results in error. So we…
1
vote
1 answer

Response to Remote access to Unet Agents for GNURadio

I was wondering what did the Unetstack agent expect as a response to a TCP connection which is established to the modem at ip:port ? I was trying to connect to the the modem using the TCP connection through the GNURadio pdu socket. The connection…
Jay Patel
  • 1,374
  • 1
  • 8
  • 17
1
vote
1 answer

How to find the address and location coordinates of the neighbouring nodes?

I am implementing an algorithm in UnetStack and I am trying to write an agent to get the required parameters from the neighbouring nodes. I want to send a broadcast message to all neighbouring nodes and these neighbouring nodes should reply with…
Priyansh
  • 131
  • 5
1
vote
1 answer

Getting an error while deploying an agent in a node

I have written an agent to calculate the distance between two nodes,but when deploying the agent on one of the nodes, following error occurred : BUG! exception in phase 'semantic analysis' in source unit 'Script26.groovy' The lookup for node_agent…
Priyansh
  • 131
  • 5
1
vote
1 answer

How to modulate spreaded signal?

I am trying to write a modulation function, referring below function. I am not electrical engineer and doesn't know much about signal processing. private final int SAMPLES_PER_SYMBOL = 150 private final float NFREQ = 1/15 private float[]…
1
vote
0 answers

Node Mobility in Unetstack V 3.1.0

I am trying to simulate a node moving with circular trajectory, which is receiving data from 4 stationary nodes. The simulation is working fine on the older version (1.6), however it is not working on 3.1.0. There is no error and the simulation is…
kartik
  • 11
  • 1
1
vote
1 answer

RSSI in simulations

I'm about to implement an energy conserving procedure for our modems. In simulations the RSSI field of RxFrameNtf's is empty and I wonder what way to best populate it. I'm running simulations with the half-duplex modem and the BasicAcousticChannel…
moerot
  • 131
  • 5
1
vote
1 answer

Is there a way to trasnmit and receive data between simulated and real modem in UnetStack

I am working on an attribute based routing protocol, where source node (Node A) collect attributes from two neighbor nodes (Node B and C) and based on ranking, Node A decides,to forward its data either to Node B or Node C Now, I want to test this…
1
vote
1 answer

How to achieve transmitting arbitrary signal based on a schedule

In my case, I want to wake up the subnero modem in specific time and transmit the signal generated by myself. According to the unetStack handbook Chapter 25, scheduler module has the ability to organize the modem wakeup at a specific time. So I…
1
vote
2 answers

bin/unet audio not works with ubuntu18.04

When I ran the unetStack package in ubuntu18.04, an error was occurred. The error information is "Native library yoda_phy_pa_amd64 not found". I have install the java environment correctly. And I saw the lib related to yoda_phy_pa_amd64 in…
1
vote
1 answer

How do I change the power level between two nodes?

How do I decrease the losses by increasing power level? Here is the code I am using: https://github.com/maibewakoofhu/Unet I am changing the power level using: phy[1].powerLevel = -20.dB; At noise level 68dB, power level = -20dB all DatagramReq…
1
vote
1 answer

Logging packet sent time by physical layer

From the sender node i am sending packet by command in simulation script: router << new DatagramReq(to: 1, data:[1,1,1,1], protocol:Protocol.DATA); I want to know, how to log the Datagram sent time by Physical layer of the sender in log-0.txt file
1
vote
0 answers

Cannot fetch parameter from remote node using RemoteGetParamReq

I am developing an energy based routing protocol, where in I am trying to use RemoteGetParamReq from one node, to fetch residual energy of its neighbor node, but the request is returning FAILURE response. I have exposed the energy(init_energy) as…
1
vote
1 answer

Getting Error in simulation "groovy.lang.MissingPropertyException: No such property: ROUTING for class: org.arl.unet.sim.SimulationAgent"

I'm using node.startup ={} in the simulation script to generate static routes by sending routeDiscoveryNtf at each node. I've included all headers but still, ROUTING service isn't recognized. Simulation script is as follows, startup functionality is…
AJAY VERMA
  • 13
  • 2
1
vote
1 answer

How to fetch remaining energy of all neighbor nodes in Unetstack?

I have developed an energy model that can be loaded for every node present in the network. This model calculates transmitting and receiving energy. Now what I want to do is if a node request all it's neighboring nodes then those neighbor nodes…
Sourabh
  • 79
  • 8