当前位置:   article > 正文

C语言使用开源库libusb进行USB设备操作_libusb c

libusb c

libusb官网

https://libusb.info/

介绍

libusb is a C library that provides generic access to USB devices. It is intended to be used by developers to facilitate the production of applications that communicate with USB hardware.
It is portable: Using a single cross-platform API, it provides access to USB devices on Linux, macOS, Windows, etc.
It is user-mode: No special privilege or elevation is required for the application to communicate with a device.
It is version-agnostic: All versions of the USB protocol, from 1.0 to 3.1 (latest), are supported.

支持的平台

Linux, macOS, Windows (Vista and newer), Android, OpenBSD/NetBSD, Haiku, Solaris.

下载地址

https://github.com/libusb/libusb
https://sourceforge.net/projects/libusb-win32
https://sourceforge.net/projects/libusb/

使用测试

将下载的libusb文件lib

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/731094
推荐阅读
相关标签
  

闽ICP备14008679号