GT02a problem with connection

blueman8 years ago

How to configure my device?

2017-02-19 11:45:39  INFO: [B17C403D] connected
2017-02-19 11:45:39 DEBUG: [B17C403D: 5055 < 94.254.162.56] HEX: 283038373037333034333136324250303529
2017-02-19 11:46:19 DEBUG: [B17C403D: 5055 < 94.254.162.56] HEX: 28303837303733303433313632425a30302c3236302c3030362c303765382c643336612c303765382c643835392c303765382c643833652c303765382c643335632c303765382c643835322c303130303030303029
2017-02-19 11:47:19 DEBUG: [B17C403D: 5055 < 94.254.162.56] HEX: 283038373037333034333136324252303031373032313941353031372e363937304e30313931342e37323130453036352e373130343731393035352e323830313030303030304c303030343530414229
2017-02-19 11:48:19 DEBUG: [B17C403D: 5055 < 94.254.162.56] HEX: 283038373037333034333136324252303031373032313941353031372e363937304e30313931342e37323130453036352e373130343831393035352e323830313030303030304c303030343530414229
2017-02-19 11:49:12 DEBUG: [B17C403D: 5055 < 94.254.162.56] HEX: 283038373037333034333136324250303033353238383730373330343331363248534f3031376229
2017-02-19 11:49:19 DEBUG: [B17C403D: 5055 < 94.254.162.56] HEX: 283038373037333034333136324252303031373032313941353031372e393731394e30313931352e34333932453032322e393130343931393030302e323630313030303030304c303030343530414229
2017-02-19 11:50:19 DEBUG: [B17C403D: 5055 < 94.254.162.56] HEX: 283038373037333034333136324252303031373032313941353031382e303839354e30313931352e36343330453036342e333130353031393035392e373530313030303030304c303030343530414229
2017-02-19 11:51:19 DEBUG: [B17C403D: 5055 < 94.254.162.56] HEX: 283038373037333034333136324252303031373032313941353031382e333334364e30313931362e31343130453033322e303130353131393236392e333430313030303030304c303030343530414229

Right now I'm using 5055 port and enabled registring unknown devices

<entry key="database.ignoreUnknown">false</entry>
<entry key="database.registerUnknown">true</entry

But still - I cant get deviceid, either register any data in database from the device.

blueman8 years ago

Finally I found a solution - of course it was incorrect port. I changed it to 5002 and now everthing is working.

Thanks for the awesome traccar software.

Anton Tananaev8 years ago

By the way, I would recommend keeping "database.ignoreUnknown" as "false". It would reduce the number of requests to the database.

blueman8 years ago

You recommend keeping ignoreUnknown as false? Hmmm.... Shouldnt it be a true?

Anton Tananaev8 years ago

The only thing it does is forces to check unknown devices in the database. You only need this flag if you manually insert data into the database.