Re: [Libphidget-devel] serial numbers
Status: Alpha
Brought to you by:
jstrohm
|
From: <fit...@ph...> - 2002-09-12 02:49:22
|
> > > > USBStringDescription3: > > db Ch ; Length, db is a byte > > db 03h ; 3 is a string descriptor > > dsu "00001"; ; string, defined in Unicode. > > > > So you see that I'm using 5 digits only. There is nothing to prevent me > > from stretching this when I reach 99,999. Be nice if that change didn't > > break code. > > Will a serial ever be anything more than a number, making full use of > unicode? I don't see any reason to complicate matters. So, it should be safe to use the straightforward algorithm that you have right now. Chester |