Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 3 revisions

RadioSim Element Documentation

NAME

RadioSim — Click element; simulates reachability and broadcast in an 802.11-like radio network

SYNOPSIS

RadioSim([keywords,] [lat1 lon1, lat2 lon2, ...])

Ports: any number of inputs, any number of outputs
Processing: pull inputs, push outputs
Drivers: userlevel

DESCRIPTION

RadioSim simulates reachability and broadcast in an 802.11-like radio network.

Each corresponding input/output pair corresponds to one node. Each node has a latitude/longitude, given by the th configuration argument.

When node sends a packet into RadioSim's input , RadioSim sends a copy to each output whose node is within 250 meters of node .

Inputs are pull, outputs are push. Services inputs in round robin order.

Keyword:

  • USE_XY — Boolean. Defaults to false. Use x,y coordinates in metres instead of lat,lon in degrees. lat is treated as x, and lon is treated as y.

The loc read/write handler format is

 node-index latitude longitude

Generated by click-elem2man from ../elements/grid/radiosim.hh:4 on 2017/10/17.

Clone this wiki locally