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.
