CGI-FR / IoT-Hub-Portal

IoT Hub Portal is a solution for handling IoT Devices easily. It leverages on Azure IoT Hub / AWS IoT Core for connectivity and device management.
https://cgi-fr.github.io/IoT-Hub-Portal/stable/
MIT License
32 stars 11 forks source link

[Edge device templates] - Define module commands request/response model #875

Open kbeaugrand opened 2 years ago

kbeaugrand commented 2 years ago

The primitive types we should be able to take in account:

Here is a documentation of how Azure Digital twins defines types primitives: https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md#primitive-schemas

In addition, we should be able to define complex types:

Here is a documentation of how Azure Digitial twins defines the complex types: https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md#complex-schemas

The object should be defined and is able to handle all of the types above.

Please see here how Azure Digital twins defines the objects: https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md#object

In addition, please see an exemple of how we can define a command request payload in a UI :

Image

Image

kbeaugrand commented 1 year ago

@Sben65 you can use this documentation to have an explaination about one C2D method you can configure on the LoRaWAN Server Module

https://azure.github.io/iotedge-lorawan-starterkit/2.2.1/quickstart/?h=c2d#class-c-devices