GPS Tracker D11

siokstoksanoks7 years ago

Hello,

does anyone know how to change ip for this device? I mean sms command.
(CAVALRY/sunco) GPS Tracker D11.

Example:
http://supermate.manufacturer.globalsources.com/si/6008846261959/pdtl/Car-GPS/1135224025/Waterproof-Anti-theft-Vehicle-GPS-Tracker-D11.htm

The official tracking website is www.slwgps.com -> http://www.wapgps123456.com -> http://track.slwgps.com/

siokstoksanoks7 years ago

Hi,

can anyone help me identify protocol?

incoming data:

#2:359672050162240:2:*,00000000,UP,A,100c08,150520,01f4f6fb,00e73b78,0000,0000,010204000000,14,4,0000,000002#
#2:359672050162240:2:*,00000000,UP,A,100c08,15052f,01f4f6f6,00e73c0e,0000,0000,010204000000,14,4,0000,000002#
#2:359672050162240:2:*,00000000,UP,A,100c08,150602,01f4f6fb,00e73bef,0000,0000,010204000000,14,4,0000,000002#

Cant find match with this: https://raw.githubusercontent.com/tananaev/traccar/master/tools/test-integration.py

Looks similar to easytrack, but device doesn't send data to 5056 port.

Device sends data to 5001, 5002 ports.
Device default port is 5150.

Thanks.

Anton Tananaev7 years ago

It's "supermate" protocol, port 5108 in Traccar.

siokstoksanoks7 years ago

Thanks Anton.

Does supermate supports UDP?
Is there any list what protocols support udp?

Anton Tananaev7 years ago

Supermate doesn't support UDP at the moment. You can find a list of protocols that support UDP here:

https://github.com/tananaev/traccar/search?q=ConnectionlessBootstrap

siokstoksanoks7 years ago

Would it be enouth to make UDP?
The server gets all the data, but doesnt send respond message.

package org.traccar.protocol;

import org.jboss.netty.bootstrap.ConnectionlessBootstrap;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.handler.codec.string.StringDecoder;
import org.jboss.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
import org.traccar.CharacterDelimiterFrameDecoder;
import org.traccar.TrackerServer;

import java.util.List;

public class SupermateProtocol extends BaseProtocol {

    public SupermateProtocol() {
        super("supermate");
    }

    @Override
    public void initTrackerServers(List<TrackerServer> serverList) {
        serverList.add(new TrackerServer(new ServerBootstrap(), this.getName()) {
            @Override
            protected void addSpecificHandlers(ChannelPipeline pipeline) {
                pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, "#"));
                pipeline.addLast("stringDecoder", new StringDecoder());
                pipeline.addLast("objectDecoder", new SupermateProtocolDecoder(SupermateProtocol.this));
            }
        });
        serverList.add(new TrackerServer(new ConnectionlessBootstrap(), this.getName()) {
            @Override
            protected void addSpecificHandlers(ChannelPipeline pipeline) {
                pipeline.addLast("stringEncoder", new StringEncoder());
                pipeline.addLast("stringDecoder", new StringDecoder());
                pipeline.addLast("objectDecoder", new SupermateProtocolDecoder(SupermateProtocol.this));
            }
        });
    }
}
Anton Tananaev7 years ago

It might be enough.

Abdurrahman5 years ago

Do you have the GPRS communication protocol of Supermate ?
Thank you