I have created a JIRA ticket for 'float' datatype support and assigned to Erich.
I have also created a JIRA bug for 'double' datatype specifically for Tizen build and left it 'unassigned'.If some one can verify this issue on their test Tizen platform and close the ticket it would be great! Thanks and Regards, Ram ------- Original Message ------- Sender : Keane, Erich<erich.keane at intel.com> Date : Jul 23, 2015 01:47 (GMT+09:00) Title : Re: Re: [dev] Resource property does not work for float data type 2 of us here just verified the double-functionality on the Linux build. We don't have Tizen builds available, but this would suggest that the Tizen sample-app has a problem. Anyone with Tizen experience have a chance to take a look? As far as "float" support, could you submit a JIRA ticket and assign it to me? I can at least make C++ look like it works correctly. -Erich On Wed, 2015-07-22 at 00:11 +0000, Ramasamy Kannan wrote: > I am getting the same exception when using 'double' datatype as well. I am > using the 0.9.1 code with Tizen build. Has it been verified that using > 'double' works? > > It would be better for the C++ SDK to support 'float' so that external > typecasting does not have to be done all the time. > > ------- Original Message ------- > Sender : Keane, Erich<erich.keane at intel.com> > Date : Jul 22, 2015 08:41 (GMT+09:00) > Title : Re: [dev] Resource property does not work for float data type > > If necessary, the C++SDK can be converted to support 'float', but under > the hood it would likely just silently convert/cast through double. > > > On Tue, 2015-07-21 at 23:38 +0000, Ramasamy Kannan wrote: > > Many of the mobile sensors output float datatype values. So float or double > > is required. This cannot be removed from specifications. > > > > The power level test was to quickly check and verify the issue on example > > code. > > > > Regards, > > Ram > > > > ------- Original Message ------- > > Sender : Thiago Macieira<thiago.macieira at intel.com> > > Date : Jul 22, 2015 07:43 (GMT+09:00) > > Title : Re: [dev] Resource property does not work for float data type > > > > On Tuesday 21 July 2015 16:01:21 Keane, Erich wrote: > > > We don't actually support "float" in the stack, only "double". Since > > > these are two disparate types as far as a variant is concerned, they > > > will come across separately. Please change it to 'double' and it should > > > work. > > > > Better yet, please change back to int and fix the spec. > > > > There's no good reason to transmit 64 bits and a precision of 18 decimal > > places to indicate the power level. >
