usb_hid_pc通信详解

  • M6_230920
    了解作者
  • 234.3KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-22 05:18
    上传日期
usb_hid_pc通信详解:windows USB HID 开发方法,如何打开一个HID设备,如何读写。
usb_hid_pc通信详解.rar
  • USB_HID_PC通信详解
  • Windows主机端与自定义USB_HID设备通信详解.pdf
    259.1KB
  • 最全USB_HID开发资料_PC上位机_STM32.txt
    1.7KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/6289571316e0ca71410aa257/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6289571316e0ca71410aa257/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">Windows<span class="_ _0"> </span><span class="ff2 sc1">&#20027;&#26426;&#31471;&#19982;&#33258;<span class="_ _1"></span>&#23450;&#20041;<span class="_ _0"> </span></span>USB HID<span class="_ _0"> </span><span class="ff2 sc1">&#35774;&#22791;&#36890;&#20449;<span class="_ _1"></span>&#35814;&#35299;</span> </div><div class="t m0 x2 h3 y2 ff3 fs1 fc1 sc0 ls0 ws0"> </div><div class="t m0 x2 h4 y3 ff2 fs1 fc1 sc0 ls0 ws0">&#35828;&#26126;&#65306;<span class="ff3"> </span></div><div class="t m0 x2 h4 y4 ff3 fs1 fc1 sc0 ls0 ws0">-<span class="ff4 fs2"> </span><span class="ff2">&#20197;&#19979;&#32467;&#35770;&#37117;&#26159;&#22522;&#20110;</span> Win<span class="_ _1"></span>dows <span class="_ _2"> </span>XP <span class="ff2">&#31995;&#32479;&#25152;<span class="_ _1"></span>&#24471;&#20986;&#30340;&#65292;&#19981;&#20445;&#35777;&#22312;&#20854;&#20182;<span class="_ _1"></span>&#31995;&#32479;&#30340;&#36866;&#29992;&#24615;&#12290;<span class="_ _1"></span></span> </div><div class="t m0 x2 h4 y5 ff3 fs1 fc1 sc0 ls0 ws0">-<span class="ff4 fs2"> </span><span class="ff2">&#22312;&#27492;&#35752;&#35770;&#30340;&#26159;</span> HID <span class="ff2">&#33258;<span class="_ _1"></span>&#23450;&#20041;&#35774;&#22791;&#65292;<span class="_ _3"></span>&#23545;&#20110;&#26631;&#20934;&#35774;&#22791;&#65292;<span class="_ _4"></span>&#35692;&#22914;<span class="ff3"> <span class="ls1">USB</span> </span>&#40736;&#26631;&#21644;&#38190;&#30424;&#65292;<span class="_ _4"></span>&#30001;&#20110;&#25805;&#20316;&#31995;&#32479;&#23545;</span></div><div class="t m0 x2 h4 y6 ff2 fs1 fc1 sc0 ls0 ws0">&#20854;&#29420;&#21344;&#65292;&#35768;&#22810;&#25805;&#20316;&#26410;&#24517;<span class="_ _1"></span>&#33021;&#27491;&#30830;&#25191;&#34892;&#12290;<span class="_ _1"></span><span class="ff3"> </span></div><div class="t m0 x2 h3 y7 ff3 fs1 fc1 sc0 ls0 ws0"> </div><div class="t m0 x2 h5 y8 ff1 fs3 fc1 sc0 ls0 ws0">1<span class="fs1"> </span><span class="ff2 sc2">&#65294;</span><span class="fs1"> </span> <span class="ff2 sc2">&#25152;&#20351;&#29992;&#30340;&#20856;&#22411;</span><span class="fs1"> </span>Windows<span class="_ _4"></span> <span class="_ _5"> </span>API<span class="ff3 fs1"> </span></div><div class="t m0 x2 h3 y9 ff3 fs1 fc1 sc0 ls0 ws0">CreateFil<span class="_ _1"></span>e </div><div class="t m0 x2 h3 ya ff3 fs1 fc1 sc0 ls0 ws0">ReadFile </div><div class="t m0 x2 h3 yb ff3 fs1 fc1 sc0 ls0 ws0">WriteFile </div><div class="t m0 x2 h4 yc ff2 fs1 fc1 sc0 ls0 ws0">&#20197;&#19979;&#20989;&#25968;&#26159;<span class="ff3"> <span class="ls2">DDK</span> </span>&#30340;&#20869;&#23481;<span class="_ _1"></span>&#65306;<span class="ff3"> </span></div><div class="t m0 x2 h3 yd ff3 fs1 fc1 sc0 ls0 ws0">HidD_SetFeature<span class="_ _1"></span> </div><div class="t m0 x2 h3 ye ff3 fs1 fc1 sc0 ls0 ws0">HidD_GetFeature<span class="_ _1"></span> </div><div class="t m0 x2 h3 yf ff3 fs1 fc1 sc0 ls0 ws0">HidD_SetOutpu<span class="_ _1"></span>tReport </div><div class="t m0 x2 h3 y10 ff3 fs1 fc1 sc0 ls0 ws0">HidD_GetInput<span class="_ _1"></span>Report </div><div class="t m0 x2 h4 y11 ff2 fs1 fc1 sc0 ls0 ws0">&#20854;&#20013;&#65292;<span class="_ _3"></span><span class="ff3"> Creat<span class="_ _1"></span>eFile <span class="ff2">&#29992;&#20110;&#25171;&#24320;&#35774;&#22791;<span class="_ _1"></span>&#65307;<span class="_ _3"></span><span class="ff3"> ReadFil<span class="_ _1"></span>e <span class="ff2">&#12289;<span class="_ _3"></span><span class="ff3"> Hi<span class="_ _1"></span>dD_GetFeature <span class="ff2">&#12289;<span class="_ _3"></span><span class="ff3"> <span class="_ _1"></span>HidD_GetInput<span class="_ _1"></span>Rep</span></span></span></span></span></span></span></div><div class="t m0 x2 h4 y12 ff3 fs1 fc1 sc0 ls3 ws0">ort<span class="ls0"> <span class="ff2">&#29992;&#20110;&#35774;<span class="_ _1"></span>&#22791;&#21040;&#20027;&#26426;&#26041;&#21521;&#30340;<span class="_ _1"></span>&#25968;&#25454;&#36890;&#20449;&#65307;</span> Wri<span class="_ _1"></span>teFile <span class="ff2">&#12289;</span>Hid<span class="_ _1"></span>D_SetFeature <span class="ff2">&#12289;</span> <span class="_ _1"></span>HidD_SetOutput</span></div><div class="t m0 x2 h4 y13 ff3 fs1 fc1 sc0 ls0 ws0">Report <span class="ff2">&#29992;&#20110;&#20027;&#26426;<span class="_ _1"></span>&#21040;&#35774;&#22791;&#26041;&#21521;&#30340;&#25968;&#25454;<span class="_ _1"></span>&#36890;&#20449;&#12290;&#37492;&#20110;&#23454;&#38469;&#24212;<span class="_ _1"></span>&#29992;&#65292;&#21518;&#25991;&#20027;&#35201;&#35752;&#35770;<span class="_ _1"></span></span> CreateFil<span class="_ _1"></span>e <span class="ff2">&#65292;</span> Write</div><div class="t m0 x2 h4 y14 ff3 fs1 fc1 sc0 ls0 ws0">File <span class="ff2">&#65292;</span> ReadFil<span class="_ _1"></span>e <span class="ff2">&#65292;</span> HidD_SetFeatur<span class="_ _1"></span>e <span class="ff2">&#22235;&#20010;&#20989;&#25968;&#65292;<span class="_ _1"></span>&#26126;&#30333;&#20102;&#36825;&#22235;&#20010;&#20989;&#25968;&#65292;&#20854;<span class="_ _1"></span>&#23427;&#30340;&#21487;&#20197;&#31867;&#25512;&#20043;&#12290;<span class="_ _1"></span></span> </div><div class="t m0 x2 h3 y15 ff3 fs1 fc1 sc0 ls0 ws0"> </div><div class="t m0 x2 h5 y16 ff1 fs3 fc1 sc0 ls0 ws0">2<span class="fs1"> </span><span class="ff2 sc2">&#65294;</span><span class="fs1"> </span> <span class="ff2 sc2">&#20960;&#20010;&#24120;&#35265;&#38169;&#35823;</span><span class="ff3 fs1"> </span></div><div class="t m0 x2 h4 y17 ff3 fs1 fc1 sc0 ls0 ws0"> <span class="ff2">&#24403;&#20351;&#29992;&#20197;&#19978;</span> AP<span class="_ _1"></span>I <span class="ff2">&#26102;&#65292;&#22914;&#26524;&#25805;&#20316;&#22833;&#36133;&#65292;<span class="_ _1"></span>&#35843;&#29992;</span> GetLastE<span class="_ _1"></span>rror() <span class="ff2">&#20250;&#24471;&#21040;&#20197;&#19979;&#24120;<span class="_ _1"></span>&#35265;&#38169;&#35823;&#65306;<span class="_ _1"></span></span> </div><div class="t m0 x2 h4 y18 ff3 fs1 fc1 sc0 ls0 ws0"> <span class="_ _2"> </span>6 <span class="ff2">&#65306;</span> <span class="ff2">&#21477;<span class="_ _1"></span>&#26564;&#26080;&#25928;</span> </div><div class="t m0 x2 h4 y19 ff3 fs1 fc1 sc0 ls0 ws0"> <span class="_ _2"> </span><span class="ls4">23</span> <span class="ff2">&#65306;</span> <span class="ff2">&#25968;&#25454;&#38169;<span class="_ _1"></span>&#35823;&#65288;&#24490;&#29615;&#20887;&#20313;&#30721;&#26816;<span class="_ _1"></span>&#26597;&#65289;</span> </div><div class="t m0 x2 h4 y1a ff3 fs1 fc1 sc0 ls0 ws0"> <span class="_ _2"> </span><span class="ls4">87</span> <span class="ff2">&#65306;</span> <span class="ff2">&#21442;&#25968;&#38169;<span class="_ _1"></span>&#35823;</span> </div><div class="t m0 x2 h4 y1b ff3 fs1 fc1 sc0 ls0 ws0"> <span class="_ _2"> </span><span class="ls4">1784</span> <span class="ff2">&#65306;</span> <span class="ff2">&#29992;&#25143;<span class="_ _1"></span>&#25552;&#20379;&#30340;</span> buffer <span class="ff2">&#26080;&#25928;<span class="_ _1"></span></span> </div><div class="t m0 x2 h4 y1c ff3 fs1 fc1 sc0 ls0 ws0"> <span class="ff2">&#21518;&#25991;&#23558;&#20250;&#35814;&#32454;&#35828;<span class="_ _1"></span>&#26126;&#36825;&#20123;&#38169;&#35823;&#24773;&#20917;&#12290;<span class="_ _1"></span></span> </div><div class="t m0 x2 h3 y1d ff3 fs1 fc1 sc0 ls0 ws0"> </div><div class="t m0 x2 h5 y1e ff1 fs3 fc1 sc0 ls0 ws0">3<span class="ff2 sc2">&#65294;</span><span class="ff5 fs2"> </span><span class="ff2 sc2">&#20027;&#26426;&#31471;&#35774;&#22791;&#26522;<span class="_ _4"></span>&#20030;&#31243;&#24207;&#27969;&#31243;<span class="_ _1"></span><span class="ff3 fs1 sc0"> </span></span></div></div><div class="pi" data-data='{"ctm":[1.611792,0.000000,0.000000,1.611792,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • windows系统解析
      1.windows XP系统内核文件分析(全) 2.Windows2000XP系统文件夹详解 3.Windows下的EXE文件解析 4.WINDOWS常见文件夹完全解析 5.Windows文件解析——CWINDOWSsystem32driversetchosts 6.Windows系统文件解析 7.对...
    • Windows 基础
      Windows API 基础 Windows API 基础 Windows API 基础 Windows API 基础 Windows API 基础
    • Windows 3.1
      Windows 3.1 网站 下载 简单的
    • windows 计算器
      windows 自带的计算器。解压到c:\windows\system32下。直接windows键+r 调用calc命令运行。
    • windows95
      Windows95的
    • windows shell
      windows shell的中文翻译,对windows程序员很有用
    • Windows file
      Windows file Windows file
    • windows 窗体
      加载子窗体的源码,windows 窗体。
    • windows清理
      Microsoft 已更新了 Windows Installer 清理实用工具(Windows Installer CleanUp Utility ).利用 Windows Installer 清理实用工具,可以删除程序的 Windows Installer 配置信息.如果您遇到安装(安装程序)问题,可能...
    • windows api
      windows api资源,包括:Windows高级编程源代码 MFC中文帮助 vfp_api Windows程序设计