FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
81 views 0 comments
by anonymous
I've acquired a FMC003 to test integration into our platform, and have updated it to the latest firmware, which is 03.28.03 Rev:97.
I'm building the integration on Thingsboard across TCP, and I've set the payload type to JSON on Thingsboard as well as the sensor to "Codec JSON".

It starts sending the data, and then I can see my buffer receiving it, and it breaks once it tries parsing the JSON:

```
\u0000\u000F863540063345038{\"state\":{\"reported
```
Now I understand that this is supposed to be the IMEI, but it appears to be a bug in the firmware, as this is not correct JSON formatting.

I would assume that it should look something like this:

```
{

"IMEI":<imei>,

"content": [

{ "state": .... },

{"state": ....}

]

}
```

Please let me know if there is a mistake on my side or not, and what an ETA could be on fixing this error in the firmware. I was happy to see the option for JSON (as there is documentation for it I was expecting to manually decode it from binary), but sadly it seems broken.

I can also see that you send different "objects" as one i.e. {"state": ...}{"state":...}`, but those should have a comma between and be in an array

1 Answer

0 votes
by anonymous

Hello,

For questions related to FMC003 please refer to this forum: https://community.teltonika-gps.com/

Best regards,