Copied files, Lonnvtypes.h and loncptypes.h – Echelon LonTal Stack User Manual

Page 106

Advertising
background image

94

Using the LonTalk Interface Developer Utility

FtxlDev.c
project.xif
project.xfb

These files form the LonTalk Stack application framework, which defines the

LonTalk Stack device initialization data and self-identification data for use in

initialization phase, including communication parameters and everything you
need to begin device development. The framework includes ANSI C type

definitions for network variable and configuration property types used with the

application, and implements them as global application variables.

To include these files in your application, include the FtxlDev.h file in your

LonTalk Stack application using an ANSI C #include statement, and add the
FtxlDev.c file to your project so that it can be compiled and linked.
The following sections describe the copied and generated files.

Copied Files

The LonTalk Interface Developer utility copies the following files into your
project directory if no file with the same name already exists:

FtxlApi.h
FtxlHandlers.c
FtxlNvdFlashDirect.c
FtxlNvdFlashFs.c
FtxlNvdUserDefined.c
FtxlTypes.h
LonPlatform.h

Existing files with the same name, even if they are not write-protected, are not
overwritten by the utility.
Other than FtxlDev.h, you do not normally have to explicitly include any of the

header files with your application source, because the FtxlDev.h file already
includes the required files.
You must ensure that the files in the Source directory and the various
LID-generated C files are available to your project so that they can be compiled

and linked with your application.

LonNvTypes.h and LonCpTypes.h

The LonNvTypes.h file defines network variable types, and includes type
definitions for standard or user network variable types (SNVTs or UNVTs). See

Using Types for more information on the generated types.

The LonCpTypes.h file defines configuration property types, and includes

standard or user configuration property types (SCPTs or UCPTs) for

configuration properties implemented within configuration files.

Either of these files might be empty if your application does not use either

network variables or configuration properties.

Advertising