Example Applications

A

A.1 Overview

The HPI-B client base package contains precompiled example applications. They are invoked via the command line and can be configured via command line parameters. Each example application illustrates a certain feature of HPI-B and makes use of the respective HPI-B function calls.

After extracting the HPI-B client RPMs, the example applications can be found in the following directory: /opt/motorola/bin. You can obtain information about the command usage by invoking the application from the command line and providing -has parameter.

The HPI-B example programs are provided "as is" without any warranty of any kind, either express or implied. The entire risk as to the quality, operability and execution of the programs is with you. Should the programs prove to be faulty or incorrect, you assume the cost of all necessary servicing, repair or correction. In no event Emerson will be liable to you for any damages, any lost profits or other special, incidental or consequential damages arising out of the use or inability to use the programs.

Emerson reserves the right to revise or remove the programs in subsequent releases without obligation of Emerson to notify any person of such revision or changes.

A.2 Example Application Source Files

In order to ease application development and help you to get familiar with the HPI-B API usage, Emerson provides the source files of the example applications and an example make file. These files are available as different RPM files, depending on the operating system and CPU architecture. The naming scheme used for the RPMs is: bbs-hpib-clientsrc-<version>-1.<CPUarchitecture>-<distribution>-<os>.rpm

After installing the RPMs, the source files and the example make file are located in the following directory: /opt/motorola/src/bbs-hpib/clients.

A.3 List of Supported Example Applications

The following is an automatically generated output (based on the files contained in /opt/motorola/bin and the output obtained via the -h parameter) that describes all HPI example applications which were available when this manual was written and the usage of these applications. Note that in the meantime further example applications may have been added or the functionality of existing HPI example applications may have been changed slightly. The current usage and fucntionality can always be obtained by invoking the example application with the -h parameter.

System Management Interface Based on HPI-B (Centellis 4620) User’s Guide (6806800D85A)

39

Page 39
Image 39
Emerson 4620 manual Example Application Source Files, List of Supported Example Applications