Sounds like an issue..
The python works great for creating the introspection files as part of the  
DeviceBuilder tool chain and works fine with the CTT.
I have tried to use exactly the same sequence for the security files, but I 
never got that to work... not sure what is different and why it should be 
different.

Kind Regards,
Wouter

-----Original Message-----
From: Mats Wichmann [mailto:m...@wichmann.us] 
Sent: 05 March 2018 14:26
To: Wouter van der Beek (wovander) <wovan...@cisco.com>; 
iotivity-dev@lists.iotivity.org; Heldt-Sheller, Nathan 
<nathan.heldt-shel...@intel.com>
Subject: Re: [dev] .dat files not being .gitignored?

On 03/05/2018 06:19 AM, Wouter van der Beek (wovander) wrote:
> We can use python to do the cbor conversion..
> Since scons (python) is needed anyway… that would work..
> https://github.com/openconnectivityfoundation/DeviceBuilder/blob/maste
> r/src/swag2cbor.py

I've thought about this too.  I *think* at the moment we do some funky extra 
stuff in json2cbor (there's some kind of nested encoding) that suggests it's 
not clear an off the shelf tool can do what we need.  If we also had a decoder 
various methods could be validated much more easily - json2cbor has broken more 
than once over the past months because the validation method is more ad-hoc, 
namely "try out the matching sample app".


_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to