Device serial numbers [was: Clean up some of the dive computer nickname code]

Artur Wroblewski wrobell at pld-linux.org
Sat Jan 12 23:42:41 UTC 2013


On Thu, Jan 10, 2013 at 8:51 AM, Jef Driesen <jefdriesen at telenet.be> wrote:
[...]
> The primary purpose of the serial number in the DC_EVENT_DEVINFO event
> is to be able to uniquely identify individual devices (e.g. for use with
> the fingerprint feature).

There is nothing, which prevents two dive computers from two different
manufacturers, to have the same serial number, isn't it?

Not sure how it works for fingerprint feature, but IMHO it is worth keeping
above in mind before someone starts to use the serial as device unique
identifier.

[...]

Regards,

w




More information about the Devel mailing list