Hi Sameera,

Would you please let us know the parameters you passed for the API calls.
This seems a bug for me. Please go ahead and create a issue in here[1] with
the detailed reproducing steps.

[1] https://github.com/wso2/product-iots/issues

Best Regards,
Rasika

On Mon, Nov 27, 2017 at 11:09 AM, Sameera Gunarathne <[email protected]>
wrote:

> 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: [email protected]
> Mobile: +94714155561
>



-- 
With Regards,

*Rasika Perera*
Senior Software Engineer
LinkedIn: http://lk.linkedin.com/in/rasika90

<http://wso2.com/signature>

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to