Einzelnen Beitrag anzeigen

DonAlfredo

Registriert seit: 13. Mai 2010
19 Beiträge
 
#4

AW: IsCheckedOut in der JvHidControllerClass

  Alt 24. Dez 2011, 06:51
Well,

If you write your own firmware, this makes life easier.

I would advice against a different USB-serial.
This would mean special firmware for each device.
Which will be hard to maintain.

My suggestion:

Make use of a flag inside your USB-device.
Mark the device as being in use after arrival and checkout.
On arrival, check the in-use-flag of the device.
If in use, then skip (checkin), and go to the next one.



About your (correct) remark about the hub/port usage:
I maintain a list of devices inside the registry.
This list is checked on every device-arrival.
Alfred
  Mit Zitat antworten Zitat