Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Teltonika support

pakuda
2009-05-26
2013-06-12
1 2 3 4 > >> (Page 1 of 4)
  • pakuda
    pakuda
    2009-05-26

    Hi ! We have developed a server for Teltonika devices (www.teltonika.lt). We'd like to collaborate to the project and include this devices into OpenGTS. Is there any development guide we can read ?

    pakuda

     
    • Martin Flynn
      Martin Flynn
      2009-05-27

      Hi Pakuda,
      Have you already integrated it with OpenGTS?  Or do you still need to integrate it into OpenGTS?
      Regards,
      - Martin

       
    • Dan Cardille
      Dan Cardille
      2009-06-05

      I too am working on Teltonika FM2/FM4 and GH120x protocol integration.
      There is a NDA on the protocol, so I am unsure that I can contribute this to an open source implementation.
      Have you read the NDA and protocol completely?

       
    • Hello
         
      I have already written a software module for teltonika but not with the template server, so I miss part of the reverse geocoding, someone knows how can I do

       
    • skp
      skp
      2009-07-05

      Hi,

      I am trying to integrate teltonika FM2/FM4 device to opengts server.  Can anyone provide development guide or possible to share their code?

       
    • José Luis
      José Luis
      2009-07-15

      Hi, I'm José Luis from Sapin. I have a Teltonika FM2100 tracker and I would like to work with opengts. I'm thinking in make a parser to convert the TCP/IP data into http/GET compatible with opengts. Does anyone have the protocol of FM2100 or may be a server workink with opengts? Thanks in advance....

       
    • Dipa
      Dipa
      2009-07-17

      Hi Dan Cardille,
      You're saying that there is an NDA on the protocol of FM4, could you please refer me to the site.
      I'm currently desperately seeking for the protocol, I don't mind to try to develop the interface myself, as long as I have the protocol. At this moment, I don't even know what string I should return from the server to the device to start sending me the data. :(

      I would be grateful to hear any suggestion, hint or tip from the forum

      Tks & regards

       
    • José Luis
      José Luis
      2009-07-18

      Hi, I'm José Luis again. I started to capture data from  the FM2100E of teltonika and the first data the device send is the imei, after, if you sent to the device the data 1, the device reply with a data packet but I don't know how the data is coded.  I'll keep on trying...

      Regards..

       
      • Dipa
        Dipa
        2009-07-20

        Hi José / Hi Martin,

        First of all, I am new in java and thank you for your response.
        This is what I got after i modify the template with the following parameters:
        In the constant
            public static final boolean ASCII_PACKETS           = true ;
            public static final int     ASCII_LINE_TERMINATOR[] = new int[] { '\r', '\n', '&' };
            public static final int     MIN_PACKET_LENGTH       = 2;
            public static final int     MAX_PACKET_LENGTH       = 17;
            public static final long    TIMEOUT_TCP_IDLE        = -1;
            public static final long    TIMEOUT_TCP_PACKET      = -1;
            public static final long    TIMEOUT_TCP_SESSION     = -1;

        In the TrackClientPacketHandler
            public byte[] getInitialPacket()
                throws Exception
            {
                byte[] byteArray = new byte[] {49};
                return byteArray;
            }

        [INFO |07/20 10:34:44|Main.main:140] ----------------------------------------------------------------
        [INFO |07/20 10:34:44|Main.main:141] Template Example Device Parsing Module Server Version 0.1.4
        [INFO |07/20 10:34:44|Main.main:142] Copyright 2007-2008, GeoTelematic Solutions, Inc.
        INFO |07/20 10:34:44|Main.main:143] ----------------------------------------------------------------
        [INFO |07/20 10:34:44|TrackServer._startTCP:212] Starting TCP listener thread on port 31200 [timeout=-1ms] ...
        [INFO |07/20 10:34:44|TrackServer._startUDP:252] Starting UDP listener thread on port 31200 [timeout=120000ms] ...
        [INFO |07/20 10:38:56|ServerSocketThread$ServerSessionThread.run:808] Remote client port: /202.152.240.248:43921[31200]
        [INFO |07/20 10:38:56|TrackClientPacketHandler.sessionStarted:174] Begin Duplex communication: 202.152.240.248
        [WARN |07/20 10:43:59|ServerSocketThread$ServerSessionThread.readPacket:1288] EOS: 000F333533393736303133343337383838
        [ERROR|07/20 10:43:59|ServerSocketThread$ServerSessionThread.readPacket:1291] End of stream [@ 17]
        [ERROR|07/20 10:43:59|ServerSocketThread$ServerSessionThread.run:935] End of stream [@ 17]
        [INFO |07/20 10:43:59|TrackClientPacketHandler.sessionTerminated:188] End Duplex communication: 202.152.240.248

        Could you please advise where my failure is.

        Tks
        Dipa

         
      •    
        Hi!
        I have the same problem (FM2100, but if you set the UDP teltonika such data can only be sent to:
        039CCAFE0101000F333533393736303133353236343538081E0000012282ED868A000B57CC801C5479C000C4007F0800000000000000000000012282EDA7
        [TXT]: ���

         
    • nozriv
      nozriv
      2009-07-20

      hello,

      There is different protocols for Teltonika devices.
      As said before, Teltonika ask an NDA for their devices.

      FM4xxx use a different protocal then the GHxxxx. I'm interested in helping to develop any server based for the GHxxxx. So... let me know.

      Nico

       
    • Dipa
      Dipa
      2009-07-20

      Hi,
      At this stage, my only option is the FM4100. I appreciate the offer to develop one for GHxxx.

      The FM4100 has sent the IMEI and the server responded with 1, but still it doesn't start to send the package.
      I simulate the template with SocketTest and can see the imei sent to the server. I responded with 1 and getting this message: 'Client closed connection'

      I have contacted the local vendor, singapore branch and their head office looking for answer but none has replied.

       
      • Hi
        I have GH GPRS data protocol.
        If I can send you access it.
        Gellert

         
    • José Luis
      José Luis
      2009-07-21

      I don't know JAVA.I began the server in "C" to parser the data in HTTP/GET format. What I did, was:

      1º- Accept connection from the client.
      2º- The client (teltonika 2100) send the imei of the device.
      3º- If the imei=********** (Imei of the device) the server send 1 to teltonika device.
      4º The teltonika device reply with a frame whith the lat, lon, date, time, etc

      But I don't know how to decode this frame.

      You can capture data with netcat too.

      Regards ...

       
    • nozriv
      nozriv
      2009-07-23

      Hello,

      I have made in PHP (Idon't know JAVA) a receiver for the GHxxxx. It works fine but must be adapted.
      My script, receive data from the GH, and introduice the datas, directly into the mysql db.
      The only problem encountered, is the precision of lat/long, because of the protocol used by teltonika to encode these informations (binary floating-point arithmetic).

      I am planning to adapt my script to use the http receiver of open GTS.

      Any help on this side will be apreciated.

      Nico

       
    • Dipa
      Dipa
      2009-07-27

      Pfuih.... I finally managed to let the data flowing in.... thanks for your inputs and suggestions. As suggested, the 01 and returning packet length is the key to it.

      I am in parsing and converting stage now, where everything is converted correctly, including the epoh time. But lat and lon looks funny after all,

      After the hexa is being converted to decimal, the lat and lon looks like: 1067247680.0000/4232288328.0000

      Any suggestion where I should look into?

      Thanks again guys...

      Rgrds

       
    • danda
      danda
      2009-08-02

      Hi Dipa,

           Great! I am also trying to integrate teltonika device with OpenGTS.  I am new to Java and I also don't have the protocol info.

           Can you please help on how you managed to get the data flow?

      Thanks

       
    • danda
      danda
      2009-08-09

      Hi,

          I am trying to connect the teltonika device to opentgts server.  I have got the IMEI number from the teltonika device, but when I send "01" or "1" to the device, it just disconnects.

         In the getHandlePacket method, I am sending the response using "return StringTools.getBytes("01")".  Is this method correct?  Or Is there any special setting to be done? 

         Any help is really apreciated.

      Thanks

       
      • Dipa
        Dipa
        2009-08-09

        Hi
        Make sure that sending '01' in binary, in hexa. Don't use ASCII
        After you send the 01, the device will start sending the data.

        You need to identify the packet length from the data, I believe it is byte 26. Use the data to provide return at the end of the package.

        I've been using the socket analyzer software to capture and to understand how the device and OpenGTS work.

        Dipa

         
    • danda
      danda
      2009-08-09

      Hi Dipa,

            Thanks for your prompt reply.  I am new to Java and how to send '01' in binary?  Which method should I use instead of StringTools.getBytes?

             Your help is really appreciated.

      Regards

       
      • Dipa
        Dipa
        2009-08-09

        Hi Sdanda
        I am afraid  I can not help you in that area.... I have a programmer assisting me the other day. I just briefed him what to do.

        Rgrds
        Dipa

         
      • Dipa
        Dipa
        2009-08-09

        Hi Sdanda
        I am afraid  I can not help you in that area.... I have a programmer assisting me the other day. I just briefed him what to do.

        Rgrds
        Dipa

         
      • Dipa
        Dipa
        2009-08-09

        Hi Sdanda
        I am afraid  I can not help you in that area.... I have a programmer assisting me the other day. I just briefed him what to do.

        Rgrds
        Dipa

         
    • Hi

      Maybe someone could solve the FM Server 2100 template?
      Or is it someone protocol?
      Regards 

       
  • Hannes Platin
    Hannes Platin
    2009-12-03

    Hello,
    has someone run the FM2200 on OpenGTS ?

    Thanks
    Hannes

     
1 2 3 4 > >> (Page 1 of 4)