Hi Todd,

The expected scenario may be that the auto-generated *.dat file works with the 
provisioningclient app. However, I have not seen this work.

What works for me is taking the oic_svr_db_client.dat at 
<iotivity>/resource/csdk/security/provisioning/sample and place that were the 
autogenerated one gets created. The provisioningclient app works then.

I look forward to hear why the autogenerated version doesn't work the same.

Thanks,

Joey Morrow

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Malsbary, Todd
Sent: Tuesday, January 31, 2017 4:23 PM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] Default .dat file

Hello,

When I create a server app and register the persistent storage handlers, a .dat 
file is created for me when one does not already exist.  I then use the 
provisioningclient app to attempt ownership transfer but it fails.  I believe 
this is due to missing acls for /oic/sec/doxm in the created .dat file.  Is 
this the expected behavior?  Am I missing any additional APIs to setup the .dat 
file suitable for ownership transfer and provisioning?

Thanks,
-Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170201/3b322944/attachment.html>

Reply via email to