wiki:Old/NodeHandler/Commands/antenna

Version 3 (modified by max, 18 years ago) ( diff )

Documentation | NodeHandler | Commands | antenna

antenna: Configure Noise Insertation and Spectrum Measurements

This command allows the experimenter to inject noise into the grid through the available antennas. While currently not supported, the same command will also provide access to spectrum analyzers.

Syntax

antenna(selector).signal.resource = value
antenna(selector).signal {}

  • selector: Expression to select the antenna set.
  • signal: Path to noise generator.
  • resource: Name of resource.
  • value: Value to assign to resource.

The supported syntax for the selector can be found in defNodes.

The current resources for the signal generator are:

  • bandwidth: Bandwidth of signal
  • channel: 802.11 channel
  • power: Output power in dbM ???
  • on: On when set to true, off when set to false

The locations of the antennas within the grid can be found missing.

Usage

antenna(4,4).signal {|s|
  s.bandwidth = 20
  s.channel = 36
  s.power = prop.noisePower
}

See Also

prop

Note: See TracWiki for help on using the wiki.