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?
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cbor-documentation.txt
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150715/f3c2a16c/attachment.txt>

Reply via email to