Hi,

I have created a device type using iot device management APIs and I have
defined several properties when created device type. So at the enrollment
time, I push the initial values for these properties using
DeviceManagementProviderService[1]. But when I try to update the device
properties after enrollment it did not get updated. I have used both
*updateDeviceInfo*[2] and *modifyEnrollment*[3] methods in
DeviceManagementProviderService. Is there a service which can be used to
update the device properties?

[1] -
https://github.com/wso2/carbon-device-mgt/blob/master/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderServiceImpl.java#L162
[2] -
https://github.com/wso2/carbon-device-mgt/blob/master/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderServiceImpl.java#L1181
[3] -
https://github.com/wso2/carbon-device-mgt/blob/master/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderServiceImpl.java#L302
Thanks & Regards,
sameera.
-- 
Sameera Gunarathne
Software Engineer, WSO2 Inc. http://wso2.com
<http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com&h=gAQEswASa>
Email: samee...@wso2.com
Mobile: +94714155561
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to