watch protocol

Ronaldo2 years ago

hello, traccar no longer works with the watch protocol on port 5093?

Anton Tananaev2 years ago

Why not? No major changes to the watch protocol.

Ronaldo2 years ago

hi Anton,

I have a device configured for tracing and through the hexadecimal converter, I understood that this was the protocol.

but the watch device is not online ...

follow the data:

5b33472a323530333530333235382a303131462a5544322c3230303232302c3233313634392c562c2d31382e3933353436332c532c2d34382e323836393236372c572c302e30302c302e302c302e302c302c37322c39382c302c302c30303030303031302c312c322c3732342c33342c31313933342c36313734302c3133352c352c4449524543542d35594d32303730205365726965732c38363a32353a31393a31643a31303a39662c2d36342c5769466920322e342c37303a63373a66323a37373a34373a36382c2d37342c4d494341454c455f32472c35633a65333a653a31623a37393a31352c2d38302c234e45542d434c41524f2d574946492c35653a65333a653a32623a37393a31352c2d38312c43616d696c612c39383a33353a65643a34373a62613a33342c2d38322c32342e385d
Anton Tananaev2 years ago

What else do you see in the log?

Ronaldo2 years ago

Anton,

I don't see anything else ... I'm switching between the protocols (modifying the ports) waiting for the communication to happen.

right at the beginning I put the protocol 5055 (osmand) was where the best hexadecimal returned to me, because the others did not help ...

other protocols:

2020-02-20 20:32:43  INFO: [1422482c] connected
2020-02-20 20:32:43  INFO: [1422482c: osmand < 179.126.209.191] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39385d
2020-02-20 20:32:44  INFO: [1422482c: osmand < 179.126.209.191] HEX: 5b33472a323530333530333235382a303131462a5544322c3230303232302c3233313634392c562c2d31382e3933353436332c532c2d34382e323836393236372c572c302e30302c302e302c302e302c302c37322c39382c302c302c30303030303031302c312c322c3732342c33342c31313933342c36313734302c3133352c352c4449524543542d35594d32303730205365726965732c38363a32353a31393a31643a31303a39662c2d36342c5769466920322e342c37303a63373a66323a37373a34373a36382c2d37342c4d494341454c455f32472c35633a65333a653a31623a37393a31352c2d38302c234e45542d434c41524f2d574946492c35653a65333a653a32623a37393a31352c2d38312c43616d696c612c39383a33353a65643a34373a62613a33342c2d38322c32342e385d
2020-02-20 20:32:45  INFO: [1422482c: osmand < 179.126.209.191] HEX: 5b33472a323530333530333235382a303133322a434f4e4649472c54593a67363031782c554c3a3630302c53593a302c434d3a302c57543a302c48523a312c54423a332c43533a302c50503a302c41423a302c48483a312c54523a302c4d4f3a312c464c3a302c56443a302c44443a322c53443a312c58593a302c57463a302c57583a302c50483a312c52573a302c4d543a312c58443a302c584c3a302c59463a312c534d3a302c48463a312c4a583a302c574c3a302c42513a302c51513a302c444c3a302c48543a302c50423a302c52533a3234303234302c44573a302c53533a302c4f463a302c494e3a302c4a543a302c4c473a302d312d352d392d31302c47483a302c42543a312c434c3a312c46413a302c46443a312c43543a312c534f3a312c4d453a312c4c523a302c544f3a312c52523a312c41433a312c44433a312c52443a305d
2020-02-20 20:32:46  INFO: [1422482c: osmand < 179.126.209.191] HEX: 5b33472a323530333530333235382a303132422a5544322c3230303232302c3233323832352c412c2d31382e3933353434352c532c2d34382e323836393436372c572c322e35322c3331322e392c302e302c31312c36352c39372c302c302c30303030303031302c312c332c3732342c33342c31313933342c36313734302c3133332c352c4449524543542d35594d32303730205365726965732c38363a32353a31393a31643a31303a39662c2d36352c5769466920322e342c37303a63373a66323a37373a34373a36382c2d37342c4d494341454c455f32472c35633a65333a653a31623a37393a31352c2d38302c234e45542d434c41524f2d574946492c35653a65333a653a32623a37393a31352c2d38302c486f6d6520537765657420486f6d652c64303a63363a35623a66343a36313a62382c2d38372c32332e395d
2020-02-20 20:32:47  INFO: [1422482c: osmand < 179.126.209.191] HEX: 5b33472a323530333530333235382a303031412a49434349442c38393535333430333030303035333839303739395d
2020-02-20 20:33:04  INFO: [1422482c] disconnected
2020-02-20 20:33:41  INFO: [4115fbc2] connected
...
2020-02-20 21:14:25  INFO: [6c8b0174] connected
2020-02-20 21:14:25  INFO: [6c8b0174: gt02 < 179.126.214.123] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39345d
2020-02-20 21:14:27  INFO: [6c8b0174: gt02 < 179.126.214.123] HEX: 5b33472a323530333530333235382a303133432a5544322c3231303232302c3030303034362c412c2d31382e3933343437322c532c2d34382e323837313433332c572c302e30302c3330372e342c302e302c382c36342c39352c302c302c30303030303031302c322c3235352c3732342c33342c31313933342c36313734302c3133332c31313833342c36313737312c3134382c352c4449524543542d35594d32303730205365726965732c38363a32353a31393a31643a31303a39662c2d36352c5769466920322e342c37303a63373a66323a37373a34373a36382c2d37342c4d494341454c455f32472c35633a65333a653a31623a37393a31352c2d38302c234e45542d434c41524f2d574946492c35653a65333a653a32623a37393a31352c2d38302c486f6d6520537765657420486f6d652c64303a63363a35623a66343a36313a62382c2d38322c32332e345d
2020-02-20 21:14:27  WARN: Unknown device - 530333530333235 (179.126.214.123)
2020-02-20 21:14:27  WARN: Unknown device - 32c2d34382e3238 (179.126.214.123)
2020-02-20 21:14:27  WARN: Unknown device - 42c33342c313139 (179.126.214.123)
2020-02-20 21:14:27  WARN: Unknown device - 230373020536572 (179.126.214.123)
2020-02-20 21:14:27  WARN: Unknown device - 6382c2d37342c4d (179.126.214.123)
2020-02-20 21:14:27  WARN: Unknown device - a65333a653a3262 (179.126.214.123)
2020-02-20 21:14:28  INFO: [6c8b0174: gt02 < 179.126.214.123] HEX: 5b33472a323530333530333235382a303133322a434f4e4649472c54593a67363031782c554c3a3630302c53593a302c434d3a302c57543a302c48523a312c54423a332c43533a302c50503a302c41423a302c48483a312c54523a302c4d4f3a312c464c3a302c56443a302c44443a322c53443a312c58593a302c57463a302c57583a302c50483a312c52573a302c4d543a312c58443a302c584c3a302c59463a312c534d3a302c48463a312c4a583a302c574c3a302c42513a302c51513a302c444c3a302c48543a302c50423a302c52533a3234303234302c44573a302c53533a302c4f463a302c494e3a302c4a543a302c4c473a302d312d352d392d31302c47483a302c42543a312c434c3a312c46413a302c46443a312c43543a312c534f3a312c4d453a312c4c523a302c544f3a312c52523a312c41433a312c44433a312c52443a305d5b33472a323530333530333235382a303031412a49434349442c38393535333430333030303035333839303739395d
2020-02-20 21:14:28  WARN: Unknown device - a62382c2d38322c (179.126.214.123)
2020-02-20 21:14:28  WARN: Unknown device - a302c57543a302c (179.126.214.123)
2020-02-20 21:14:28  WARN: Unknown device - c3a302c56443a30 (179.126.214.123)
2020-02-20 21:14:28  WARN: Unknown device - 84c3a302c59463a (179.126.214.123)
2020-02-20 21:14:28  WARN: Unknown device - 02c44573a302c53 (179.126.214.123)
2020-02-20 21:14:28  WARN: Unknown device - a312c46413a302c (179.126.214.123)
2020-02-20 21:14:28  WARN: Unknown device - 33a312c52443a30 (179.126.214.123)
2020-02-20 21:14:38  INFO: [6c8b0174: gt02 < 179.126.214.123] HEX: 5b33472a323530333530333235382a303132302a55442c3231303232302c3030313433362c562c2d31382e3933343437322c532c2d34382e323837313433332c572c302e30302c302e302c302e302c362c36342c39342c302c302c30303030303031302c312c3235352c3732342c33342c31313933342c36313734302c3133332c352c4449524543542d35594d32303730205365726965732c38363a32353a31393a31643a31303a39662c2d36352c5769466920322e342c37303a63373a66323a37373a34373a36382c2d37342c4d494341454c455f32472c35633a65333a653a31623a37393a31352c2d38302c234e45542d434c41524f2d574946492c35653a65333a653a32623a37393a31352c2d38302c43616d696c612c39383a33353a65643a34373a62613a33342c2d38322c32332e345d
2020-02-20 21:14:38  WARN: Unknown device - 95d5b33472a3235 (179.126.214.123)
2020-02-20 21:14:38  WARN: Unknown device - c2d34382e323837 (179.126.214.123)
2020-02-20 21:14:38  WARN: Unknown device - 732342c33342c31 (179.126.214.123)
2020-02-20 21:14:38  WARN: Unknown device - a31303a39662c2d (179.126.214.123)
2020-02-20 21:14:38  WARN: Unknown device - a37393a31352c2d (179.126.214.123)
2020-02-20 21:14:45  INFO: [6c8b0174] disconnected
2020-02-20 21:15:22  INFO: [6f84923d] connected
2020-02-20 21:15:22  INFO: [6f84923d: megastek < 179.126.217.229] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39345d
2020-02-20 21:15:43  INFO: [6f84923d] disconnected
2020-02-20 21:16:18  INFO: [73b96be5] connected
2020-02-20 21:16:18  INFO: [73b96be5: megastek < 179.126.239.143] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39355d
2020-02-20 21:16:39  INFO: [73b96be5] disconnected
2020-02-20 21:17:14  INFO: [72a9a675] connected
2020-02-20 21:17:14  INFO: [72a9a675: gt02 < 179.126.220.230] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39355d
2020-02-20 21:17:34  INFO: [72a9a675] disconnected
2020-02-20 21:18:07  INFO: [cc634f00] connected
2020-02-20 21:18:07  INFO: [cc634f00: gt02 < 177.191.83.128] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39355d
2020-02-20 21:18:27  INFO: [cc634f00] disconnected
2020-02-20 21:19:04  INFO: [8017203b] connected
2020-02-20 21:19:04  INFO: [8017203b: gt06 < 179.126.232.4] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39355d
2020-02-20 21:19:24  INFO: [8017203b] disconnected
2020-02-20 21:19:56  INFO: [41ad8ffa] connected
2020-02-20 21:19:56  INFO: [41ad8ffa: megastek < 177.191.93.68] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39355d
2020-02-20 21:20:17  INFO: [41ad8ffa] disconnected
2020-02-20 21:20:41  INFO: [973032a8] connected
2020-02-20 21:20:42  INFO: [973032a8: megastek < 179.126.217.55] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39355d
2020-02-20 21:21:02  INFO: [973032a8] disconnected
2020-02-20 21:21:37  INFO: [88dd0e56] connected
2020-02-20 21:21:38  INFO: [88dd0e56: megastek < 177.191.77.209] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39355d
2020-02-20 21:21:58  INFO: [88dd0e56] disconnected
2020-02-20 21:22:34  INFO: [7dc8b01d] connected
2020-02-20 21:22:34  INFO: [7dc8b01d: megastek < 179.126.235.255] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39355d
2020-02-20 21:22:55  INFO: [7dc8b01d] disconnected
2020-02-20 21:23:31  INFO: [68a44a6d] connected
2020-02-20 21:23:31  INFO: [68a44a6d: megastek < 179.126.235.104] HEX: 5b33472a323530333530333235382a303030392a4c4b2c302c302c39355d
2020-02-20 21:23:51  INFO: [68a44a6d] disconnected
Anton Tananaev2 years ago

I'm very confused. You know that it's Watch protocol, but you are not using Watch port and instead using other random ports for some reason, and then wondering why it doesn't work?

Ronaldo2 years ago

first thank you very much for your help ...

I'm gonna explain:

  • first: I used the osmand protocol and returned the hexadecimal where I understood that I should use the watch protocol

  • second: I changed to the watch protocol and waited 20 minutes for the device to connect, but it didn't ...

  • third: after I've waited all this time, I'm switching between the protocols to see if any work.

on its website (https://www.traccar.org/devices/) there is no longer the watch protocol, and that's when my doubt started.

Anton Tananaev2 years ago

there is no longer the watch protocol

I still see it there.

Ronaldo2 years ago

Anton,

Your statement that the protocol exists is enough, as I am thinking of a problem.

Using the osmand protocol on Android, even if the Traccar Client is correctly configured, if you do not enable the location on the smartphone itself, it will not work ...

my client must be wrong about this and I will have to go to him ...

Thank you very much Anton.

Anton Tananaev2 years ago

How is Traccar Client related to this thread?

Ronaldo2 years ago

It's not related!

I just used a Traccar Client use case to possibly understand what my client is doing wrong with his watch.

Example:

even if you correctly configure the Traccar client on android, you must enable the location of the smartphone for everything to work correctly ... (similarly in the clock, I think you have to enable the location)

I made all the correct configurations in Traccar and you still helped me by confirming that the wacth protocol exists, so I deduce that my client is wrong, even if I ask him.