Using API Functions with a Custom Client Module

In the coverage_area_tracking scenario, shown below, a custom process ("coverage_area_tracker") utilizes the advanced wireless package via the provided API. This scenario also contains examples of custom nodes.

Figure 14: Using API Functions to Interface with the Advanced Wireless Package

Using API functions to interface with the advanced wireless package

The two transmitters used in the scenario have been created by adding the advanced wireless package to the "coverage_area_transmitter_adv" node model (shown) and by promoting the attributes for setting the target location of the node's antenna. These nodes are used as tracking nodes in the scenario.

Figure 15: Custom Transmitter Node Model

Custom transmitter node model

The coverage_area_tracker process model uses the advanced wireless package API functions to create and use alerts to reposition the tracking node in relation to the transmitter node until the targeted received power is achieved.

To see how the tracker process model uses advanced wireless package API functions, you can examine the "tracking" module in the coverage_area_tracker_adv node model.

Figure 16: Tracking Module

Tracking module