Traccar Device uniqueId

Paulo Matos5 years ago

Hello everyone,
Is there any rule for we have to take into account when creating devices uniqueId?
Can we use alpha-numeric characters or only numeric characters?

Thank you in advance

Best regards
PM

Anders Yuran5 years ago

The id is normally the IMIE number. But perhaps youmean something else?

Anton Tananaev5 years ago

Usually you don't create device IDs. Each device already has an id.

Tony Shelver5 years ago

The one exception is for Traccar Android tracking app where the device ID is assigned by the user.

Paulo Matos5 years ago

Thank you all,
I forgot to mention on my question that I was talking about the android client app.

Anyway, now I know that usually is the device IMEI.

Thank you

Anton Tananaev5 years ago

Traccar Client also has an id by default. Why would you want to change that?

Paulo Matos5 years ago

Thank you Anton,
So, my question is.
Since traccar Client have an internal software provided uniqueId, if I leave it by default will my server detect it? Assuming I setup my server address on Client app?
I believe I have to register it first on server isn't?
Regards

Anton Tananaev5 years ago

Yes, of course you have to register it on the server, like any other device.

Paulo Matos5 years ago

Thank you @Anton

Best regards

PM