Windows Phone 7 上通过 USB 进行 PTP
我正在尝试编写一个小应用程序,当连接到 WP7 设备时可以与 USB 设备进行通信。是否可以从 WP7 设备通过 USB 使用 PTP 协议?电话是否需要支持 USB 主控制器才能通过 USB 上的 PTP 进行通信?
I am trying to write a small app which can communicate with USB device when connected to a WP7 device. Is it possible to use PTP protocol over USB from a WP7 device? Does a phone needs to support USB host controller to be able to communicate via PTP over USB?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
恐怕目前还不可能。 SDK(包括 Beta Mango 版本)当前提供的唯一外部访问是通过 HTTP 或网络套接字。
当手机连接到 PC 时,我相信它可以访问其内部 IP 地址,但这只是您目前所能获得的最接近的地址。
I'm afraid it's not currently possible. The only external access currently provided by the SDK (including the beta Mango release) is via HTTP or network sockets.
While the phone is connected to the PC I believe it can access it's internal IP address, but that's as close as you're going to get for now.