/******************************************************************************
 *
 *   This file is part of LC1 - Load Control application 1, by Sven Ruin.
 *
 *   Copyright (C) 2010-2020  TEROC AB.
 *
 *   LC1 is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   LC1 is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with LC1.  If not, see <http://www.gnu.org/licenses/>.
 *
 *   Note that LC1 depends on other software, with different licensing
 *   conditions.
 *
 *   We are thankful to Echelon/Adesto/Dialog and others, who have 
 *   provided helpful examples and support.
 *
 *   For more information, contact Sven Ruin, sven.ruin@teroc.se
 *   
 *   Revision history:
 *   Ver 0.5 (2019-10-29) GNU General Public License, etc
 *   Ver 0.6 (2020-11-25) Added algorithm 2 and updated XIF
 *
 ******************************************************************************/

LC1 ver 0.6 is a Freely Programmable Module (FPM) Application used for an i.LON 
SmartServer FT/PL to control loads. It has been created with the i.LON 
SmartServer 2.0 Programming Tools (based on Eclipse), which runs on a Windows 
computer, and tested on i.LON SmartServer 2.2.

To deploy this FPM Application, upload the .app file (found in the Release 4.03 
folder) using FTP to the root/modules/User/TEROC folder on the SmartServer. 
Also upload the .xif file to the root/lonworks/Import/TEROC folder and all 
files in the Resource folder to root/lonworks/types/User/TEROC. See the chapter 
"Deploying FPMs on a SmartServer" in the Programming Tools Users Guide. If the 
TEROC folder does not exist, it needs to be created.

The SmartServer needs to have FPM ability licensed, which if necessary can be 
activated afterwards. (On the SmartServer's web interface, go to the "Setup - 
System Info" page and scroll down to "FPM Licensed". Click on "Not Licensed" 
if that is shown, in order to find instructions for activation.)

See also
https://adesto.zendesk.com/hc/en-us/articles/202601204-i-LON-and-SmartServer-Troubleshooting-Tips-KB932- (regarding FTP etc)
and
https://adesto.zendesk.com/hc/en-us/articles/205082654-How-do-I-activate-SmartServer-IP-852-or-FPM-licenses-KB962- (regarding e.g. the directory for the license activation key, which is a .xml file)

LC1 can, for example, be used with SC1 (Studer Communication driver 1).

The documentation of LC1 is very limited so far. See source code in UFPTLC1.cpp 
for more information about the functionality etc.
