Closed xiongyu0523 closed 2 years ago
Hi @xiongyu0523 , Central accepts the "expanded" form, by having all the interfaces in a JSON array.
What do you mean with "giant model" ?
Yes, it is the format that IoT Central expect to accept. Can we use dmr-client with some parameters to generate this file instead of multiple interfaces seperately?
yes, dmr-client export
will create a single file with an array of all dependent interfaces.
cool, sorry for misunderstanding of expand & export..let's close
Can I use expand command to generate the JSON array single model that IoT Central needs? If Not, can you add this feature to the tool, i found it is useful for user to test the local multi-component model before they submit to github (or they do not want to submit)
IoT Central expects the JSON file to contain the device model with the interfaces defined inline, rather than in separate files,