eusonlito / GPS-Tracker

GPS Tracker platform for Sinotrack, Coban, Teltonika, Concox, Jimilab, OsmAnd and Queclink devices built with Laravel 11 + PHP 8.2 and MySQL 8. Plataforma GPS Tracker para dispositivos Sinotrack Sinotrack, Coban, Teltonika, Concox, Jimilab, OsmAnd y Queclink creada con Laravel 11 + PHP 8.2 y MySQL 8.
https://tracker-demo.lito.com.es/
MIT License
198 stars 79 forks source link

does it support coban devices? #32

Closed sajjadintel closed 10 months ago

sajjadintel commented 11 months ago

Hi, does it support coban devices?

eusonlito commented 11 months ago

Currently not, but it seems to be easy to implement.

Adding this issue as feature.

sajjadintel commented 11 months ago

@eusonlito If you could explain I might be able to help out.

eusonlito commented 11 months ago

There are several steps to follow to add a new protocol, but basically it is to create a copy of H02 (Sinotrack) and adapt it for GP103 (Coban).

sajjadintel commented 11 months ago

@eusonlito I also need the feature to enable and disable Coban device. Also being able to connect and disconnect car electricity using relay. Could you add these or give me some instruction on how to do this? I need it for tk303G device is it similar to GP103? Thanks.

eusonlito commented 11 months ago

Yes, currently you can enable or disable a device, vehicle or server. Connect and disconnect engine with a relay can be done using messages, same as Sinotrack. All Coban devices uses the same protocol GP103.

sajjadintel commented 11 months ago

@eusonlito Thanks for your response. By messages do you mean SMS? Do you have time to implement GP103 protocol in the near future?

eusonlito commented 11 months ago

No, direct messages from the platform to the device. It only works if the device is connected to the platform (not sleeping), but it is the alternative to SMS. I will try to start development next week, but I don't have a coban device to test it.

sajjadintel commented 11 months ago

Thanks. I have the device I could help you with the testing.

eusonlito commented 11 months ago

@sajjadintel you have a mail :)

eusonlito commented 11 months ago

coban GPRS protocol.pdf

eusonlito commented 11 months ago

GPRS data protocol.xls

eusonlito commented 11 months ago

@sajjadintel I have been checking messages send to the device and I have seen that the device receives the command, applies the changes, but responds nothing.... So I'm not clear if the functionality is like that or something configurable on the device.

Also I have checked the forum and issues of traccar and the same thing happens, so little else can be done.

sajjadintel commented 11 months ago

Should the device be on TCP or UDP mode? (attached a picture)

I sent disarm command via SMS: Disarm123456. Also sent via gprs: **,imei:868166054696190,112 When I sent the command via SMS, device make a sound for enabling the siren. but this doesn't happen via GPRS. means GPRS commands doesn't reach the device

eusonlito commented 11 months ago

Device should connect using TCP.

The available commands are in document GPRS data protocol.xls

The comments in coban GPRS protocol.pdf seems not working

eusonlito commented 10 months ago

Can this issue be closed?

sajjadintel commented 10 months ago

Yes, Thanks.