Closed catundercar closed 2 years ago
Hey @Mrliu8023
The concept of writable properties is mapped to desired/reported properties in DeviceTwins, explained here https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-device-twins
There are APIs for device and service side, each of those allows to read/write where apropiate:
Thanks, Does this mean that the property, which is unwritable, can not edit after created?
Writable
means the property can be updated from the service and read from the deviceRead Only
means the property can be updated from the device and read from the serviceIn both cases the properties can be edited after created.
Thanks for the feedback, I understand your confusion.
Thanks!
The explain of
writable
is "A boolean value that indicates whether the property is writable by an external source, such as an application, or not. The default value is false (read-only).", I have a confusion about it. Does it mean that need two API for managing twins? One used by twin management web, Another one is used by external source? Are there any example or practical scenarios? Looking forward to your answer,thanks~