Windows Phone 7 外部通信
根据我在论坛和博客上在线阅读的内容,Windows Phone 7 不支持蓝牙串口。似乎也不支持通过 USB 与配件进行通信。有人能给我一个关于 Windows Phone 7 是否可以对外部配件进行任何类型的命令和控制的明确答案吗?我在 Android 上使用了蓝牙串口以及 iOS 外部配件框架。我想 Windows Phone 7 平台会对外部配件通信提供一定程度的支持。
From what I've read online in forums and blogs, Windows Phone 7 has no support for bluetooth serial. There also does not seem to be any support for communication with accessories through USB. Can someone give me a definitive answer as to whether or not Windows Phone 7 can do any sort of command and control for external accessories? I've used bluetooth serial on Android as well as the iOS external accessory framework. I would imagine there would be some level of support for external accessory communication in the Windows Phone 7 platform.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可以确认 SDK 中没有公开蓝牙/外部配件 API。可能有一个私有 API 可供选定的各方使用(尽管我不熟悉任何这样做的应用程序),因此可能值得联系 Microsoft。
请记住,即使您找到私有/内部 API,您也无法调用它(即使通过反射),并且无论如何它都会在认证过程中被捕获。
如果无法通过 Sockets/HTTP 与附件进行通信,那么恐怕您现在运气不好。
I can confirm that there is no Bluetooth/External Accessory API exposed as part of the SDK. There may be a private API available to select parties (though I'm not familiar with any apps that do so), so it might be worth contacting Microsoft.
Keep in mind that, even if you find a private/internal API you won't be able to call it (even via reflection) and it would be caught during the certification process anyway.
If it's not possible to communicate with the accessory via Sockets/HTTP then I'm afraid you're out of luck for now.