Re: [dev] Android, failed to set device ID

2018-02-08 Thread chiayu.wu
ivity.org [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of ka ka Sent: Thursday, February 08, 2018 4:20 PM To: Max Kholmyansky; iotivity-dev@lists.iotivity.org Subject: Re: [dev] Android, failed to set device ID Thank you for your kind comments. As I mentioned, I think,

Re: [dev] Android, failed to set device ID

2018-02-08 Thread ka ka
Thank you for your kind comments. As I mentioned, I think, IoTIvity supports the function for changing the ID using OcPlatform.setDeviceId. Regards On Thu, Feb 8, 2018 at 5:08 PM, Max Kholmyansky wrote: > Hello > > To my best knowledge, there is no way to set the device ID > programmatically. >

Re: [dev] Android, failed to set device ID

2018-02-08 Thread Max Kholmyansky
Hello To my best knowledge, there is no way to set the device ID programmatically. The way it works - is to change the "deviceuuid" value in "doxm" section of the security settings file loaded upon platform initialization. In the server samples, look at file named oic_svr_db_server.json (JSON fo