I am trying to update the data fields in tlm, temperature.
I have updated the functions update_temp to send a hardcoded data.
static void update_temp(void)
{
int32_t temp; // variable to hold temp reading
int16_t temp_new = (int16_t) temp; // convert from int32_t to int16_t
m_tlm.temp[0] = 77; // Right-shift by two to remove decimal part
m_tlm.temp[1] = 77; // Left-shift 6 to get fractional part with 0.25 degrees C resolution
}
but in the NRF-connect app, the values of temperature remains 111.44531C.
I even tried sending dynamic data, but the issue still remains.
Please let me know if I need to change data in some other place.