Tk103b reading data

asmae abourhnim 8 years ago

Hi,
the device send me this msg, so i can not read ignition data :

2018-05-25 12:38:14 DEBUG: [1CFF29B9: 5013 < 160.169.200.250] HEX: 2a48512c3836353230353033313438373338312c56312c3230333930342c412c333430302e313538302c4e2c30303635302e383438362c572c302e30302c3136372c3235303531382c4646464646414646230d0a
2018-05-25 12:38:14 WARN: Geocoding failed - Empty address - GeocoderException (JsonGeocoder:69 < *:34 < *:96 < ...)
2018-05-25 12:38:14 INFO: [1CFF29B9] id: 865205031487381, time: 2018-05-25 20:39:04, lat: 34.00263, lon: -6.84748, speed: 0.0, course: 167.0

I dont know why a part of the msg it always shown in hexa

Anton Tananaev 8 years ago

Please provide protocol documentation.

asmae abourhnim 8 years ago

Hi,
The protocol is h02, with 5013 as port
You can find the documentation in the link below.
Tanks in advance
https://www.traccar.org/protocols/

asmae abourhnim 8 years ago

Hi,
I wanna add another thing is that when i convert the first part to a text it gives something like that :

*HQ,865205031487589,V1,081836,A,3355.3286,N,00657.4375,W,0.00,326,260518,FFFFFAFF#
*HQ,865205031487381,V1,080222,A,3355.0935,N,00655.4742,W,13.33,25,260518,FFFFFBFF#
asmae abourhnim 8 years ago

in my database the ignition is always false

{"ignition":false,"status":4294966271,"distance":40.08,"totalDistance":3.346623809E7,"motion":true}
{"ignition":false,"status":4294966271,"distance":1.115538123E7,"totalDistance":2.231076246E7,"motion":false}
Anton Tananaev 8 years ago

If ignition is false it means that you device reports is as false.

asmae abourhnim 8 years ago

But if i convert the hes data, it gives like this :

*HQ,865205031487589,V1,081836,A,3355.3286,N,00657.4375,W,0.00,326,260518,FFFFFAFF#
*HQ,865205031487381,V1,080222,A,3355.0935,N,00655.4742,W,13.33,25,260518,FFFFFBFF#

we can see that the last information change, i think it mean that ignition data change but not in my database.

Anton Tananaev 8 years ago

According to the documentation it's not the right bit, so you need to get documentation for your specific device.

asmae abourhnim 8 years ago

Please, do you mean i use the wrong port?

Anton Tananaev 8 years ago

No, port is correct, but according to the documentation that I have your device doesn't report ignition value. That's why you should get protocol documentation for your device.

asmae abourhnim 8 years ago

Ok, the device can report ignition as in the document,
Could it be due to the bad connection by the technician?

asmae abourhnim 8 years ago

what could be the raison of this, and is it normal that the log data is like that :

2018-05-25 12:38:14 DEBUG: [1CFF29B9: 5013 < 160.169.200.250] HEX: 2a48512c3836353230353033313438373338312c56312c3230333930342c412c333430302e313538302c4e2c30303635302e383438362c572c302e30302c3136372c3235303531382c4646464646414646230d0a
2018-05-25 12:38:14 WARN: Geocoding failed - Empty address - GeocoderException (JsonGeocoder:69 < *:34 < *:96 < ...)
2018-05-25 12:38:14 INFO: [1CFF29B9] id: 865205031487381, time: 2018-05-25 20:39:04, lat: 34.00263, lon: -6.84748, speed: 0.0, course: 167.0
Anton Tananaev 8 years ago

If you continue to ignore my messages I won't be able to help you.

asmae abourhnim 8 years ago

No i'm not ignoring your message at all, just as i already comunicate, it use h02 protocol, i get it from this page : https://www.traccar.org/protocols/
I appreciate your help, i'm a beginner

asmae abourhnim 8 years ago

Please Anton i need your help