Teltonika FMB920

bsdev7 years ago

Hello!

Im trying to add a Teltonika FMB920 to my user on my own server.

The port 5027 is open and i have added the device to my server.

But it is not showing online.I configured the device to trasmit on my new server and 5027 port.

I know that the device is not on the list.But does it have to show up online ? Because it uses Teltonika protocol .

Thanks

Anton Tananaev7 years ago
GuruJush7 years ago

Can you give some information after this integration? Does it work?

It's possible or not to use this device (Teltonika FMB920) on Traccar?

Thanks

Anton Tananaev7 years ago

As long as it uses standard Teltonika protocol, it should work fine.

psekinho6 years ago

Hello,
I have a linux server with 3.15 version installed. I have an FMB920 device. I see on teltonika configurator that device is sending data to server but it seems that data is not verified. Configurator shows that 0 data are sent. Log says:

[2018.01.18 19:08:41]-[REC.SEND.1]	Error! No server response to sent records, rec sending canceled [37]

When i check server log for HEX i see nothing. Any help would be appreciated.
Thank you.

edit: after changing port from 5027 to 5001 i got

2018-01-18 22:18:33 DEBUG: [430BEDF5: 5050 < xx.xx.xx.xx.xx] HEX: 0300002a25e00000000000436f6f6b69653a206d737473686173683d546573740d0a0100080003000000
2018-01-18 22:18:36  INFO: [B20FFFC1] connected
2018-01-18 22:18:48 DEBUG: [430BEDF5: 5050 < xx.xxx.xx.xx] HEX: 0300002502f08064000003eb70801616001700e9030000000000010800240000000100ea030300000902f0802003
2018-01-18 22:18:48  INFO: [430BEDF5] disconnected
2018-01-18 22:20:27  INFO: [0D7C0414] connected
2018-01-18 22:22:27  INFO: [391FF5DC] connected

but hex decoder shows it a bit gibberish

Anton Tananaev6 years ago

You should start with troubleshooting guide:

https://www.traccar.org/troubleshooting/

psekinho6 years ago

I did. And my problem is that when i got HEX, i don't understand anything when i decode it.
Also,i read in a post of you inthe forum, that FMB920 is propably supported as all teltonika use same protocol.
Have you confirmed this or should i troubleshoot, without taking granted that it should work?
Thank you.

Anton Tananaev6 years ago

You are saying that you changed port to 5001 and then you are showing logs with port 5050, which clearly means that it's not from your device.

psekinho6 years ago

I guess you are right. It's because for a strange reason when i changed port to 5027 this popped up on the logs, and i imagined it was from the device(i have no other devices on the server). Still a coincindence though. I will keep trying to get proper HEX and inform you.

psekinho6 years ago

I tried with different ports and i get same result.
1)Logs from FMB920 say that connection is established to server, packets are sent but there is no response.
2)Logs from traccar are:

2018-01-18 23:34:36  INFO: [52C75709] connected
2018-01-18 23:35:07  INFO: [8F9E9DE7] connected
2018-01-18 23:35:07  WARN: [52C75709] error - Connection reset by peer - IOException (...)
2018-01-18 23:35:07  INFO: [52C75709] disconnected
2018-01-18 23:35:38  INFO: [3DDC2928] connected
2018-01-18 23:35:52  WARN: [8F9E9DE7] error - Connection reset by peer - IOException (...)
2018-01-18 23:35:52  INFO: [8F9E9DE7] disconnected
2018-01-18 23:36:09  INFO: [C3EC45C1] connected
2018-01-18 23:36:23  WARN: [3DDC2928] error - Connection reset by peer - IOException (...)
2018-01-18 23:36:23  INFO: [3DDC2928] disconnected
2018-01-18 23:36:40  INFO: [81D9F64C] connected

Should i try what is mentioned here:
https://github.com/tananaev/traccar/issues/1861

Anton Tananaev6 years ago

I won't be able to help you if you just ignore my comments. I said that you should follow troubleshooting guide.

psekinho6 years ago

After some searching and log reading i came to the conclusion that server should reply to GPS with 01 (standard teltonika protocol), after GPS has sent IMEI. Then GPS gets this confirmation and sends data.
Right now device sends IMEI, but gets no answer and it closes connection(see my post above).

So my question is what i have to do to get answer to GPS; I feel like i am missing something when i did my initial setup of server.

Anton Tananaev6 years ago

Logs please.

psekinho6 years ago

I think that problem has to do with my GSM provider.
GSM providers in my country have all ports closed by default. So if server answers to the device, it's blocked and then request is timed out.
I checked TeltonikaProtocolDecoder.java and it has the procedure of answering after getting IMEI.
So if server answers with same port (5027 in my case), message gets blocked from ISP.
If you can let me know if I am on right track. I will contact with my provider also and have him open ports.
Thank you.

Anton Tananaev6 years ago

You are mistaken. If responses were block, you wouldn't be able to use any website at all, or even establish a TCP connection.