此iOS应用如何通过USB端口通信? [英] How does this iOS app communicate over the USB port?

查看:571
本文介绍了此iOS应用如何通过USB端口通信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此应用承诺将您的iOS设备变成第二台显示器,并使用解决方案

Dean在 Peertalk ,这是一个开放源代码库,允许通过USB连接传递TCP连接,而无需成为MFI程序的一部分.

This app promises to turn your iOS device into a second monitor and uses the standard USB cable to connect to the computer, as opposed to the network which all other similar apps use.

Back when I heard about it, it wasn't yet available so I thought it was a scam. To my surprise, they released the app and it actually works as described.

How does it work ? As far as I know there are no APIs to drive the USB port in iOS, and the computer connected via USB through the standard charging/syncing cable doesn't count as an MFI accessory.

Note that they provide the server software (the one that installs on the Mac and streams the desktop to the device) on their download page for free, reverse-engineering it could shed some light on this but I unfortunately don't have the skills for that.

解决方案

Dean told about it on his blog.

Duet uses Peertalk, an open source library allowing to pass TCP connections through the USB connection without being part of the MFI program.

这篇关于此iOS应用如何通过USB端口通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆