Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tracked by #533
kbeaugrand opened this issue Jun 27, 2022 · 1 comment
Open
Tracked by #533
Assignees
Labels
enhancement New feature or request iot-edge

Comments

@kbeaugrand
Copy link
Member

kbeaugrand commented Jun 27, 2022

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

  • boolean
  • date
  • datetime
  • double
  • duration
  • float
  • integer
  • long
  • string
  • time

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:

  • enum
  • object

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 kbeaugrand added this to the S37 milestone Aug 22, 2022
@kbeaugrand kbeaugrand moved this to :pencil: Todo in IoT Hub Portal Aug 22, 2022
@Sben65 Sben65 moved this from :pencil: Todo to :construction: In Progress in IoT Hub Portal Aug 23, 2022
@Sben65 Sben65 moved this from :construction: In Progress to :pencil: Todo in IoT Hub Portal Aug 23, 2022
@kbeaugrand kbeaugrand removed this from the S37 milestone Sep 5, 2022
@hocinehacherouf hocinehacherouf added this to the S46 milestone Nov 14, 2022
@Sben65 Sben65 moved this from 📝 Todo to 🚧 In Progress in IoT Hub Portal Nov 14, 2022
@hocinehacherouf hocinehacherouf modified the milestones: S46, S47 Nov 21, 2022
@kbeaugrand kbeaugrand modified the milestones: S47, S48 Nov 25, 2022
@kbeaugrand kbeaugrand added enhancement New feature or request iot-edge labels Nov 26, 2022
@kbeaugrand
Copy link
Member Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment