问题
Where can I buy a programmable USB dongle that supports C as a development language?
回答1:
- Senselock
- rockey
- Aladdin
We use Senselock in our application. It is a smart dongle, that you can download your custom code into it. The way it works is that instead of just checking the presence of a dongle, your code should expect a correct output from the dongle emitted from your code inside the dongle.
回答2:
One place to start is Hexwax. Try http://www.hexwax.com/Products/expandIO%2DUSB/ which will give you an idea of what you can do and where to start. These are firmwares for the PIC18 series of microcontrollers but you can buy the modules off the shelf. They may not suit perfectly but they'll give you an idea of what is possible without having to build your own from scratch.
Don't forget that you would have to build a Windows driver if you rolled your own USB device. The hexwax firmwares use the HID interface (keyboard, mouse, joystick etc) so drivers come with Windows/Linux/OS-X already. This is a significant bonus.
If I rolled my own I would use a PIC18 device, snarf as much code as possible from Microchip's (the maker of the PIC) website - they have USB interface code - and go down the HID route. Other sources: MicroElektronika (www.mikroe.com) do lots of C libraries and compilers for exactly this kind of stuff. Google for pic, hid, usb to get lots of info, people have made their own keyboards from scratch without too much trouble.
回答3:
- Crossware seems providing programmable USB dongles. The dongles themselves are not expensive and from having no better may even be used as end products. However the development suite is not that cheap.
- Calao Systems offer kind of "super dongle" that can be viewed as an "USB stick" of monstrous size. It is more powerful and runs Linux inside. This device even features own additional USB and RJ45 connectors but still can be plugged into USB port and hang there feeding from it. Some enclosure is provided.
回答4:
Where can I buy a programmable USB dongle that supports C as a development language?
Try ROCKEY6 its Executable and programmable inside the dongle itself. Works fine with our software on its secure protection.
http://www.rockey.com.my/prod-dongle-rockey6.php
回答5:
SG-Lock provide a simple solution from programable USB dongle: http://www.sg-lock.com/fr/index.php
Affordable, easy to program, the API is a DLL so it supports only Windows (I don't know if it works with other systems).
来源:https://stackoverflow.com/questions/1377240/programmable-usb-dongles