Is it safe to expect that if the USB topology changed and then changed
the locationID, the device would be disconnected at some point before
the topology change?
Getting the serial number is also a viable option here, correct?
Although this requires more calls (GetSerialNumberStringIndex,
GetStringDescriptor)
On 2/9/06, Fernando Urbina <email@hidden> wrote:
> Please look at this sample code: http://developer.apple.com/
> samplecode/USBPrivateDataSample/USBPrivateDataSample.html
>
> The "locationID" will be unique between all devices in the system and
> will be persistent across reboot as long as the USB topology does not
> change.
>
> --
> Fernando Urbina
> USB Technology Team
> Apple Computer, Inc.
>
> On Feb 9, 2006, at 9:39 AM, Alexander von Below wrote:
>
> > Hello list,
> >
> > we set up device added and removal notifications, and they work
> > very nice.
> >
> > However, when the "deviceAdded" iterator is passed with our device,
> > that at least is a different pointer than when the "deviceRemoved"
> > iterator is called.
> >
> > Our problem is that very often users will have more than one of our
> > devices connected to their machine. What characteristic can we use
> > to know that "Box A" has been removed, and not "Box B" (Device,
> > Vendor and Name will not do us much good, they are identical)
> >
> > Thanks for any hints!
> >
> > Alex
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Usb mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > http://lists.apple.com/mailman/options/usb/email@hidden
> >
> > This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Usb mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/usb/email@hidden
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden
This email sent to email@hidden