There are two ways for customers to develop, run your own application on ThingsPro Edge device. Both ways allow your application to integrate and leverage ThingsPro Edge's capabilities and features by Restful API and SDK.
The application could be edge computing program (to calculate, manipulate, analysis data on edge), data acquisition (to fetch data by proprietary protocols), scheduling task (to arrange routine operation tasks), or data publish program (to transfer data to specific IT system).
Below table gives you ideas how to select suitable application development way to fit your requirements.
ThingsPro Edge Application | tpFunc Function | |
---|---|---|
Framework | Docker container managed by ThingsPro Edge | Python program managed by tpFunc |
Language | All programing language | Python 3 |
TagHub SDK | Python, C and Go Lang SDK | Python SDK |
Access TPE API | OK | OK |
LAN Access | OK | OK |
WAN Access | OK | OK |
Storage Access | OK | X |
Serial Port Access | OK (*) | X |
BLE Access | OK (*) | X |
Expose Restful API | OK | OK |
Expose Web GUI | OK | X |
Knowledge Require | Docker container Application design Linux Driver & Utility ThingsPro Edge Application build and deployment |
Python coding tpFunc deployment |
Program Design Pattern | By your own | - Time Driven - Data Driven - Web API Style |
Other Limitations | - One source code |
(*) Need to mount physical resources into Docker container
- Build and Run "Hello World" Application
- Invoke ThingsPro Edge API on "Hello World" Application
- Use TagHub SDK on Hello World Application 1 (publish tag)
- Use TagHub SDK on Hello World Application 2 (subscribe tag)
- (Example) Azure IoT Central Demo Application
- (Example) OPC UA Client Application
- Build and Run "Hello World" Application
- Invoke ThingsPro Edge API on "Hello World" Application
- Use TagHub SDK on Hello World Application 1 (publish tag)
- Use TagHub SDK on Hello World Application 2 (subscribe tag)
- What is tpFunc and tpFunc funciton
- (Example) Scheduled Operation Task 1 (by confg)
- (Example) Scheduled Operation Task 2 (by code)
- (Example) Enable onChange Feature on TagHub
- Develop your "thingspro-agent"
- Develop Module on .Net Core 6 (ARM32, Debian64)