TReK ANSI-C  5.3.3
All ANSI-C APIs
HPEG API

The trek_hpeg_api library provides ANSI-C functions for programmatic access to information available in the TReK HPEG (HOSC to Payload Ethernet Gateway) application.

All functions in the HPEG API are thread safe. An overview of the capabilities in the HPEG API are provided in the sections below.

Overall Status Information
Overall status information can be obtained using the GetHpegStatusValue() function. The information available for overall status is displayed in toolbars at the top of the HPEG application. See GetHpegStatusValue() to see all of the available information.

Destination Information
Two calls are provided to obtain information about destinations: GetHpegDestinationList() and GetHpegDestinationStatusValue(). The destination names returned by GetHpegDestinationList() can be used in the GetHpegDestinationStatusValue() function to get information specific to that destination.

Examples
The following examples are provided to show how to use the HPEG API:

HPEG Example
Example process that incorporates the HPEG API into a simple program. The source files are listed below.
Source File:
hpeg_api_all_functions/all_functions_main.c

Additional Dependencies
The TReK HPEG API is also dependent on the following library. See the Libraries main help page for more information.

trek_toolkit_common_api