Attached is a CDDL version of what I understand from that.

(I?m not sure I fully understand what you mean by ?mapstart?/?mapend" and 
?arraystart?/?arrayend?, but maybe this is just {} and [] from CDDL.)

For laughs, I have also attached 20 messages automatically generated from this 
specification?

Gr??e, Carsten

On 15 Jul 2015 at 22:14:49, Keane, Erich (erich.keane at intel.com) wrote:

Ive put together a BNF inspired document, attached to here!  

You'll note that it is actually a bit wasteful, which is a result of  
trying to make it look as close to the JSON as possible without being  
overly-wasteful. Even so, we are at 1/3 to 1/2 package size for the  
same data.  

Many of the string-keys could easily be replaced by integers (making the  
maps INT->val rather than String->val), which would save a ton of space.  

Additionally, there are some organizational 'sub-maps' that could easily  
be done away with, such as the Discovery "prop", device and platform  
"rep", and representation's "prop" tag.  


Architects: If you have questions, please let me know, I'll clarify to  
the best of of my ability.  


On Tue, 2015-07-14 at 15:23 -0700, Thiago Macieira wrote:  
> On Tuesday 14 July 2015 15:21:11 Thiago Macieira wrote:  
> > On Tuesday 14 July 2015 20:59:42 Keane, Erich wrote:  
> > > Since all comments were dealt with, and it passed validation without  
> > > further comments, the CBOR commit has been pushed to master! Anyone  
> > > doing a fresh pull should see the code.  
> > >  
> > > I'll continue monitoring for regressions caused here, as well as work  
> > > wtih other feature owners to get additional features in before the  
> > > freeze date.  
> >  
> > Nice work, Erich & team!  
>  
> BTW, can you describe the wire protocol now, for the benefit of retrofitting 
> the  
> spec?  
>  

_______________________________________________  
iotivity-dev mailing list  
iotivity-dev at lists.iotivity.org  
https://lists.iotivity.org/mailman/listinfo/iotivity-dev  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150715/b03e02dd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iotivity.cddl
Type: application/octet-stream
Size: 3548 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150715/b03e02dd/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: iotivity-out.txt
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150715/b03e02dd/attachment.txt>

Reply via email to