RS232 and GPS Packet Collision

Hi there,

I have a FMC225 connected to an IMU that is outputting byte data which can be processed through RX/TX. It is outputting data every second

I would like both the IMU data and the GPS data to be combined and synchronized to be uploaded to a database. This should happen every second.

The issue that I am currently having is that I cannot collect both at the same time. If I have RS232 TCP Binary Mode active, my TCP listener does not receive any GPS signals, but it outputs the IMU data every second as intended . However, if I turn off RS232 the GPS signals appear every second, but no
IMU data as previously mentioned.

I have tried using RS232 TCP Binary Buffered mode, but this leads to a loss of both GPS and IMU data, as data is no longer being received every second.

Is this an issue with the way the FMC225 is configured? Or is it an issue with my TCP listener? I have it sending a message stating the number of packets received (as described in the Codec 12 guidelines)

Any help would be greatly appreciated,
Yun Zhe

Hello Yun Zhe,

If you are using TCP Binary/ASCII mode the data will be sent via Codec 12 using this mode GPS location will not be available: Codec - Wiki Knowledge Base | Teltonika GPS (teltonika-gps.com)

If you are going to use TCP Binary/ASCII buffered mode the data will be sent via Codec 13 GPS data still will not be available but the time stamp will be available: Codec - Wiki Knowledge Base | Teltonika GPS (teltonika-gps.com)

Wikipage reference: FMC225 RS-232 and RS-485 - Wiki Knowledge Base | Teltonika GPS (teltonika-gps.com)

If you want to have the GPS data and the IMU data in 1 packet you need to use special firmware kindly contact your sales manager if the special firmware is available for this use case.

If you don’t have any contact with our Sales managers, please contact them on our official website https://teltonika-gps.com/ and click on the “Contact Us” button. When you will click, please fill out the form and submit it. Note: as a topic, please choose “Vehicle telematics”. Or you can send an e-mail with a description of your situation to us: Teltonika - IoT, Internet of Things

Please follow these recommendations: Recommendations for filling a query description - Wiki Knowledge Base | Teltonika GPS

Best Regards,
Maynard C