You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
I was testing OTA for ESP32 device. I realized when I delete assigned firmware of my device, I am receving [TB] Unable to de-serialize received json data with error (DeserializationError::NoMemory).
THINGSBOARD_ENABLE_DYNAMIC is enabled.
After printing output I realized calculated Json object size is not correct. This is the payload sent when assigned firmware cleared for device.
{
"deleted": [
"fw_checksum_algorithm",
"fw_version",
"fw_ts",
"fw_tag",
"fw_checksum",
"fw_title",
"fw_state",
"fw_size",
"fw_url"
]
}
And JSON_OBJECT_SIZE(Helper::getOccurences(reinterpret_cast<char *>(payload), COLON)) is returning 16 to deserialize this payload
The text was updated successfully, but these errors were encountered:
Problem:
I was testing OTA for ESP32 device. I realized when I delete assigned firmware of my device, I am receving [TB] Unable to de-serialize received json data with error (DeserializationError::NoMemory).
THINGSBOARD_ENABLE_DYNAMIC is enabled.
After printing output I realized calculated Json object size is not correct. This is the payload sent when assigned firmware cleared for device.
{
"deleted": [
"fw_checksum_algorithm",
"fw_version",
"fw_ts",
"fw_tag",
"fw_checksum",
"fw_title",
"fw_state",
"fw_size",
"fw_url"
]
}
And JSON_OBJECT_SIZE(Helper::getOccurences(reinterpret_cast<char *>(payload), COLON)) is returning 16 to deserialize this payload
The text was updated successfully, but these errors were encountered: