SACK GL200 Protocol

Alan Rodriguez6 years ago

Hi everyone!

I am using GL200 protocol and I need to enable +SACK, how can I enable +SACK whenever the server receives a message from the device?

Thanks in advance.

Anton Tananaev6 years ago

Enable "gl200.ack" in the config.

Alan Rodriguez6 years ago

Hi Anton.

Sorry but where is this configuration? is the traccar.xml file?

Anton Tananaev6 years ago

Yes.

Alan Rodriguez6 years ago

Hi Anton.

This is my config file

<?xml version='1.0' encoding='UTF-8'?>
  
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>

<properties>

    <entry key='config.default'>./conf/default.xml</entry>

    <!--

    This is the main configuration file. All your configuration parameters should be placed in this file.

    Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
    with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
    remove "config.default" parameter from this file unless you know what you are doing.

    For list of available parameters see following page: https://www.traccar.org/configuration-file/

    -->

    <entry key='database.driver'>com.mysql.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://localhost:3306/traccar?serverTimezone=UTC&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
    <entry key='database.user'>root</entry>
    <entry key='database.password'>root</entry>

    <entry key='status.timeout'>600</entry>
    <entry key='web.console'>true</entry>
    <entry key='gl200.ack'>true</entry> 
</properties>

and my device send this message

+RESP:GTFRI,020102,868446038695686,,0,0,1,1,0.0,92,2253.9,-99.102303,19.512497,20190827003505,0334,0020,0000,25C9,00,80,20190827003505,0001$

but the server does not send a +SACK.