Hi Nathan, Thank you for valuable information!
Actually I have tested provisioning sample with sample ".dat" file before. However, I couldn't find how "platform ID" is stored in ".dat" file. Do you have any idea about this? Thanks & BR - Kevin On Thu, Sep 6, 2018 at 8:27 AM Heldt-Sheller, Nathan < nathan.heldt-shel...@intel.com> wrote: > Hi Kevin, > > > > Yes, same .dat file. If you read here: > https://wiki.iotivity.org/security_resource_manager?s[]=json2cbor, you’ll > find more info about the .dat file and manufacturer defaults. There’s also > more info regarding the “resetpf” (Reset Profile), a backup of the .dat > file that allows resetting to mfr defaults, here: > https://wiki.iotivity.org/doku.php?id=provisioning (search for “resetpf”). > > > > Hope that helps, > > > > Thanks, > Nathan > > > > *From:* Joo-Chul Kevin Lee [mailto:cms.r...@gmail.com] > *Sent:* Tuesday, September 4, 2018 10:47 PM > *To:* Heldt-Sheller, Nathan <nathan.heldt-shel...@intel.com> > *Cc:* iotivity-dev <iotivity-dev@lists.iotivity.org> > *Subject:* Re: [dev] how to share "same platform ID" among iotivity stack > instances? > > > > Hi Nathan, > > > > Thank you for explanation. > > > > I have more questions about it. > > > > Is the ".dat" file used to store default resource values same as the > ".dat" file used to store SVR during/after onboarding ? > > If not, then, does the ".dat" file have any specific format (json or > something) ? > > > > Thanks & BR > > > > - Kevin > > > > > > > > > > > > > > > > On Wed, Sep 5, 2018 at 2:51 AM Heldt-Sheller, Nathan < > nathan.heldt-shel...@intel.com> wrote: > > Hi Kevin, > > > > If I’ve understood your question correctly, the answer is that the > manufacturer would set the platform ID to the same value for all the > Devices on the platform prior to shipping the product. In IoTivity, this > is done via the .dat file that IoTivity loads many default Resource values > from. > > > > There’s no API in the stack to somehow determine that two Devices are on > the same physical platform. > > > > Thanks, > Nathan > > > > > > *From:* iotivity-dev@lists.iotivity.org [mailto: > iotivity-dev@lists.iotivity.org] *On Behalf Of *Joo-Chul Lee > *Sent:* Monday, September 3, 2018 6:21 PM > *To:* iotivity-dev <iotivity-dev@lists.iotivity.org> > *Subject:* [dev] how to share "same platform ID" among iotivity stack > instances? > > > > > > Hi all, > > > > I have had one question since I began to study OCF (OIC?) spec… > > That is how to share “same platform ID” among logical OCF devices in > IoTivity codes. > > > > Is this just an implementation skill (dependent on programmer) ? or is > there any typical way used in codes ? > > At least I have not found any sample codes in IoTivity stack… > > > > Thanks & BR, > > > > - Kevin > > > -- > > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > Joo-Chul Kevin Lee, ETRI > 161 Gajeong-dong, Yuseong-gu, daejon, 305-700, KOREA > E-mail: r...@etri.re.kr/cms.r...@gmail.com Tel: +82-42-860-1021 > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > > > > > -- > > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > Joo-Chul Kevin Lee, ETRI > 161 Gajeong-dong, Yuseong-gu, daejon, 305-700, KOREA > E-mail: r...@etri.re.kr/cms.r...@gmail.com Tel: +82-42-860-1021 > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > -- -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Joo-Chul Kevin Lee, ETRI 161 Gajeong-dong, Yuseong-gu, daejon, 305-700, KOREA E-mail: r...@etri.re.kr/cms.r...@gmail.com Tel: +82-42-860-1021 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9924): https://lists.iotivity.org/g/iotivity-dev/message/9924 Mute This Topic: https://lists.iotivity.org/mt/25172934/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-