There are 3 ways for customers to develop, run your own application on AIG301/501 device. All these 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.
TPE Application | tpFunc Function | AIE Module | |
---|---|---|---|
Framework | Docker container managed by ThingsPro Edge | Python program managed by tpFunc | Docker container managed by Azure IoT Edge |
Language | All programing language | Python 3 | All programing language |
TagHub SDK | Python, C and Go Lang SDK | Python SDK | Python, C and Go Lang SDK |
Access TPE API | OK | OK | OK |
LAN Access | OK | OK | OK |
WAN Access | OK | OK | OK |
Storage Access | OK | X | OK |
Serial Port Access | OK (*) | X | OK (*) |
BLE Access | OK (*) | X | OK (*) |
Expose Restful API | OK | OK | OK |
Expose Web GUI | OK | X | OK |
Knowledge Require | - Docker container Application design - Linux Driver & Utility - ThingsPro Edge Application build and deployment |
Python coding tpFunc deployment | - Docker container Application design - Linux Driver & Utility - Azure IoT Edge |
Program Design Pattern | By your own | - Time Driven - Data Driven - Web API Style |
By your own |
Other Limitations | - all source code must keep at 1 file |
(*) 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)
- Bind Hello World Application on Host Port - Way 1
- Bind Hello World Application on Host Port - Way 2
- (Example) Azure IoT Central Demo Application
- (Example) OPC UA Client Application
- (Example) File Download/Upload Sample Application
- (Example) Tag Processing in ThingsPro Edge 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
- Development Notes and Limitations
- (Example) Scheduled Operation Task 1 (by confg)
- (Example) Scheduled Operation Task 2 (by code)
- (Example) Enable onChange Feature on TagHub
- (Example) Import Modbus Configuration File by Azure IoT Hub Direct Method
- (Example) Virtual Tags by Hopping Window