Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK
Hello Everyone,
I am using msp432e401y for IOT application. I am using JSON library provided in 'simplelink_msp432e4_sdk_3_10_00_11'. I am trying to create json template as below using function 'Json_createTemplate()':
"{"
"\"PKT_NO\":int32,"
"\"DATA_Val\":float,"
"}";
While creating template it gives me an error that float doesn't supported.
I referred to TI Utilities API: JSON Parser/Builder https://software-dl.ti.com/simplelink/esd/simplelink_cc13x2_26x2_sdk/3.40.00.02/exports/docs/tiutils/html/group__ti__utils__json__JSON.html#details
There it shows this error: "Floating point values are not parsed correctly and should not be used"
Can Any one suggest me solution for this?