Closed devlie closed 3 years ago
@devlie DTDL does not set any limits on instance properties. You should look at this document to find which are the valid characters and size limits for IoT Hub Device Twins.
@devlie does my previous reply answers your question? if so, can you close this issue?
@rido-min thanks! It looks like there's no meaningful limitation on manufacturer and model, and a user can theoretically set each to be 4KB. Is that correct? Are these two props used anywhere else in IoT Hub or PnP system? If we are building a solution on top of it, can we safely limit them to a shorter length?
correct, it's up to the user to set the limit. IoT Hub does not makes any special treatment, those are just twin properties.
However upstream solutions like central might have a limit of what they can render. @sandeeppujar do you know what's the limit in central for reported properties?
@sandeeppujar, any idea? Thanks.
@devlie , IoTC adds no additional limits, they are twin properties in IoT Hub
@devlie do you need anything else? Otherwise, can you close this issue?
Thanks for the help!
Is there any character set and length restriction on device manufacturer and model properties in
dtmi:azure:DeviceManagement:DeviceInformation;1
? Thanks.