可以通过蓝牙PAN iOS中与拴机台,沟通 [英] Is possible to communicate via Bluetooth PAN in iOS with tethered deviced

查看:210
本文介绍了可以通过蓝牙PAN iOS中与拴机台,沟通的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有与我分享iOS设备我的连接设备,虽然蓝牙(蓝牙PAN)。

I have a device with which I share my connection from iOS device though Bluetooth (Bluetooth PAN).

我不知道是否有可能访问创造PAN网络上的iPhone一个服务器,并从设备访问它,或者在设备上,并从iPhone访问它创建一个服务器。

I wonder is it possible to access to create a server on iPhone in PAN network and access it from device or create a server on device and access it from iPhone.

有没有人有这样的经历?我知道它肯定可以使用Android设备来完成。

Does anyone have this kind of experience? I know it definitely could be done with Android devices.

推荐答案

是的,它是可能的。例如,请参见这个问题了解在iOS设备上设置这样的服务器。

Yes it is possible. For example, see this question about setting up such a server on an iOS device.

您可以通过安装一个网络诊断应用程序做一个非常简单的测试我在App Store上发现了一个叫控制台服务器通过SikYi陈。

You can do a very quick test by installing a network diagnostics app - e.g. I found one called Console Server by SikYi Chan on the App Store.

在这个程序中,我添加端口 12345 服务器连接,并启动了服务器。圈养从我的Mac上,在系统preferences - >网络我发现我拴IP地址是 172.20.10.2 。我猜所以iPhone是在 172.20.10.1 ,并没有这样的:

In this app, I added a "server connection" on port 12345 and started the server. Tethering from my Mac, in System Preferences -> Network I found that my tethered IP address was 172.20.10.2. I guessed the iPhone was therefore on 172.20.10.1, and did this:

% telnet 172.20.10.1 12345        
Trying 172.20.10.1...
Connected to 172.20.10.1.
Escape character is '^]'.
hello

和在服务器控制台中的iOS应用我有:

And in Server Console in the iOS app I got:

这篇关于可以通过蓝牙PAN iOS中与拴机台,沟通的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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