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. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ iotivity-dev mailing list iotivity-dev at lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev
