Skip to content

FrankSHLi/TPE2-Application-Development

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TPE2-Application-Development

ThingsPro Edge Application v.s. tpFunc Function

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

ThingsPro Edge Application

Python3 Sample App

  1. Build and Run "Hello World" Application
  2. Invoke ThingsPro Edge API on "Hello World" Application
  3. Use TagHub SDK on Hello World Application 1 (publish tag)
  4. Use TagHub SDK on Hello World Application 2 (subscribe tag)
  5. (Example) Azure IoT Central Demo Application
  6. (Example) OPC UA Client Application

Dotnet Core C# Sample App

  1. Build and Run "Hello World" Application
  2. Invoke ThingsPro Edge API on "Hello World" Application
  3. Use TagHub SDK on Hello World Application 1 (publish tag)
  4. Use TagHub SDK on Hello World Application 2 (subscribe tag)

tpFunc Function

  1. What is tpFunc and tpFunc funciton
  2. (Example) Scheduled Operation Task 1 (by confg)
  3. (Example) Scheduled Operation Task 2 (by code)
  4. (Example) Enable onChange Feature on TagHub

Azure IoT Edge Module

  1. Develop your "thingspro-agent"
  2. Develop Module on .Net Core 6 (ARM32, Debian64)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published