les zautres ont pensé à :
http://libusb-win32.sourceforge.net/
USB Vendor ID: 03EB ProductID: FF07
Installation de lib-usb device. Ca ne fonctionnait pas ave cle .inf généré avec inf-wizard.exe. J'ai jeté un oeil dans le gestionnaire de périphérique et pour le dongle de tux, dans l'onglet détails, item “Numéro d'identification matériel” j'ai reporté la 1ère ligne dans le fichier .inf pour les devices :
;-------------------------------------------------------------------------- ; Devices ;-------------------------------------------------------------------------- [Devices] ;"TUX RF DONGLE"=LIBUSB_DEV, USB\VID_03eb&PID_ff07 "TUX RF DONGLE"=LIBUSB_DEV, USB\VID_03eb&PID_ff07&Rev_0100&MI_03 [Devices.NT] ;"TUX RF DONGLE"=LIBUSB_DEV, USB\VID_03eb&PID_ff07 "TUX RF DONGLE"=LIBUSB_DEV, USB\VID_03eb&PID_ff07&Rev_0100&MI_03 [Devices.NTAMD64] ;"TUX RF DONGLE"=LIBUSB_DEV, USB\VID_03eb&PID_ff07 "TUX RF DONGLE"=LIBUSB_DEV, USB\VID_03eb&PID_ff07&Rev_0100&MI_03
Commands are divided in 4 groups depending on the number of parameters they have:
The same definition of commands are used for all communications between the computer and Tux. But depending on the communication way, the set of commands will differ. There will be 3 sets based on Tux's architecture:
Tux's commands, audio commands, and status.
1. Tux's commands are sent from the computer to Tux in order to control all actuators: motors, leds, IR, etc. They can have any number of parameters (from 0 to 3) and are defined in “Tux's core API”;
2. Audio commands are sent from the computer or from Tux to the audio chip. They never have 3 parameters;
3. Status are sent from Tux back to the computer in order to give feedback on sensor states or send some received IR code.