smartcitizen-kit-21 icon indicating copy to clipboard operation
smartcitizen-kit-21 copied to clipboard

JSON parsing error on info messages

Open oscgonfer opened this issue 9 months ago • 0 comments

Seems that there is some JSON parsing errors on some info messages. For instance, it shows at the API level as:

Invalid Unicode [04 22 2c 22 68] at 31

The message seems OK at the firmware level, also when subscribing directly to the mqtt topic (but it could be the terminal emulator interpretation of those characters). In any case,

message: {"time":"2024-05-07T14:54:20Z�","hw_ver":"2.1","id":"3E661D225055344E312E3120FF0F2B08","sam_ver":"0.9.8-7b45baa","sam_bd":"2023-04-17T13:54:59Z","mac":"EE:FA:BC:DC:61:F7","esp_ver":"0.9.8-7b45baa","esp_bd":"2023-04-17T13:55:15Z"},
topic: device/sck/ltybyn/info
}

This seems to be an issue with older firmware version (before the SCKSerial refurbish). But just keeping a note here for future reference: 7b45baa

oscgonfer avatar May 07 '24 15:05 oscgonfer