beautypg.com

Creating fpm application licenses, Create fpm application licenses – Echelon i.LON SmartServer 2.0 User Manual

Page 175

background image

i.LON SmartServer 2.0 Programming Tools User’s Guide

161

set path=%path%;C:\LonWorks\iLON\Development\eclipse\plugins\
com.echelon.eclipse.ilon100.fpm_0.9.0\compiler\3.3.2-vxworks-
6.2\x86-win32\i586-wrs-vxworks\bin

4. Use the GNU strip command to remove the internal-only symbols from your FPM executable

module. To do this, type the following command:

strip

--strip-unneeded –-target=elf32-big modulename

where modulename is the name of your FPM executable module in the following format:
<company program ID>.UFPT<FPT Name>.app.

For example, you type the following (without the break):

strip --strip-unneeded --target=elf32-big
#9000010000000000[3].UFPTHVACController.app

5. Optionally, you can use the GNU nm command verify that the internal-only symbols have been

removed from your FPM executable module. To do this, type the following command:

nm

--numeric-sort modulename > someFileName.txt

For example, you type the following (without the break):

nm --numeric-sort #9000010000000000[3].UFPTHVACController.app >
noSymbols.txt

6. Use a text editor to open the file you created in step 5. You should observe that there are no

internal-only symbols in the file. Internal-only symbols are denoted by a lower-case single letter
in the second field (e.g., “t”, or “d”).

Creating FPM Application Licenses

Once you create a license manger file (iLONLicenseGenValues.xml) and a security DLL File
(LicenseSecurity.dll), and place these files in the same folder as the License Generator executable
(iLONLicenseGen.exe), you can open the i.LON License Generator and begin using it to create FPM
application licenses.

When you open the i.LON License Generator, you will observe that the first pre-defined feature
specified in the configuration file and its associated default values appear in the dialog. You can select
other pre-defined features from the Feature Name list and their specified default values will appear in
the dialog.

To create FPM licenses using the i.LON License Generator, follow these steps:

1. Open the i.LON License Generator. To do this, click Start, point to Programs, point to Echelon

i.LON SmartServer 2.0 Programming Tools, and then select the License Generator folder.
The LonWorks\iLON\Development\Licensing\iLONLicenseGen folder opens. Double-click the
iLONLicenseGen.exe file. The i.LON License Generator opens.