Pat, Thiago, Could you confirm if CBOR will be in July release and when CBOR will be merged onto master branch, so that Primitive service can change the codes to support CBOR? If CBOR cannot be supported in July release, then we should let SWG know.
Regards June June Yong Young OIC Open Sourece WG Project Planning & Requirement TG Chair IoTivity Release Function Lead Samsung Electronics Co.,Ltd. Software R&D Center, IoT Solution Lab. | Web & Convergence Team Principal Engineer T: +82-31-301-6107, M: +82-10-9530-6107 E-mail :juney at samsung.com -----Original Message----- From: Keane, Erich [mailto:[email protected]] Sent: Wednesday, July 01, 2015 8:51 AM To: uzchoi at samsung.com Cc: Lankswert, Patrick; iotivity-dev at lists.iotivity.org; Macieira, Thiago; dwarka.dayama at samsung.com; juney at samsung.com Subject: Re: [oswg] [Pat, Uze] Groups - Action Item "CBOR Comms to SWG" Closed The C++ stack won't change at all, so that is fortunate. The CSDK API however, has changed significantly. You can preview the changes on the cbor-conversion branch. The basics are: Instead of passing JSON c-strings to/from the consumer, the new API uses an intermediary struct called OCPayload. This object has a 'type' parameter which tells which 'type' to cast this OCPayload to in order to retrieve the data. The result is a significantly simpler implementation for the consumers of the CSDK, since they don't have to worry about parsing the JSON, just getting said data out of the OCPayload object-model. There are a collection of helper methods (see ocpayload.h) to help get the data out. Additionally, there is a useful OC_LOG_PAYLOAD macro that will allow the 'dumping' of a payload object, so that it can be more clearly read by the developer, in my opinion, easier than the JSON printing ever was. On Wed, 2015-07-01 at 08:45 +0900, ???(Uze Choi) wrote: > June, > > > > Regarding CBOR merging, we need time to estimate it. > > For this estimation, > > Thiago/Erich, could you guide how we should change from the csdk API > user point of view. > > > > BR, Uze Choi > > From: oswg at openinterconnect.org [mailto:oswg at openinterconnect.org] On > Behalf Of Lankswert, Patrick > Sent: Wednesday, July 01, 2015 12:34 AM > To: juney at samsung.com; 'Dwarkaprasad Dayama'; > oswg at openinterconnect.org > Subject: RE: [oswg] [Pat, Uze] Groups - Action Item "CBOR Comms to > SWG" Closed > > > > > June, > > > > I think that it will be code complete and stable, but it has already > missed the API freeze date. > > > > Pat > > > > From: oswg at openinterconnect.org [mailto:oswg at openinterconnect.org] On > Behalf Of ???(June Yong Young) > Sent: Monday, June 29, 2015 9:11 PM > To: 'Dwarkaprasad Dayama'; oswg at openinterconnect.org > Subject: [oswg] [Pat, Uze] Groups - Action Item "CBOR Comms to SWG" > Closed > > > > > Pat, Uze, > > > > Can I ask you something? CBOR implementation will completed in July > release? > > > > Regards > > June > > > > June Yong Young > OIC Open Sourece WG Project Planning & Requirement TG Chair > > IoTivity Release Function Lead > > > Samsung Electronics Co.,Ltd. > > Software R&D Center, IoT Solution Lab. | Web & Convergence Team > > Principal Engineer > > T: +82-31-301-6107, M: +82-10-9530-6107 > > E-mail :juney at samsung.com > > > > From: oswg at openinterconnect.org [mailto:oswg at openinterconnect.org] On > Behalf Of Dwarkaprasad Dayama > Sent: Thursday, May 28, 2015 4:26 PM > To: oswg at openinterconnect.org > Subject: [oswg] Groups - Action Item "CBOR Comms to SWG" Closed > > > > Action Item Subject: CBOR Comms to SWG Item Number: #0027 > > > ______________________________________________________________________ > Description > Communicate the plan to support CBOR and delivery by mid-May to the > Standards Work Group. - > > Owner: Mr. Dwarkaprasad Dayama > Status: Closed > Priority: Medium > Due Date: 31 May 2015 > > > ______________________________________________________________________ > Comments > Mr. Dwarkaprasad Dayama 2015-04-20 04:51 UTC Feasibility study is > going on. Results for this action item can be updated after receiving > details from Thiago. > > Mr. Dwarkaprasad Dayama 2015-05-22 00:08 UTC Awaiting for details from > OSWG TG Chairs. > > Mr. Dwarkaprasad Dayama 2015-05-28 07:25 UTC OSWG has confirmed CBOR > to be part of Iotivity by EoJuly with Iotiviy 1.0. > > Information delegated to SWG through mail. > > > > > >
