Seeed-Solution / SenseCAP-Decoder

22 stars 7 forks source link

Negative values for temperature change datatype to string instead of float #6

Open XAct-6510 opened 10 months ago

XAct-6510 commented 10 months ago

The decoder for TTN changes the data type of negative values for temperature from float to string, which causes our JSON application to reject the data and record a NULL value. Please change the decoder so that the data type for temperature always remains float and thus retains the correct sign.