Dataforward from GpsGateServer Client to Traccar

Freddy Colmenares 8 years ago

Hi guys I'm doing a dataforward from a GpsGateServer to Traccar. The device is a Teltonika FM1100 and I'm having this logs:

2017-10-05 15:05:59 DEBUG: [926F71A0: 5027 < 149.56.69.210] HEX: 000f333532303934303833373134313130
2017-10-05 15:05:59  WARN: [926F71A0] error - Not enough readable bytes - Need 14644, maximum is 9 - IndexOutOfBoundsException (... < TeltonikaProtocolDecoder:346 < *:322 < ExtendedObjectDecoder:58 < ...)
2017-10-05 15:06:01 DEBUG: [926F71A0: 5027 < 149.56.69.210] HEX: 000000000000003d08010000015eedee21c001d65041880b0430af004500a7100005180b07010102000300b300b400f001ef010309001c4234c8180005014800000bb8000100008d24

Any clue about how can I do it?

Anton Tananaev 8 years ago

Do you see "connected" message in the log for it?

Freddy Colmenares 8 years ago

Hi Anton ... I do not I even change the port to GpsGate 5026 but with this was worse cause I doesn't get any data. Any recommendation?

Anton Tananaev 8 years ago

If you don't, it means that you are forwarding TCP stream to UDP port, so it won't work.

Freddy Colmenares 8 years ago

GpsGate makes the dataforward through udp protocols, so how would you do the dataforward? through Teltonika port or GpsGate port?

Anton Tananaev 8 years ago

If you want to use UDP then you should configure Teltonika to use UDP as well.

Freddy Colmenares 8 years ago

I believe I'm not understanding .. The Teltonika FM1100 is reporting to the GpsGate Server through TCP and the GpsGate makes the dataforward through UDP .. If I make the dataforward to other GpsGate Server everything if fine .. but if I do it to Traccar Server how would I receive it? like Teltonika? or like GpsGate? .. if its like Teltonika FM1100 I gets the error that I send before ... but if its like GpsGate I don't see anything in the logs

Anton Tananaev 8 years ago

That's a question for GpsGate.

Freddy Colmenares 8 years ago

Do u have test it before? communication between GpsGate and Traccar?

Anton Tananaev 8 years ago

I have tested GpsGate protocol. I haven't tested forwarding myself, but quite a few users reported that it works.

Freddy Colmenares 8 years ago

And when they do, you doesn't know how they register the device? if like the device or like a gpsgate signal?

Anton Tananaev 8 years ago

I believe it's like device, but I'm not completely sure.

Freddy Colmenares 8 years ago

Hi Anton, Traccar can use Teltonika UDP connection?

Anton Tananaev 8 years ago

Yes, it can.

Freddy Colmenares 8 years ago

The Teltonika already has enable the UDP protocol? I was reading this: https://www.traccar.org/forums/topic/how-can-i-enable-teltonika-udp-protocol/ and I have the doubt if I have to change the file or something