Changes

611 bytes removed ,  10:26, 28 November 2019
Line 113: Line 113:  
Once all properties are created, press “Save” to save changes.
 
Once all properties are created, press “Save” to save changes.
   −
==Preparing firmware with example application==
+
==Installing example application==
   −
First, you need to obtain GPL package from https://teltonika-networks.com/gpl.
+
First, you need to install Cumulocity. Go to System -> Package manager:  
   −
Then you need to obtain the ThingWorx C-SDK source code from: https://marketplace.ptc.com/apps/193540/c-sdk
+
[[File:Package manager.jpg]]
   −
'''You need to download C-SDK version 2.2.1.1321.'''
+
When you open package manager you will see a list of packages. You need click install on Cumulocity, see below:
   −
After downloading the C-SDK, extract everything inside the archive folder into '<GPL-PACKAGE-FOLDER-PATH>/package/libtwCSdk/src/'.
+
[[File:Screenshot from 2019-11-27 16-01-53.png]]
 
  −
Now you need to run “make menuconfig” command inside GPL package folder.
  −
 
  −
[[File:makemenuconfig.png]]
  −
 
  −
Now do the same with “Luci” section,  “Applications → luci-app-iot”. This will enable to configure example package from router control panel, see below for example:
  −
 
  −
[[File:LuciSection.png]]
  −
 
  −
Everything should be ready and you can save and exit.
  −
 
  −
Now run “make” command and firmware will appear in “bin/ar71xx/tltFws” directory. You can flash “GPL_…._WEBUI.bin” file.
      
==Configuring and launching example application==
 
==Configuring and launching example application==