This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • TI Thinks Resolved

MSP432E401Y: msp432e401y Json Create Template doesn't support float type

Intellectual 410 points

Replies: 3

Views: 31

Part Number: MSP432E401Y

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?

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.