通过libusb库文件实现的USB通讯源代码

上传者: zhuanjiabiancheng | 上传时间: 2021-05-21 17:05:19 | 文件大小: 3.43MB | 文件类型: RAR
环境采用vc++6.0,下位机采用圈圈教你玩USB的板子,程序是hid设备,程序中详细写了如何初始化libusb,并通过它写数据和创建读线程读取数据,程序需插入下位机才能运行成功!

文件下载

资源详情

[{"title":"( 37 个子文件 3.43MB ) 通过libusb库文件实现的USB通讯源代码","children":[{"title":"libUsbHidTest","children":[{"title":"ReadMe.txt <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"libUsbHidTest.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"icon3.ico <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"icon1.ico <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"libUsbHidTest.rc2 <span style='color:#111;'> 405B </span>","children":null,"spread":false}],"spread":true},{"title":"usb.h <span style='color:#111;'> 10.24KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.dsp <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.clw <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.rc <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.cpp <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"libusb0.dll <span style='color:#111;'> 42.50KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.opt <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc60.pdb <span style='color:#111;'> 356.00KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"libUsbHidTest.res <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false},{"title":"libUsbHidTestDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"libUsbHidTest.bsc <span style='color:#111;'> 2.99MB </span>","children":null,"spread":false},{"title":"libUsbHidTest.exe <span style='color:#111;'> 108.10KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 193.00KB </span>","children":null,"spread":false},{"title":"libUsbHidTestDlg.obj <span style='color:#111;'> 33.17KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.ilk <span style='color:#111;'> 203.71KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.pdb <span style='color:#111;'> 281.00KB </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"libUsbHidTest.pch <span style='color:#111;'> 6.56MB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 103.49KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.obj <span style='color:#111;'> 13.33KB </span>","children":null,"spread":false}],"spread":false},{"title":"libUsbHidTest.h <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.dsw <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"libUsbHidTestDlg.cpp <span style='color:#111;'> 9.69KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.aps <span style='color:#111;'> 37.40KB </span>","children":null,"spread":false},{"title":"libusb.lib <span style='color:#111;'> 10.80KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.ncb <span style='color:#111;'> 49.00KB </span>","children":null,"spread":false},{"title":"libUsbHidTest.plg <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"libUsbHidTestDlg.h <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • hubbybob1 :
    这个对我没有太大用处
    2018-07-24
  • hubbybob1 :
    这个对我没有太大用处
    2018-07-24
  • vitchen :
    库有点旧.但还是有帮助的
    2017-04-20
  • vitchen :
    库有点旧.但还是有帮助的
    2017-04-20
  • u014136634 :
    编译能通过,但生成的EXE文件不能用,建议大家不要浪费积分,该程序内容很简单没有什么价值。
    2016-04-27
  • u014136634 :
    编译能通过,但生成的EXE文件不能用,建议大家不要浪费积分,该程序内容很简单没有什么价值。
    2016-04-27
  • lee_2013 :
    debug可以,运行有问题。
    2015-05-05
  • lee_2013 :
    debug可以,运行有问题。
    2015-05-05
  • wanqingsd :
    我觉得libusb在嵌入式开发用处比较大,另外如果能够开发usb桥驱动,用来分析usb数据就很理想了。
    2014-11-27
  • wanqingsd :
    我觉得libusb在嵌入式开发用处比较大,另外如果能够开发usb桥驱动,用来分析usb数据就很理想了。
    2014-11-27

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明