FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 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
119 views
in Vehicle tracking 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

+1 vote
by anonymous

Hello

We would like to analyze your issue.

Please contact your sales manager. If you don't have any contacts with our Sale managers, please contact with them on our official website https://teltonika-gps.com/ and click on the "Contact Us" button. When you will click, please fill the form and submit it. Note: as a topic, please choose "Vehicle telematics". Or you can send an e-mail with description of your situation to info@teltonika.lt When contacting Us, please provide: IMEI/Logs/Configuration file/Intenational GSM number/Firmware version/ect, please follow these recommendations: https://wiki.teltonika-gps.com/view/Recommendations_for_filling_a_query_description

Best regards.