This module provides a Perl interface to the libusb-1.0 API. It provides access to most basic libusb functionality including read-out of device descriptors and synchronous device I/O. The objective is to provide the full portability of libusb-1.0 (Linux, Windows, BSDs, OSX,...).
The module has a two-tier design:
Raw XS interface, stay as close at possible to the libusb API. Not intended to be used directly.
Based on USB::LibUSB::XS, adds convenient error handling and additional high-level functionality (e.g. device discovery with vid, pid and serial number). Easy to build more functionality without knowing about XS.
So far the only languages to interface with Zhinst devices were Matlab, Python, LabVIEW, .NET and C.
This module adds the desperately needed Perl interface and will allow us to write high-level Lab::Measurement drivers.
My first XS code...
Any feedback appreciated!
Update: Now uploaded to CPAN: