【问题标题】:Is there a method like GetDeviceDescriptorPtr() in Mac?Mac 中是否有类似 GetDeviceDescriptorPtr() 的方法?
【发布时间】:2011-10-06 08:43:02
【问题描述】:

在 IOUSBDeviceInterface 中有一个函数 GetConfigurationDescriptorPtr,用于获取指向配置描述符的指针。参考链接如下。

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/IOKit/IOUSBLib_h/Classes/IOUSBDeviceInterface/index.html#//apple_ref/doc/com/intfm/IOUSBDeviceInterface/GetConfigurationDescriptorPtr

有没有像 GetDeviceDecriptorPtr 这样的函数来获取设备描述符的指针?

提前谢谢..

【问题讨论】:

    标签: xcode macos usb iokit


    【解决方案1】:

    没有这个功能,但是我们研究USBProber的源代码时可以创建这个功能。

    这里是下载IOUSBFamily源代码的链接,里面有USBProber。 http://opensource.apple.com/tarballs/IOUSBFamily/

    【讨论】:

      猜你喜欢
      • 2013-06-07
      • 2011-10-08
      • 1970-01-01
      • 1970-01-01
      • 2016-07-29
      • 2016-09-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多