Simple Module PollApplLayer

File: contrib/applLayer/PollApplLayer.ned

C++ definition: click here

Application layer to test centralized scenarios

Application layer for a base station in a centralized WLAN-like network Every 'broadcastInterval' it broadcasts a ping message to determine the reachable clients. Afterwards it polls all reachable clients in a round-robin manner, where 'pollTimeout' is the reply timeout for the clients

@sa ClientApplLayer

Author: Daniel Willkomm

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.


The BaseStationHost is a compound module that implements a test base station. The test base station contains the PollApplLayer which periodically polls all clients in the network.


Name Type Description
debug bool

debug switch

numClients numeric const

number of clients in the network

headerLength numeric const

length of the application message header (in bits)

pollTimeout numeric const

timeout for poll messages

broadcastInterval numeric const

time between bradcast messages in seconds


Name Direction Description
lowergateIn input

from network layer

lowerControlIn input
lowergateOut output

to network layer

Source code:

simple PollApplLayer
	debug : bool, // debug switch
	numClients: numeric const, // number of clients in the network
	headerLength: numeric const, // length of the application message header (in bits)
	pollTimeout: numeric const, //timeout for poll messages
	broadcastInterval: numeric const; // time between bradcast messages in seconds
	in: lowergateIn, // from network layer
	out: lowergateOut; // to network layer