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 <[email protected]> wrote: > 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 > format) and oic_svr_db_server.dat (samme file encoded to CBOR, this one is > actually used by the API). > > Regards > Max > > > > On Thu, Feb 8, 2018 at 3:51 AM, ka ka <[email protected]> wrote: > >> Hello, IoTivity developers, >> I am working on an Android based IoTivity project. >> I need to fix the device ID of IoTivity platform. >> I used OcPlatform.setDeviceId to set the device ID, >> but it shows runtime error (UUID length, format are OK). >> is there some other solution? >> Regards >> >> ==================== >> Wenquan Jin (김문권) >> Jeju Natl. Univ. >> Jeju 690-756 >> REPUBLIC OF KOREA >> Phone: +82 (0)10 2983 0958 <[email protected]> >> ==================== >> >> _______________________________________________ >> iotivity-dev mailing list >> [email protected] >> https://lists.iotivity.org/mailman/listinfo/iotivity-dev >> >> > -- ==================== Wenquan Jin (김문권) Jeju Natl. Univ. Jeju 690-756 REPUBLIC OF KOREA Phone: +82 (0)10 2983 0958 <[email protected]> ====================
_______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
