How to send NMEA data to traccar, or mb there is a client for windows/linux?

T-qba year ago

I have many different NMEA GPS sources and I need them to send to traccar, please could you guide me how to do it?

Or may be i can convert it to another format, but where to find data formats to receive to traccar server?
I have much different NMEA GPS sources and I need them to send to traccar, please could you guide me how to do it?

Or may be i can convert it to another format, but where to find data formats to receive to traccar server?

Anton Tananaeva year ago

Use port 5005 for NMEA data.

T-qba year ago

All formats i try -- have nothing.
if i send just echo -n "87654321" >/dev/udp/192.168.1.200/5005
I have this ID online, but I cant pair it with any GPS NMEA string, even if i send it just after ID string.

Also, I tried:
echo -n "086415031С20$GPRMC,145800.00,A,4315.83615,N,07653.40663,E,0.076,,091222,,,A*72" >/dev/udp/192.168.1.200/5005
and
echo -n "086415031С20" "$GPRMC,145800.00,A,4315.83615,N,07653.40663,E,0.076,,091222,,,A*72" >/dev/udp/192.168.1.200/5005

But device with id 086415031С20 still offline

I have to send different GPS data from one IP, so i need to mark every string

LOG:

2022-12-09 14:57:38  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 14:57:39  INFO: [U24d6858d: t55 < 192.168.1.200] 2c3837363534333231
2022-12-09 14:57:39  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 14:57:43  WARN: /api/socket - NullPointerException (AsyncSocketServlet:54 < ...)
2022-12-09 14:58:21  INFO: [U24d6858d: t55 < 192.168.1.200] 303836343135303331433230
2022-12-09 14:58:21  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 14:58:45  INFO: [U24d6858d: t55 < 192.168.1.200] 303836343135303331433230
2022-12-09 14:58:45  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 14:58:45  WARN: /api/socket - NullPointerException (AsyncSocketServlet:54 < ...)
2022-12-09 14:58:47  INFO: [U24d6858d: t55 < 192.168.1.200] 2c3134353830302e30302c412c343331352e38333631352c4e2c30373635332e34303636332c452c302e3037362c2c3039313232322c2c2c412a3732
2022-12-09 14:58:47  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 14:59:04  INFO: [U24d6858d: t55 < 192.168.1.200] 303836343135303331433230
2022-12-09 14:59:04  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 14:59:06  INFO: [U24d6858d: t55 < 192.168.1.200] 2c3134353830302e30302c412c343331352e38333631352c4e2c30373635332e34303636332c452c302e3037362c2c3039313232322c2c2c412a3732
2022-12-09 14:59:06  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 14:59:08  INFO: [U24d6858d: t55 < 192.168.1.200] 2c3134353830302e30302c412c343331352e38333631352c4e2c30373635332e34303636332c452c302e3037362c2c3039313232322c2c2c412a3732
2022-12-09 14:59:08  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 14:59:47  WARN: /api/socket - NullPointerException (AsyncSocketServlet:54 < ...)
2022-12-09 15:00:43  INFO: [U24d6858d: t55 < 192.168.1.200] 303836343135303331d0a132302c3134353830302e30302c412c343331352e38333631352c4e2c30373635332e34303636332c452c302e3037362c2c3039313232322c2c2c412a3732
2022-12-09 15:00:43  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 15:00:49  WARN: /api/socket - NullPointerException (AsyncSocketServlet:54 < ...)
2022-12-09 15:01:03  INFO: [U24d6858d: t55 < 192.168.1.200] 303836343135303331d0a132302c3134353830302e30302c412c343331352e38333631352c4e2c30373635332e34303636332c452c302e3037362c2c3039313232322c2c2c412a3732
2022-12-09 15:01:03  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 15:01:21  INFO: [U24d6858d: t55 < 192.168.1.200] 303836343135303331d0a13230202c3134353830302e30302c412c343331352e38333631352c4e2c30373635332e34303636332c452c302e3037362c2c3039313232322c2c2c412a3732
2022-12-09 15:01:21  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 15:01:51  WARN: /api/socket - NullPointerException (AsyncSocketServlet:54 < ...)
2022-12-09 15:02:10  INFO: [U24d6858d: t55 < 192.168.1.200] 3837363534333231
2022-12-09 15:02:10  WARN: Unknown device - 192.168.1.200 (192.168.1.200)
2022-12-09 15:02:53  WARN: /api/socket - NullPointerException (AsyncSocketServlet:54 < ...)```
T-qba year ago

Looks like the problem in $ symbol, server doesnt receive it
If i send echo -n "990000561287964$GPRMC,213516.0,A,4337.216791,N,11611.995877,W,0.0,335.4,181214,,,A * 72" >/dev/udp/192.168.1.200/5005
I am getting back:
990000561287964,213516.0,A,4337.216791,N,11611.995877,W,0.0,335.4,181214,,,A * 72

T-qba year ago

ok, \ solved the problem, sorry

echo -n "990000561287964\$GPRMC,213516.0,A,4337.216791,N,11611.995877,W,0.0,335.4,181214,,,A * 72" >/dev/udp/192.168.1.200/5005