原则上,Android 设备是否有可能通过蓝牙/GameKit 与 iPhone 连接? [英] Is it possible, in principle, for an Android device to interface with an iPhone over Bluetooth/GameKit?

查看:21
本文介绍了原则上,Android 设备是否有可能通过蓝牙/GameKit 与 iPhone 连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(我对纯理论不感兴趣,但作为近期或中期的实际可能性,比如在 12-24 个月内.)

(I am not interested in pure theory, but as a practical near or mid-term possibility, say within 12-24 months.)

作为熟悉(但不擅长)两大智能手机平台的开发人员,我是否应该期待一个 Android 库的出现,它可以将自己伪装到 iPhone 应用程序的基于 GameKit 的网络上.平台之间的蓝牙接口可能会创造出有用的应用程序,这似乎是合理的,就像调制解调器通过梅特卡夫定律使 PC/Mac 平台受益一样.

As a developer familiar with (but not specializing in) two major smartphone platforms, should I expect an Android library to come out which can spoof itself onto an iPhone app's GameKit-based network. It seems reasonable that a Bluetooth interface between platforms might square the opportunity to make useful applications, in the same way that modems benefited PC/Mac platforms via Metcalfe's Law.

我正在寻找两个答案之一:

I am looking for one of two answers:

  1. 这显然不太可能吗(例如因为加密)?如果是,原因是什么?原则上是否可行,但需要多年的逆向工程(如 SMB/CIFS/Samba)?或者这只是一个时间问题?请提供证据支持您的理由.

  1. Is this obviously not likely (e.g. because of encryption)? If so, what is the reason? Is it possible in principle, but requiring years of reverse-engineering (like SMB/CIFS/Samba)? Or is it a no-brainer and just a matter of time? Please give evidence supporting your reason.

除了 GameKit 之外,还有其他方法可以实现直接的点对点网络吗?例如,使用蓝牙或点对点 WiFi 的手卷网络?将 Android 设备欺骗到现有的 iPhone 应用程序中会很好,但我的主要问题是,这些设备能否相互通话!

Is there an alternative way to have direct peer-to-peer networking besides GameKit? For example, a hand-rolled network using Bluetooth or ad-hoc WiFi? It would be nice to spoof an Android device into an existing iPhone app but my main question is, can the devices speak with each other at all!

推荐答案

是的,这是可能的.GameKit 是一种通过 BNEP 蓝牙连接使用 TCP 和/或 UDP 的协议.它还使用一种技巧来使用蓝牙 2.1+ 中的扩展查询机制来识别其他 iOS 设备.

Yes, it is possible. GameKit is a protocol using TCP and/or UDP over a BNEP Bluetooth connection. It also uses a trick to identify other iOS devices using the Extended Inquiry mechanism in Bluetooth 2.1+.

我能够模拟 EIR 响应,现在,有人需要对 GameKit 协议进行逆向工程.这不需要蓝牙,因为它也用于通过 WLAN 的 GameKit 连接.

I was able to simulate the EIR responses, now, someone needs to reverse engineer the GameKit protocol. This doesn't need Bluetooth, as it is also used for GameKit connections over WLAN.

如果有人可以为 WLAN 连接重新实现 GameKit,我可以完成蓝牙版本.

If anybody can re-implment GameKit for WLAN connections, I can finish the Bluetooth version.

这篇关于原则上,Android 设备是否有可能通过蓝牙/GameKit 与 iPhone 连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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