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 ThingWorx. 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 ThingWorx, see below: |
| | | |
− | After downloading the C-SDK, extract everything inside the '/src' 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== |
| | | |
− | After you successfully built and flashed firmware, in „Services“ tab there should be an option called „IoT Platforms“. | + | After you successfully installed ThingWorx, in „Services“ tab there should be an option called „IoT Platforms“. |
| + | |
| + | [[File:Cumiot.png]] |
| | | |
| [[File:ThingWorx.png]] | | [[File:ThingWorx.png]] |
Line 228: |
Line 218: |
| | | |
| {{Template: trademark disclaimer}} | | {{Template: trademark disclaimer}} |
| + | |
| + | [[Category:IoT]] |