« The ESC key on the To… | Home | WebViewer on Popover … »

LibUSB for Xojo in next MBS Plugins

Quite a few Xojo developers use our MBS Xojo USB Plugin to connect to devices, do measurements, exchange data and query information for their applications. Wether this is a scale to weight items, barcode devices, various sensors or just a special label printer, we do provide classes to help you.

For some time now we got HIDAPI classes to replace the older MacHID, LinuxHID and WinHID classes to provide a cross platform interface for USB devices with HID protocol.
And now we replace MacUSBConnect and WinUSB classes with our new LibUSB classes.

The new plugin classes are based on the open source LibUSB library, which works on MacOS, Windows and Linux. With quite a few Linux distributions, it comes preinstalled. The library itself is licensed LGPL, so you can load it in commercial applications, but distribute it as DLL/so/dylib file.

The new LibUSBDeviceMBS class provides functions to list devices and query information. You can open a connection to a device and transfer data as needed. The example project lists all the devices and even works nice on Raspberry Pi.

Will be included in next prerelease or if you like to try now, please do not hesitate to contact us.
16 02 18 - 10:57
two comments

“The library itself is licensed LGPL, so you can load it in commercial applications”
Shouldn’t that be “can’t”?
Markus - 16 02 18 - 12:32

Can is right.
GPL is not okay, but LGPL is okay.
Christian - 16 02 18 - 12:37

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.