Hi,
When i've asked Topin to provide their tracking server details, they've told me to send SMS like this to the device: domain#www.baidu.com#1001#
Maybe it will help you to do the Reverse Engineering on that.
@stephane bhiri
which commands have you used to reconfigure TOPIN ZX302 to use your own server?
I've tried these:
MYIPADDR#5199#
DOMAIN#MYIPADDR#5199#
but the device does not sent data to my server ?
hi
@robertr4
DOMAIN#MYIPADDR#5199# should work, assuming you have correctly configured 5199 port fowarding with your router
you may also try:
SERVER#MYIPADDR#5199# ----- with SERVER command your device is forced to have your IP as the default IP, even after a reset.
(but you will loose the ability to have 365gps.com as the backup server in case of problems with your server. To have 365gps back as default : SERVER#120.76.241.191#8005 )
Also don't forget to configure APN correctly with sms commande : APN#YOURMOBILEAPN#
Thank you @stephane the SERVER#MYIPADDR#5199# did the trick.
Thanks again.
After reverse engineering by logging a proxy between device and 365gps.net ( port 8005 ):
Here is how 365gps replies to device after offline LBS data from tracker(0x17 protocol)
[tracker] 78 78 00 17 20 01 27 19 17 58 02 00 D0 01 75 0A 61 E1 5A 75 0A 9E 51 64 00 0D 0A
[365gps.net] 78 78 00 17 20 01 27 19 17 58 0D 0A
[tracker] 78 78 00 17 20 01 27 19 19 23 02 00 D0 01 75 0A 61 E1 5A 75 0A 9E 51 64 00 0D 0A
[365gps.net] 78 78 00 17 20 01 27 19 19 23 0D 0A
The only difference noticed from Traccar behavior is the fact that 365gps discards packet lenght ( 00 value ) .
Hey. I am new to Zx303 and would like to reverse engineer it to make my own app and website for custom usage instead of using the 365gps.net and its app.
How do i do so? Can i please get a procedure for the same? I know how to design and code my own server but where do i get the data and how do i parse it? I'll be using node and express to design the server. I have already hosted a custom server on render to test my server but the yellow light keeps on blinking fast on the device.
I've also sent the SMS commands:
domain#www.mapp-836r.onrender.com
APN#airtelgprs.com#
I need to know what APIs and endpoints I need to make on my server to get the data, and what mistake I am making in configuring my server because of which the yellow lights starts blinking fast when I set it to my custom server instead of the default server (185.213.2.120#25220#
)
Thanks and regards
I have 2 TOPIN ZX302 devices connected to a Traccar Server
Communication works fine with GPS and LBS real time positioning.
But when it comes to LBS off-line data positioning, communications problems occurs:
LBS Offline datas comes like this, and can be seen in the logs:
787800172001081022460300d01401327599640132759a6401324e7f6e000d0a
Which means in Topin protocol:
7878
-> ( 0x78 0x78 is Topin Devices beginning of data strings)00
-> supposed to be packet length ( but often discarded and send as 00 with Topin)17
-> WIFI/LBS OFFLINE protocol code200108102246
-> Date and Time BCD coded in this case : 2020-01-08 10:22:460300d01401327599640132759a6401324e7f6e00
-> is the LBS dataTraccar responds as expected:
7878 07 17 200108102246 0d0a
Which is the received date time as a response.
But then Traccar records the date/time ( fixtime ) same as server time, which is problematic for Offline datas from past.
(Note: Time Override is not activated)
I suspect Traccar Topin protocol not reading LBS and WIFI Date/Time data coded in BCD.
Note that when Topin device send GPS positioning data, it sends Date/Time coded in Hex->Dec. So it's a different Date/Time encoding when it comes to LBS/WIFI vs GPS.
So it brings the Offline data unusable and brings wrong data in records and map.
Any Ideas?
Also another problem with offline data: The device seems to send over and over the same offline data ( same date and positioning )
I don't know what's wrong here, as Traccar protocol sends the expected response ( date/time response) for the device to continue to send new offline data.
SOME FULL LBS offline data and realtime LOGS here:
Thank you,
Stéphane